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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xbc]
cmp eax, dword [ecx + 8]
jbe 0x4f29b0
sub esp, 0x13c
mov byte [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
nop
mov eax, dword [esp + 0x14c]
lea ecx, [esp + 0x12c]
cmp eax, ecx
je 0x4f1e96
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
test ecx, ecx
jg 0x4f1da8
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x4f1e35
mov dword [esp + 0xa4], edx
mov dword [esp + 0x58], ecx
cmp ecx, 1
jne 0x4f1dfa
lea eax, [0x5e4240]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044a5d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0xa4]
mov ebx, 1
mov ebp, eax
mov esi, 1
mov eax, dword [esp + 0x14c]
jmp 0x4f1e35
lea eax, [0x5e4240]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [ecx + 4]
mov dword [esp + 0x40], edx
mov dword [esp + 8], edx
call fcn.0044a5d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0xa4]
mov ebx, ecx
mov ebp, eax
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x14c]
cmp ebx, ecx
jg 0x4f1e3b
mov ecx, ebx
cmp ebp, edx
je 0x4f1e77
mov dword [esp + 0x50], esi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x98], ebp
mov dword [esp], ebp
mov dword [esp + 4], edx
shl ecx, 2
mov dword [esp + 8], ecx
call fcn.00461a40
mov eax, dword [esp + 0x14c]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x98]
mov esi, dword [esp + 0x50]
mov dword [esp + 0x134], ebx
mov dword [esp + 0x138], esi
mov dword [esp + 0x130], ebp
movzx ecx, byte [eax]
mov byte [esp + 0x12c], cl
mov byte [esp + 0x12c], 0
mov byte [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
nop
mov ecx, dword [esp + 0x150]
lea edx, [esp + 0x11c]
cmp ecx, edx
je 0x4f1ff6
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 4]
test edx, edx
jg 0x4f1ef3
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x4f1f8e
mov dword [esp + 0x54], edx
mov dword [esp + 0xa0], ebx
cmp edx, 1
jne 0x4f1f4c
lea eax, [0x5e4240]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044a5d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x150]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0xa0]
mov ebp, 1
mov esi, eax
mov edi, 1
mov eax, dword [esp + 0x14c]
jmp 0x4f1f8e
lea eax, [0x5e4240]
mov dword [esp], eax
mov dword [esp + 4], edx
lea ecx, [edx + 4]
mov dword [esp + 0x3c], ecx
mov dword [esp + 8], ecx
call fcn.0044a5d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x150]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0xa0]
mov ebp, edx
mov esi, eax
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x14c]
cmp ebp, edx
jg 0x4f1f94
mov edx, ebp
cmp esi, ebx
je 0x4f1fd7
mov dword [esp + 0x44], ebp
mov dword [esp + 0x94], esi
mov dword [esp + 0x4c], edi
mov dword [esp], esi
mov dword [esp + 4], ebx
shl edx, 2
mov dword [esp + 8], edx
call fcn.00461a40
mov eax, dword [esp + 0x14c]
mov ecx, dword [esp + 0x150]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x94]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x124], ebp
mov dword [esp + 0x128], edi
mov dword [esp + 0x120], esi
movzx edx, byte [ecx]
mov byte [esp + 0x11c], dl
mov byte [esp + 0x11c], 0
mov edx, dword [esp + 0x144]
test edx, edx
je 0x4f2017
mov ebx, dword [esp + 0x148]
mov ebp, 1
jmp 0x4f2027
mov ebx, dword [esp + 0x148]
test ebx, ebx
xchg ebp, ebx
setne bl
xchg ebp, ebx
xchg ebp, eax
mov byte [esp + 0x2d], al
xchg ebp, eax
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4f2039
xor esi, esi
xor edi, edi
jmp 0x4f20b7
mov byte [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
lea eax, [esp + 0x10c]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 1
call fcn.004efc70
mov eax, dword [esp + 0xc]
mov byte [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
lea esi, [esp + 0xfc]
mov edi, eax
mov dword [esp + 0xac], edi
mov dword [esp + 0xb8], esi
mov byte [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov byte [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov byte [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov byte [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov eax, dword [esp + 0x130]
mov ecx, dword [esp + 0x134]
mov edx, dword [esp + 0x138]
mov ebx, dword [esp + 0x120]
mov ebp, dword [esp + 0x124]
mov esi, dword [esp + 0x128]
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.004f4130
mov eax, dword [esp + 0x18]
test eax, eax
jge 0x4f21d5
lea eax, [esp + 0x12c]
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xb8]
lea ebx, [esp + 0x11c]
jmp 0x4f21f1
lea eax, [esp + 0x11c]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xac]
lea ebx, [esp + 0x12c]
mov dword [esp + 0xac], edx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xb0], eax
jmp 0x4f222b
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0xb4]
mov ebp, dword [eax + 8]
cmp ebp, 1
jle 0x4f23cb
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.004f14b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
movzx ebp, byte [esp + 0x18]
test eax, eax
je 0x4f235a
mov dword [esp + 0x78], ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], ebx
xchg ebp, eax
mov byte [esp + 0x2f], al
xchg ebp, eax
mov esi, dword [esp + 0xb4]
mov dword [esp], esi
mov edi, dword [esp + 0xb0]
mov dword [esp + 4], edi
lea esi, [esp + 0xec]
mov dword [esp + 8], esi
lea esi, [esp + 0xdc]
mov dword [esp + 0xc], esi
lea esi, [esp + 0xcc]
mov dword [esp + 0x10], esi
lea esi, [esp + 0xbc]
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.004f16c0
movzx eax, byte [esp + 0x2d]
test al, al
je 0x4f220f
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov ecx, dword [esp + 0xa8]
mov dword [esp + 4], ecx
lea edx, [esp + 0xec]
mov dword [esp + 8], edx
lea ebx, [esp + 0xdc]
mov dword [esp + 0xc], ebx
lea ebp, [esp + 0xcc]
mov dword [esp + 0x10], ebp
lea esi, [esp + 0xbc]
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x74]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x68]
mov dword [esp + 0x24], edi
movzx edi, byte [esp + 0x2f]
xchg edi, eax
mov byte [esp + 0x28], al
xchg edi, eax
call fcn.004f16c0
movzx eax, byte [esp + 0x2d]
jmp 0x4f220f
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov ecx, dword [esp + 0xb0]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xac]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 0xc], ebx
lea ebp, [esp + 0xec]
mov dword [esp + 0x10], ebp
lea esi, [esp + 0xdc]
mov dword [esp + 0x14], esi
lea edi, [esp + 0xcc]
mov dword [esp + 0x18], edi
lea edi, [esp + 0xbc]
mov dword [esp + 0x1c], edi
movzx edi, byte [esp + 0x2d]
xchg edi, eax
mov byte [esp + 0x20], al
xchg edi, eax
call fcn.004f1970
movzx eax, byte [esp + 0x2d]
jmp 0x4f220f
test ebp, ebp
je 0x4f249c
cmp dword [ebx + 8], 1
jle 0x4f2440
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
lea ebp, [esp + 0xec]
mov dword [esp + 0x10], ebp
lea ebp, [esp + 0xdc]
mov dword [esp + 0x14], ebp
lea ebp, [esp + 0xcc]
mov dword [esp + 0x18], ebp
lea esi, [esp + 0xbc]
mov dword [esp + 0x1c], esi
movzx edi, byte [esp + 0x2d]
xchg edi, eax
mov byte [esp + 0x20], al
xchg edi, eax
call fcn.004f1970
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0xb4]
mov ebp, dword [eax + 8]
mov esi, dword [eax + 4]
test ebp, ebp
je 0x4f249c
mov ebp, dword [ebx + 8]
mov edi, edx
mov edx, dword [ebx + 4]
test ebp, ebp
jbe 0x4f29a6
mov edx, dword [edx]
mov ebp, dword [esi]
movzx esi, byte [esp + 0x2d]
xchg esi, eax
test al, al
xchg esi, eax
je 0x4f2761
mov esi, 1
xor esi, esi
mov dword [esp + 0x70], esi
mov esi, 1
mov dword [esp + 0x64], esi
xor esi, esi
mov dword [esp + 0x5c], esi
mov esi, 1
xchg esi, eax
mov byte [esp + 0x2e], al
xchg esi, eax
mov esi, 1
jmp 0x4f27fd
mov ecx, dword [esp + 0x14c]
movzx ebp, byte [ecx]
mov esi, dword [esp + 0x148]
test esi, esi
je 0x4f26be
xchg ebp, eax
mov byte [esp + 0x2c], al
xchg ebp, eax
mov edi, ebx
mov ebx, dword [esp + 0x150]
cmp ebx, esi
jne 0x4f262f
nop
cmp ebx, eax
je 0x4f2631
mov ebp, dword [eax + 0xc]
mov edx, dword [eax + 4]
mov ecx, dword [ebx + 8]
mov dword [esp + 0x80], ecx
mov esi, dword [ebx + 4]
cmp ebp, ecx
jge 0x4f258e
mov dword [esp + 0x9c], esi
cmp ecx, 1
jne 0x4f2546
lea eax, [0x5e4240]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044a5d0
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0xb0]
mov ebx, dword [esp + 0x150]
mov esi, dword [esp + 0x9c]
mov edi, dword [esp + 0xb4]
mov ecx, 1
mov ebp, 1
jmp 0x4f258e
lea eax, [0x5e4240]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [ecx + 4]
mov dword [esp + 0x38], eax
mov dword [esp + 8], eax
call fcn.0044a5d0
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0xb0]
mov ebx, dword [esp + 0x150]
mov esi, dword [esp + 0x9c]
mov edi, dword [esp + 0xb4]
mov ecx, dword [esp + 0x80]
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x80]
cmp ecx, ebx
jg 0x4f259b
mov ebx, ecx
cmp edx, esi
je 0x4f25de
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ecx
mov dword [esp + 0x90], edx
mov dword [esp], edx
mov dword [esp + 4], esi
shl ebx, 2
mov dword [esp + 8], ebx
call fcn.00461a40
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x90]
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0xb4]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebp
mov ecx, dword [0x7e1c20]
test ecx, ecx
jne 0x4f25f3
mov dword [eax + 4], edx
jmp 0x4f2607
lea ecx, [eax + 4]
mov ebx, edi
mov edi, ecx
mov ebp, eax
mov eax, edx
call fcn.004610d0
mov eax, ebp
mov edi, ebx
mov ecx, dword [esp + 0x150]
movzx ecx, byte [ecx]
mov byte [eax], cl
mov ecx, dword [esp + 0x14c]
mov edx, dword [esp + 0xac]
movzx ebp, byte [esp + 0x2c]
mov esi, dword [esp + 0x148]
jmp 0x4f2631
mov eax, ebx
mov dword [esp + 0xb0], eax
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004f01a0
movzx eax, byte [esp + 0x2c]
test al, al
je 0x4f2662
mov ecx, dword [esp + 0x148]
movzx edx, byte [ecx]
xor edx, 1
mov byte [ecx], dl
jmp 0x4f2669
mov ecx, dword [esp + 0x148]
mov dword [esp], ecx
mov eax, dword [esp + 0xb4]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004eff60
mov eax, dword [esp + 0x148]
mov dword [esp], eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 8], eax
call fcn.004f0460
mov eax, dword [esp + 0x144]
test eax, eax
mov ecx, eax
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0xb4]
movzx ebp, byte [esp + 0x2c]
jmp 0x4f26c7
mov ecx, dword [esp + 0x144]
test ecx, ecx
je 0x4f270e
mov eax, dword [edx + 4]
movzx esi, byte [edx]
mov edi, ebx
mov ebx, dword [edx + 8]
mov edx, dword [edx + 0xc]
xchg esi, eax
mov byte [ecx], al
xchg esi, eax
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], edx
mov edx, dword [0x7e1c20]
test edx, edx
jne 0x4f26f0
mov dword [ecx + 4], eax
jmp 0x4f26fe
lea edx, [ecx + 4]
mov ebx, edi
mov edi, edx
call fcn.004610d0
mov edi, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4f2710
movzx edx, byte [ecx]
xor edx, 1
mov byte [ecx], dl
jmp 0x4f2710
mov edi, ebx
mov eax, dword [edi + 4]
movzx ecx, byte [edi]
mov edx, dword [edi + 0xc]
mov ebx, dword [edi + 8]
mov ebp, dword [esp + 0x140]
mov byte [ebp], cl
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], edx
mov ecx, dword [0x7e1c20]
test ecx, ecx
jne 0x4f273b
mov dword [ebp + 4], eax
jmp 0x4f2743
lea edi, [ebp + 4]
call fcn.004610d0
mov dword [esp + 0x154], ebp
add esp, 0x13c
ret
mov ecx, eax
mov eax, edx
xor edx, edx
div ebp
mov eax, ecx
mov esi, ebp
mov ebp, edx
mov edx, esi
test ebp, ebp
jne 0x4f2751
mov ebp, dword [ebx + 8]
mov esi, dword [ebx + 4]
test ebp, ebp
jbe 0x4f2778
mov dword [esi], edx
mov edx, edi
jmp 0x4f249c
xor eax, eax
mov ecx, eax
call fcn.00461150
mov eax, edx
xor edx, edx
div ebp
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x84]
xor edx, edx
div ebp
mov eax, edx
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x7c]
imul edx, ebx
add edx, esi
mov esi, edx
mov edx, dword [esp + 0x64]
imul ebx, edx
mov edx, dword [esp + 0x5c]
add edx, ebx
mov ebx, edx
movzx edx, byte [esp + 0x2e]
xor edx, 1
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x5c], eax
mov byte [esp + 0x2e], dl
mov eax, dword [esp + 0xb0]
mov edx, ebp
mov dword [esp + 0x64], ebx
mov ebx, dword [esp + 0xb4]
mov ebp, dword [esp + 0x88]
mov ebp, esi
mov esi, dword [esp + 0x70]
mov dword [esp + 0x70], ebp
mov ebp, dword [esp + 0x88]
mov dword [esp + 0x84], edx
test ebp, ebp
jne 0x4f2781
mov ebp, dword [esp + 0xc8]
mov eax, dword [esp + 0xc0]
test esi, esi
jne 0x4f2822
xor esi, esi
jmp 0x4f287a
nop
cmp ebp, 1
jge 0x4f2873
mov dword [esp + 0x60], esi
lea eax, [0x5e4240]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044a5d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0xb4]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0xac]
mov ebp, 1
mov dword [eax], esi
mov esi, 1
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc8], ebp
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xd8]
mov ebp, dword [esp + 0xd0]
mov esi, dword [esp + 0x5c]
test esi, esi
jne 0x4f28a9
xor esi, esi
jmp 0x4f28fe
nop
cmp eax, 1
jge 0x4f28f6
lea eax, [0x5e4240]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044a5d0
mov ebp, dword [esp + 0xc]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0xb4]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0xac]
mov eax, 1
mov dword [ebp], esi
mov esi, 1
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd8], eax
mov dword [esp + 0xd0], ebp
movzx eax, byte [esp + 0x2e]
mov ecx, eax
xor eax, 1
mov byte [esp + 0xbc], al
mov byte [esp + 0xcc], cl
lea eax, [esp + 0xbc]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], eax
call fcn.004f01a0
lea eax, [esp + 0xcc]
mov dword [esp], eax
mov ecx, dword [esp + 0xa8]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004f01a0
mov eax, dword [esp + 0xac]
mov dword [esp], eax
lea ecx, [esp + 0xbc]
mov dword [esp + 4], ecx
lea ecx, [esp + 0xcc]
mov dword [esp + 8], ecx
call fcn.004efd20
mov eax, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb4]
mov edi, dword [esp + 0xac]
mov edx, dword [esp + 0x84]
jmp 0x4f2765
xor eax, eax
mov ecx, eax
call fcn.00461150
nop
call fcn.0045fcc0
jmp fcn.004f1d30