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

Disassembly:
mov ecx, dword [0x9aee30]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xb4]
cmp eax, dword [ecx + 8]
jbe 0x4f809e
sub esp, 0x134
mov byte [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
nop
mov eax, dword [esp + 0x144]
lea ecx, [esp + 0xe0]
cmp eax, ecx
je 0x4f7539
mov edx, dword [eax + 8]
mov ebx, dword [eax + 4]
test edx, edx
jg 0x4f7436
mov ebp, edx
xor esi, esi
xor edi, edi
jmp 0x4f74d1
mov dword [esp + 0x64], edx
mov dword [esp + 0x9c], ebx
cmp edx, 1
jne 0x4f748f
lea eax, [0x693140]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004507f0
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xe0]
mov ebx, dword [esp + 0x9c]
mov ebp, dword [esp + 0x64]
mov edx, 1
mov esi, eax
mov edi, 1
mov eax, dword [esp + 0x144]
jmp 0x4f74d1
lea eax, [0x693140]
mov dword [esp], eax
mov dword [esp + 4], edx
lea ecx, [edx + 4]
mov dword [esp + 0x38], ecx
mov dword [esp + 8], ecx
call fcn.004507f0
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xe0]
mov ebx, dword [esp + 0x9c]
mov ebp, dword [esp + 0x64]
mov edx, ebp
mov esi, eax
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x144]
cmp edx, ebp
jg 0x4f74d7
mov ebp, edx
cmp esi, ebx
je 0x4f751a
mov dword [esp + 0x58], edi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x90], esi
mov dword [esp], esi
mov dword [esp + 4], ebx
shl ebp, 2
mov dword [esp + 8], ebp
call fcn.0046d220
mov eax, dword [esp + 0x144]
lea ecx, [esp + 0xe0]
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x90]
mov edi, dword [esp + 0x58]
mov dword [esp + 0xe8], edx
mov dword [esp + 0xec], edi
mov dword [esp + 0xe4], esi
movzx edx, byte [eax]
mov byte [esp + 0xe0], dl
mov byte [esp + 0xe0], 0
mov byte [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
nop
mov edx, dword [esp + 0x148]
lea ebx, [esp + 0xd0]
cmp edx, ebx
je 0x4f76f3
mov ebp, dword [edx + 8]
mov esi, dword [edx + 4]
test ebp, ebp
jg 0x4f75aa
mov edi, ebp
xor ebp, ebp
mov dword [esp + 0x8c], ebp
xor ecx, ecx
mov dword [esp + 0x54], ecx
mov ebp, edi
lea ecx, [esp + 0xe0]
jmp 0x4f7681
mov dword [esp + 0x60], ebp
mov dword [esp + 0x98], esi
cmp ebp, 1
jne 0x4f7621
lea eax, [0x693140]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004507f0
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xe0]
mov edx, dword [esp + 0x148]
lea ebx, [esp + 0xd0]
mov esi, dword [esp + 0x98]
mov edi, dword [esp + 0x60]
mov ebp, 1
mov dword [esp + 0x8c], eax
mov edx, 1
mov dword [esp + 0x54], edx
mov eax, dword [esp + 0x144]
mov edx, dword [esp + 0x148]
jmp 0x4f7681
lea eax, [0x693140]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea ecx, [ebp + 4]
mov dword [esp + 0x34], ecx
mov dword [esp + 8], ecx
call fcn.004507f0
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xe0]
mov edx, dword [esp + 0x148]
lea ebx, [esp + 0xd0]
mov esi, dword [esp + 0x98]
mov edi, dword [esp + 0x60]
mov ebp, edi
mov dword [esp + 0x8c], eax
mov edx, dword [esp + 0x34]
mov dword [esp + 0x54], edx
mov eax, dword [esp + 0x144]
mov edx, dword [esp + 0x148]
cmp ebp, edi
jg 0x4f7687
mov edi, ebp
mov eax, dword [esp + 0x8c]
cmp eax, esi
je 0x4f76c9
mov dword [esp + 0x48], ebp
mov dword [esp], eax
mov dword [esp + 4], esi
shl edi, 2
mov dword [esp + 8], edi
call fcn.0046d220
mov eax, dword [esp + 0x8c]
lea ecx, [esp + 0xe0]
mov edx, dword [esp + 0x148]
lea ebx, [esp + 0xd0]
mov ebp, dword [esp + 0x48]
mov dword [esp + 0xd8], ebp
mov ebp, dword [esp + 0x54]
mov dword [esp + 0xdc], ebp
mov dword [esp + 0xd4], eax
movzx eax, byte [edx]
mov byte [esp + 0xd0], al
mov eax, dword [esp + 0x144]
mov byte [esp + 0xd0], 0
mov ebp, dword [esp + 0x13c]
test ebp, ebp
je 0x4f7714
mov esi, dword [esp + 0x140]
mov edi, 1
jmp 0x4f7724
mov esi, dword [esp + 0x140]
test esi, esi
xchg edi, ebx
setne bl
xchg edi, ebx
xchg edi, eax
mov byte [esp + 0x2c], al
xchg edi, eax
xchg edi, eax
test al, al
xchg edi, eax
jne 0x4f7747
xor ecx, ecx
mov dword [esp + 0xac], ecx
xor ecx, ecx
mov dword [esp + 0xf0], ecx
jmp 0x4f77d1
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
lea eax, [esp + 0xc0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 0
call fcn.004f57c0
mov eax, dword [esp + 0xc]
mov byte [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xac], eax
lea ecx, [esp + 0xb0]
mov dword [esp + 0xf0], ecx
mov byte [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov byte [esp + 0x114], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov byte [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov byte [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0xec]
mov ebx, dword [esp + 0xd4]
mov ebp, dword [esp + 0xd8]
mov esi, dword [esp + 0xdc]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
call fcn.004f9dd0
mov eax, dword [esp + 0x18]
test eax, eax
jge 0x4f78e1
mov eax, dword [esp + 0xf0]
lea ecx, [esp + 0xd0]
lea edx, [esp + 0xe0]
mov ebx, dword [esp + 0xac]
jmp 0x4f78fd
mov eax, dword [esp + 0xac]
lea ecx, [esp + 0xe0]
lea edx, [esp + 0xd0]
mov ebx, dword [esp + 0xf0]
mov dword [esp + 0xac], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], edx
jmp 0x4f7937
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0xa4]
mov ebp, dword [edx + 8]
cmp ebp, 1
jle 0x4f7ad7
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004f6b50
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4f7a66
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x74], ebx
movzx ebp, byte [esp + 0x18]
xchg ebp, eax
mov byte [esp + 0x2e], al
xchg ebp, eax
mov esi, dword [esp + 0xa0]
mov dword [esp], esi
mov edi, dword [esp + 0xa8]
mov dword [esp + 4], edi
lea esi, [esp + 0x124]
mov dword [esp + 8], esi
lea esi, [esp + 0x114]
mov dword [esp + 0xc], esi
lea esi, [esp + 0x104]
mov dword [esp + 0x10], esi
lea esi, [esp + 0xf4]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
xchg ebp, eax
mov byte [esp + 0x28], al
xchg ebp, eax
call fcn.004f6d50
movzx eax, byte [esp + 0x2c]
test al, al
je 0x4f791b
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov ecx, dword [esp + 0xa4]
mov dword [esp + 4], ecx
lea edx, [esp + 0x124]
mov dword [esp + 8], edx
lea ebx, [esp + 0x114]
mov dword [esp + 0xc], ebx
lea ebp, [esp + 0x104]
mov dword [esp + 0x10], ebp
lea esi, [esp + 0xf4]
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x74]
mov dword [esp + 0x24], edi
movzx edi, byte [esp + 0x2e]
xchg edi, eax
mov byte [esp + 0x28], al
xchg edi, eax
call fcn.004f6d50
movzx eax, byte [esp + 0x2c]
jmp 0x4f791b
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov ecx, dword [esp + 0xa8]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xac]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0xc], ebx
lea ebp, [esp + 0x124]
mov dword [esp + 0x10], ebp
lea esi, [esp + 0x114]
mov dword [esp + 0x14], esi
lea edi, [esp + 0x104]
mov dword [esp + 0x18], edi
lea edi, [esp + 0xf4]
mov dword [esp + 0x1c], edi
movzx edi, byte [esp + 0x2c]
xchg edi, eax
mov byte [esp + 0x20], al
xchg edi, eax
call fcn.004f7000
movzx eax, byte [esp + 0x2c]
jmp 0x4f791b
test ebp, ebp
je 0x4f7ba4
cmp dword [ecx + 8], 1
jle 0x4f7b4c
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
lea ebp, [esp + 0x124]
mov dword [esp + 0x10], ebp
lea ebp, [esp + 0x114]
mov dword [esp + 0x14], ebp
lea ebp, [esp + 0x104]
mov dword [esp + 0x18], ebp
lea esi, [esp + 0xf4]
mov dword [esp + 0x1c], esi
movzx edi, byte [esp + 0x2c]
xchg edi, eax
mov byte [esp + 0x20], al
xchg edi, eax
call fcn.004f7000
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0xa4]
mov ebp, dword [edx + 8]
test ebp, ebp
je 0x4f7ba4
mov ebp, dword [ecx + 8]
test ebp, ebp
jbe 0x4f8094
mov ebp, dword [edx + 4]
mov esi, dword [ecx + 4]
mov esi, dword [esi]
mov ebp, dword [ebp]
movzx edi, byte [esp + 0x2c]
xchg edi, eax
test al, al
xchg edi, eax
je 0x4f7e59
xor edi, edi
mov edi, 1
mov dword [esp + 0x70], edi
mov edi, 1
mov dword [esp + 0x6c], edi
xor edi, edi
mov dword [esp + 0x68], edi
mov edi, 1
xchg edi, eax
mov byte [esp + 0x2d], al
xchg edi, eax
xor edi, edi
jmp 0x4f7ef9
mov ebx, dword [esp + 0x144]
movzx ebp, byte [ebx]
mov esi, dword [esp + 0x140]
test esi, esi
je 0x4f7db7
xchg ebp, eax
mov byte [esp + 0x2f], al
xchg ebp, eax
mov edi, dword [esp + 0x148]
cmp edi, esi
jne 0x4f7d28
nop
cmp edi, edx
je 0x4f7d2a
mov ecx, dword [edx + 0xc]
mov ebp, dword [edi + 8]
mov dword [esp + 0x5c], ebp
mov eax, dword [edi + 4]
cmp ecx, ebp
jl 0x4f7bf4
mov ebx, dword [edx + 4]
jmp 0x4f7c8f
mov dword [esp + 0x94], eax
cmp ebp, 1
jne 0x4f7c4a
lea eax, [0x693140]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004507f0
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0xa8]
mov esi, dword [esp + 0x140]
mov edi, dword [esp + 0x148]
mov ebp, 1
mov ecx, 1
jmp 0x4f7c8f
lea eax, [0x693140]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [ebp + 4]
mov dword [esp + 0x30], eax
mov dword [esp + 8], eax
call fcn.004507f0
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0xa8]
mov esi, dword [esp + 0x140]
mov edi, dword [esp + 0x148]
mov ebp, dword [esp + 0x5c]
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x5c]
cmp ebp, esi
jg 0x4f7c99
mov esi, ebp
cmp ebx, eax
je 0x4f7cdc
mov dword [esp + 0x44], ebp
mov dword [esp + 0x50], ecx
mov dword [esp + 0x88], ebx
mov dword [esp], ebx
mov dword [esp + 4], eax
shl esi, 2
mov dword [esp + 8], esi
call fcn.0046d220
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x148]
mov dword [edx + 8], ebp
mov dword [edx + 0xc], ecx
mov eax, dword [0x9aef70]
test eax, eax
je 0x4f7cfd
mov eax, edi
call fcn.0046c8a0
mov dword [edi], ebx
mov ecx, dword [edx + 4]
mov dword [edi + 4], ecx
mov edi, eax
mov dword [edx + 4], ebx
movzx eax, byte [edi]
mov byte [edx], al
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa0]
mov ebx, dword [esp + 0x144]
movzx ebp, byte [esp + 0x2f]
mov esi, dword [esp + 0x140]
jmp 0x4f7d2a
mov edx, edi
mov dword [esp + 0xa8], edx
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.004f5d10
movzx eax, byte [esp + 0x2f]
test al, al
je 0x4f7d5b
mov ecx, dword [esp + 0x140]
movzx edx, byte [ecx]
xor edx, 1
mov byte [ecx], dl
jmp 0x4f7d62
mov ecx, dword [esp + 0x140]
mov dword [esp], ecx
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004f5ac0
mov eax, dword [esp + 0x140]
mov dword [esp], eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 8], eax
call fcn.004f5fb0
mov eax, dword [esp + 0x13c]
test eax, eax
mov ecx, dword [esp + 0xa0]
mov edx, eax
movzx ebp, byte [esp + 0x2f]
mov eax, dword [esp + 0xac]
jmp 0x4f7dc0
mov edx, dword [esp + 0x13c]
test edx, edx
je 0x4f7e00
mov ebx, dword [eax + 8]
mov esi, dword [eax + 0xc]
movzx edi, byte [eax]
mov eax, dword [eax + 4]
xchg edi, eax
mov byte [edx], al
xchg edi, eax
mov dword [edx + 8], ebx
mov dword [edx + 0xc], esi
mov ebx, dword [0x9aef70]
test ebx, ebx
je 0x4f7def
call fcn.0046c8a0
mov dword [edi], eax
mov ebx, dword [edx + 4]
mov dword [edi + 4], ebx
mov dword [edx + 4], eax
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4f7e00
movzx eax, byte [edx]
xor eax, 1
mov byte [edx], al
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
movzx ebx, byte [ecx]
mov ecx, dword [ecx + 4]
mov ebp, dword [esp + 0x138]
mov byte [ebp], bl
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], edx
mov eax, dword [0x9aef70]
test eax, eax
je 0x4f7e33
call fcn.0046c8a0
mov dword [edi], ecx
mov eax, dword [ebp + 4]
mov dword [edi + 4], eax
mov dword [ebp + 4], ecx
mov dword [esp + 0x14c], ebp
add esp, 0x134
ret
mov ebx, eax
mov eax, esi
xor edx, edx
div ebp
mov eax, ebx
mov esi, ebp
mov ebp, edx
mov edx, dword [esp + 0xa8]
test ebp, ebp
jne 0x4f7e44
mov ebx, dword [ecx + 8]
test ebx, ebx
jbe 0x4f7e6e
mov ebx, dword [ecx + 4]
mov dword [ebx], esi
jmp 0x4f7ba4
xor eax, eax
mov ecx, eax
call fcn.0046c910
mov eax, esi
xor edx, edx
div ebp
mov edx, edi
imul edx, eax
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x70]
imul eax, edx
mov dword [esp + 0x80], eax
mov eax, esi
mov esi, edx
xor edx, edx
div ebp
mov eax, edx
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x6c]
add edx, ecx
mov ecx, edx
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x68]
add edx, ebx
mov ebx, edx
movzx edx, byte [esp + 0x2d]
xor edx, 1
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], esi
mov byte [esp + 0x2d], dl
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0xa4]
mov edi, ecx
mov esi, ebp
mov ecx, dword [esp + 0xa0]
mov ebp, eax
mov eax, dword [esp + 0xac]
test ebp, ebp
jne 0x4f7e77
mov dword [esp + 0x3c], esi
mov ebp, dword [esp + 0x100]
mov edi, dword [esp + 0xf8]
mov edx, dword [esp + 0x6c]
test edx, edx
jne 0x4f7f1f
xor edx, edx
jmp 0x4f7f6f
nop
test ebp, ebp
jne 0x4f7f68
lea eax, [0x693140]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004507f0
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0xa4]
mov esi, dword [esp + 0x3c]
mov ebp, 1
mov dword [edi], edx
mov edx, 1
mov dword [esp + 0xfc], edx
mov dword [esp + 0x100], ebp
mov dword [esp + 0xf8], edi
mov edx, dword [esp + 0x110]
mov ebp, dword [esp + 0x108]
mov edi, dword [esp + 0x68]
test edi, edi
jne 0x4f7f9e
xor edi, edi
jmp 0x4f7fef
nop
test edx, edx
jne 0x4f7fe7
lea eax, [0x693140]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004507f0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa0]
mov ebx, dword [esp + 0xa4]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x68]
mov edx, 1
mov dword [ebp], edi
mov edi, 1
mov dword [esp + 0x10c], edi
mov dword [esp + 0x110], edx
mov dword [esp + 0x108], ebp
movzx ecx, byte [esp + 0x2d]
mov edx, ecx
xor ecx, 1
mov byte [esp + 0xf4], cl
mov byte [esp + 0x104], dl
lea ecx, [esp + 0xf4]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004f5d10
lea eax, [esp + 0x104]
mov dword [esp], eax
mov ecx, dword [esp + 0xa4]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004f5d10
mov eax, dword [esp + 0xac]
mov dword [esp], eax
lea ecx, [esp + 0xf4]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x104]
mov dword [esp + 8], ecx
call fcn.004f5870
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa8]
mov esi, dword [esp + 0x3c]
jmp 0x4f7e5d
xor eax, eax
mov ecx, eax
call fcn.0046c910
nop
call fcn.0046b490
jmp fcn.004f73c0