Function at 0x4fb5b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4fbf76
sub esp, 0x68
mov eax, dword [esp + 0x88]
test eax, eax
je 0x4fb82d
lea eax, [0x5e8940]
mov dword [esp], eax
call fcn.0040bd40
mov edi, dword [esp + 4]
mov eax, dword [0x7c78f0]
test eax, eax
jne 0x4fb5fc
mov ebx, dword [esp + 0x6c]
mov dword [edi], ebx
jmp 0x4fb607
mov eax, dword [esp + 0x6c]
call fcn.00463730
mov ebx, eax
mov dword [esp + 0x5c], edi
mov ebp, dword [esp + 0x80]
test ebp, ebp
jne 0x4fb64d
mov esi, dword [esp + 0x78]
test esi, esi
jne 0x4fb624
xor ecx, ecx
xor eax, eax
jmp 0x4fb677
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x7c]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x5c]
jmp 0x4fb677
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x84]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x54], eax
mov edx, ebp
mov ebp, dword [ebx + 0x140]
mov esi, dword [ebx + 0x144]
cmp esi, 4
jne 0x4fb6a0
cmp dword [ebp], 0x78696e75
je 0x4fb6f8
jmp 0x4fb720
cmp esi, 8
jne 0x4fb6b9
cmp dword [ebp], 0x78696e75
jne 0x4fb720
cmp dword [ebp + 4], 0x6d617267
je 0x4fb6f8
jmp 0x4fb720
cmp esi, 0xa
jne 0x4fb720
mov dword [esp], ebp
lea eax, [0x60d048]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xa
call fcn.00402a50
movzx eax, byte [esp + 0xc]
test al, al
je 0x4fb709
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x6c]
mov edi, dword [esp + 0x5c]
mov ebp, dword [ebx + 0x140]
mov esi, dword [ebx + 0x144]
jmp 0x4fb7d9
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x6c]
mov edi, dword [esp + 0x5c]
mov ebp, dword [ebx + 0x144]
mov esi, dword [ebx + 0x140]
lea edi, [ebp - 1]
cmp ebp, edi
jbe 0x4fbf6c
movzx edi, byte [ebp + esi - 1]
xchg edi, eax
cmp al, 0x34
xchg edi, eax
je 0x4fb74a
xchg edi, eax
cmp al, 0x36
xchg edi, eax
jne 0x4fb75a
mov edi, dword [esp + 0x5c]
mov edi, esi
mov esi, ebp
mov ebp, edi
mov edi, dword [esp + 0x5c]
jmp 0x4fb7d9
cmp dword [ebx + 0x134], 2
jne 0x4fb79f
mov dword [esp], 0
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
lea eax, [0x6604e8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.0044dc10
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x5c]
jmp 0x4fb7d9
mov dword [esp], 0
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
lea eax, [0x6604ec]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.0044dc10
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x5c]
mov edx, dword [esp + 0x88]
mov ebx, dword [edx]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
lea eax, [0x6622b8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x38]
call eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
test eax, eax
jne 0x4fbf5a
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x4fb83b
xor ebp, ebp
xor esi, esi
jmp 0x4fb8b4
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 0x134]
mov ebx, dword [esp + 0x7c]
mov dword [esp], ebx
mov dword [esp + 4], edx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0xc]
test ecx, ecx
jne 0x4fbf48
test ebp, ebp
je 0x4fb8b4
mov dword [esp + 0x40], esi
mov dword [esp + 0x2c], ebp
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 0x10]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.00471190
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x4fbedd
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x80]
test eax, eax
je 0x4fb97d
mov dword [esp + 0x40], esi
mov dword [esp + 0x2c], ebp
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 0x134]
mov ebx, dword [esp + 0x84]
mov dword [esp], ebx
mov dword [esp + 4], edx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
test edx, edx
jne 0x4fb96b
mov edx, dword [esp + 0x6c]
mov dword [esp], edx
mov ebx, dword [esp + 0x70]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call fcn.004eccc0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
test eax, eax
jne 0x4fb959
mov eax, dword [esp + 0x6c]
mov byte [eax + 0x13c], 1
jmp 0x4fb9a5
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
add esp, 0x68
ret
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebp
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.004ecbb0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
jne 0x4fbecb
mov eax, dword [esp + 0x6c]
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x58], ebp
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.00471270
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x34]
test edx, edx
je 0x4fbb7e
mov ebx, dword [esp + 0x6c]
mov ebp, dword [ebx + 0x134]
cmp ebp, 1
jne 0x4fba08
mov ebp, dword [ebx + 0x138]
cmp ebp, 1
jne 0x4fb9ee
lea ebp, [0x623378]
jmp 0x4fba45
cmp ebp, 2
jne 0x4fb9fb
lea ebp, [0x623370]
jmp 0x4fba45
cmp ebp, 5
jne 0x4fba3f
lea ebp, [0x623374]
jmp 0x4fba45
cmp ebp, 2
je 0x4fba12
cmp ebp, 0x17
jne 0x4fba3f
mov ebp, dword [ebx + 0x138]
cmp ebp, 1
jne 0x4fba25
lea ebp, [0x623368]
jmp 0x4fba45
cmp ebp, 2
jne 0x4fba32
lea ebp, [0x62336c]
jmp 0x4fba45
cmp ebp, 3
jne 0x4fba3f
lea ebp, [0x623364]
jmp 0x4fba45
lea ebp, [0x623310]
mov ebx, dword [ebp]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov edx, ebp
call ebx
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x134]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x4c], ebx
mov ebp, dword [esp + 8]
mov dword [esp + 0x64], ebp
cmp ecx, 1
jne 0x4fba9f
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4fba85
lea ecx, [0x623378]
jmp 0x4fbadc
cmp ecx, 2
jne 0x4fba92
lea ecx, [0x623370]
jmp 0x4fbadc
cmp ecx, 5
jne 0x4fbad6
lea ecx, [0x623374]
jmp 0x4fbadc
cmp ecx, 2
je 0x4fbaa9
cmp ecx, 0x17
jne 0x4fbad6
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4fbabc
lea ecx, [0x623368]
jmp 0x4fbadc
cmp ecx, 2
jne 0x4fbac9
lea ecx, [0x62336c]
jmp 0x4fbadc
cmp ecx, 3
jne 0x4fbad6
lea ecx, [0x623364]
jmp 0x4fbadc
lea ecx, [0x623314]
mov eax, dword [ecx]
mov ebx, dword [esp + 0x34]
mov dword [esp], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov edx, ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x6c]
mov dword [ebp + 0x148], ebx
mov ebx, dword [0x7c78f0]
test ebx, ebx
jne 0x4fbb1d
mov edx, dword [esp + 0x4c]
mov dword [ebp + 0x14c], edx
jmp 0x4fbb30
lea edi, [ebp + 0x14c]
mov edx, eax
mov eax, dword [esp + 0x4c]
call fcn.00463730
mov eax, edx
mov dword [ebp + 0x150], ecx
mov ecx, dword [0x7c78f0]
test ecx, ecx
jne 0x4fbb48
mov dword [ebp + 0x154], eax
jmp 0x4fbb53
lea edi, [ebp + 0x154]
call fcn.00463730
lea eax, [0x6055a0]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [0x5df1e0]
mov dword [esp + 8], eax
lea eax, [0x62330c]
mov dword [esp + 0xc], eax
call fcn.00414c40
jmp 0x4fbeb1
mov dword [esp + 0x64], eax
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.00471350
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
test edx, edx
je 0x4fbd68
mov dword [esp + 0x60], eax
mov dword [esp + 0x3c], ecx
mov ebx, dword [esp + 0x6c]
mov ebp, dword [ebx + 0x134]
cmp ebp, 1
jne 0x4fbbed
mov ebp, dword [ebx + 0x138]
cmp ebp, 1
jne 0x4fbbd3
lea edx, [0x623378]
jmp 0x4fbc2a
cmp ebp, 2
jne 0x4fbbe0
lea edx, [0x623370]
jmp 0x4fbc2a
cmp ebp, 5
jne 0x4fbc24
lea edx, [0x623374]
jmp 0x4fbc2a
cmp ebp, 2
je 0x4fbbf7
cmp ebp, 0x17
jne 0x4fbc24
mov ebp, dword [ebx + 0x138]
cmp ebp, 1
jne 0x4fbc0a
lea edx, [0x623368]
jmp 0x4fbc2a
cmp ebp, 2
jne 0x4fbc17
lea edx, [0x62336c]
jmp 0x4fbc2a
cmp ebp, 3
jne 0x4fbc24
lea edx, [0x623364]
jmp 0x4fbc2a
lea edx, [0x623318]
mov eax, dword [edx]
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
call eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x134]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x48], ebx
mov ebp, dword [esp + 8]
mov dword [esp + 0x64], ebp
cmp ecx, 1
jne 0x4fbc89
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4fbc6f
lea ecx, [0x623378]
jmp 0x4fbcc6
cmp ecx, 2
jne 0x4fbc7c
lea ecx, [0x623370]
jmp 0x4fbcc6
cmp ecx, 5
jne 0x4fbcc0
lea ecx, [0x623374]
jmp 0x4fbcc6
cmp ecx, 2
je 0x4fbc93
cmp ecx, 0x17
jne 0x4fbcc0
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4fbca6
lea ecx, [0x623368]
jmp 0x4fbcc6
cmp ecx, 2
jne 0x4fbcb3
lea ecx, [0x62336c]
jmp 0x4fbcc6
cmp ecx, 3
jne 0x4fbcc0
lea ecx, [0x623364]
jmp 0x4fbcc6
lea ecx, [0x62331c]
mov eax, dword [ecx]
mov ebx, dword [esp + 0x60]
mov dword [esp], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 4], ebx
mov edx, ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x6c]
mov dword [ebp + 0x148], ebx
mov ebx, dword [0x7c78f0]
test ebx, ebx
jne 0x4fbd07
mov edx, dword [esp + 0x48]
mov dword [ebp + 0x14c], edx
jmp 0x4fbd1a
lea edi, [ebp + 0x14c]
mov edx, eax
mov eax, dword [esp + 0x48]
call fcn.00463730
mov eax, edx
mov dword [ebp + 0x150], ecx
mov ecx, dword [0x7c78f0]
test ecx, ecx
jne 0x4fbd32
mov dword [ebp + 0x154], eax
jmp 0x4fbd3d
lea edi, [ebp + 0x154]
call fcn.00463730
lea eax, [0x6055a0]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [0x5df1e0]
mov dword [esp + 8], eax
lea eax, [0x62330c]
mov dword [esp + 0xc], eax
call fcn.00414c40
jmp 0x4fbeb1
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x134]
cmp ecx, 1
jne 0x4fbda4
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4fbd8a
lea ecx, [0x623378]
jmp 0x4fbde1
cmp ecx, 2
jne 0x4fbd97
lea ecx, [0x623370]
jmp 0x4fbde1
cmp ecx, 5
jne 0x4fbddb
lea ecx, [0x623374]
jmp 0x4fbde1
cmp ecx, 2
je 0x4fbdae
cmp ecx, 0x17
jne 0x4fbddb
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4fbdc1
lea ecx, [0x623368]
jmp 0x4fbde1
cmp ecx, 2
jne 0x4fbdce
lea ecx, [0x62336c]
jmp 0x4fbde1
cmp ecx, 3
jne 0x4fbddb
lea ecx, [0x623364]
jmp 0x4fbde1
lea ecx, [0x623320]
mov eax, dword [ecx]
mov ebx, dword [esp + 0x64]
mov dword [esp], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 4], ebx
mov edx, ecx
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x64], ecx
lea ebx, [0x5e9560]
mov dword [esp], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 4], ebx
call fcn.00409780
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x6c]
mov dword [ebx + 0x148], ecx
mov ecx, dword [0x7c78f0]
test ecx, ecx
jne 0x4fbe47
mov ecx, dword [esp + 0x44]
mov dword [ebx + 0x14c], ecx
jmp 0x4fbe5a
lea edi, [ebx + 0x14c]
mov ecx, eax
mov eax, dword [esp + 0x44]
call fcn.00463730
mov eax, ecx
mov dword [ebx + 0x150], eax
mov ecx, dword [0x7c78f0]
test ecx, ecx
jne 0x4fbe79
mov eax, dword [esp + 0x84]
mov dword [ebx + 0x154], eax
jmp 0x4fbe8b
lea edi, [ebx + 0x154]
mov eax, dword [esp + 0x84]
call fcn.00463730
lea eax, [0x6055a0]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [0x5df1e0]
mov dword [esp + 8], eax
lea eax, [0x62330c]
mov dword [esp + 0xc], eax
call fcn.00414c40
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x68
ret
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
add esp, 0x68
ret
mov dword [esp + 0x50], ecx
mov dword [esp + 0x64], edx
lea eax, [0x5ecb60]
mov dword [esp], eax
call fcn.0040bd40
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x60b834]
mov dword [eax], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 8], ecx
mov ecx, dword [0x7c78f0]
test ecx, ecx
jne 0x4fbf20
mov ecx, dword [esp + 0x50]
mov dword [eax + 0xc], ecx
jmp 0x4fbf30
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x50]
call fcn.00463730
mov eax, ecx
lea ecx, [0x661c9c]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x68
ret
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], ebx
add esp, 0x68
ret
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], ebx
add esp, 0x68
ret
mov eax, edi
mov ecx, ebp
call fcn.004637b0
nop
call fcn.00462320
jmp fcn.004fb5b0