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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x84]
cmp eax, dword [ecx + 8]
jbe 0x500169
sub esp, 0x104
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov eax, dword [esp + 0x10c]
test eax, eax
je 0x50014f
call fcn.0047d8f0
lea edi, [esp + 0xf0]
mov esi, esp
call fcn.0044cd6e
mov eax, dword [esp + 0x108]
mov dword [esp], eax
mov ecx, dword [esp + 0x10c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x110]
mov dword [esp + 8], edx
lea edi, [esp + 0xc]
lea esi, [esp + 0xf0]
call fcn.0044cd6e
call fcn.004fdc20
lea esi, [esp + 0x20]
lea edi, [esp + 0xb4]
call fcn.0044cd6e
lea edi, [esp + 0xa0]
lea esi, [esp + 0xb4]
call fcn.0044cd6e
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa4]
mov edx, ecx
shr ecx, 0x1f
shl ecx, 0x1f
test ecx, ecx
je 0x500138
shl edx, 1
mov ecx, eax
shr eax, 0x1f
or eax, edx
mov edx, ecx
shl ecx, 1
shr ecx, 0x1f
mov ebx, eax
shl eax, 1
or eax, ecx
mov ecx, eax
add eax, 0xd7b17f80
shr ebx, 0x1f
add ecx, 0xd7b17f80
adc ebx, 0xd
test ebx, ebx
sete cl
test eax, eax
sete bl
and ecx, ebx
test cl, cl
je 0x500131
test edx, 0x3fffffff
sete cl
test cl, cl
je 0x500026
mov eax, dword [esp + 0x110]
mov ecx, dword [esp + 0x10c]
mov edx, dword [esp + 0x108]
mov ebx, dword [edx + 0x3c]
test ebx, ebx
jne 0x4fff94
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
mov edx, dword [ecx + 0x1c]
lea ebx, [0x6cf680]
mov dword [esp + 4], ebx
lea ebp, [0x9cabf8]
mov dword [esp + 8], ebp
mov dword [esp], eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
lea edx, [0x6ade00]
cmp ecx, edx
jne 0x4fff8d
test eax, eax
jne 0x4ffe79
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x108]
mov ebx, dword [edx + 0x38]
test ebx, ebx
je 0x4ffe6e
mov ebp, dword [edx + 0x20]
mov esi, dword [edx + 0x1c]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebp
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
lea eax, [0x71a7fe]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 4
mov ecx, dword [esp + 0x114]
mov dword [esp + 0x14], ecx
mov ebx, dword [esp + 0x118]
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0x11c]
mov dword [esp + 0x1c], ebp
mov esi, dword [esp + 0x120]
mov dword [esp + 0x20], esi
call fcn.004fe4e0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
test ecx, ecx
je 0x4ffb26
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], ecx
lea eax, [0x6f39c0]
mov dword [esp], eax
call fcn.0040e460
mov eax, dword [esp + 4]
mov dword [esp + 0x98], eax
mov dword [eax + 4], 4
mov ecx, dword [0x9cadb0]
test ecx, ecx
jne 0x4ffb08
lea ecx, [0x71a7fe]
mov dword [eax], ecx
mov ecx, dword [esp + 0x118]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x9cadb0]
lea edx, [eax + 8]
test ecx, ecx
jne 0x4ffae9
mov ecx, dword [esp + 0x114]
mov dword [eax + 8], ecx
mov dword [eax + 0x10], 0
mov ecx, dword [0x9cadb0]
lea edx, [eax + 0x14]
test ecx, ecx
jne 0x4ffacd
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov ecx, dword [0x9cadb0]
lea edx, [eax + 0x1c]
test ecx, ecx
jne 0x4ffab1
mov dword [eax + 0x1c], 0
mov ecx, dword [esp + 0x74]
mov dword [eax + 0x20], ecx
mov ecx, dword [0x9cadb0]
lea edx, [eax + 0x24]
test ecx, ecx
jne 0x4ffa98
mov ecx, dword [esp + 0x78]
mov dword [eax + 0x24], ecx
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
lea ecx, [0x79b7a0]
mov dword [esp + 0x12c], ecx
mov dword [esp + 0x130], eax
nop
call fcn.00426b00
add esp, 0x104
ret
mov dword [esp], edx
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
call fcn.0040ecd0
mov eax, dword [esp + 0x98]
jmp 0x4ffa61
mov dword [esp], edx
mov dword [esp + 4], 0
call fcn.0040ecd0
mov eax, dword [esp + 0x98]
jmp 0x4ffa46
mov dword [esp], edx
mov dword [esp + 4], 0
call fcn.0040ecd0
mov eax, dword [esp + 0x98]
jmp 0x4ffa2b
mov dword [esp], edx
mov eax, dword [esp + 0x114]
mov dword [esp + 4], eax
call fcn.0040ecd0
mov eax, dword [esp + 0x98]
jmp 0x4ffa0c
mov dword [esp], eax
lea ecx, [0x71a7fe]
mov dword [esp + 4], ecx
call fcn.0040ecd0
mov eax, dword [esp + 0x98]
jmp 0x4ff9e7
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x6c], ebp
lea eax, [0x6ea520]
mov dword [esp], eax
call fcn.0040e460
mov eax, dword [0x9cadb0]
mov edi, dword [esp + 4]
mov dword [esp + 0x7c], edi
test eax, eax
jne 0x4ffe4c
mov esi, dword [esp + 0x108]
call fcn.0044cd00
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0x7c]
mov dword [ecx + 0x44], eax
mov edx, dword [0x9cadb0]
lea ebx, [ecx + 0x40]
test edx, edx
jne 0x4ffe22
mov edx, dword [esp + 0x114]
mov dword [ecx + 0x40], edx
mov ebx, dword [esp + 0x120]
mov dword [ecx + 0x4c], ebx
mov ebx, dword [0x9cadb0]
lea ebp, [ecx + 0x48]
test ebx, ebx
jne 0x4ffdf8
mov ebx, dword [esp + 0x11c]
mov dword [ecx + 0x48], ebx
mov ebx, dword [esp + 0x108]
movzx ebp, byte [ebx + 0x24]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4ffbdc
cmp eax, 3
jne 0x4ffbdc
movzx eax, word [edx]
cmp ax, 0x6374
jne 0x4ffbdc
movzx eax, byte [edx + 2]
cmp al, 0x70
je 0x4ffda3
xor eax, eax
xor edx, edx
xor ebp, ebp
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x94], esi
mov esi, dword [esp + 0x48]
test edx, edx
jle 0x4ffd63
mov ebx, dword [esp + 0x64]
mov dword [esp], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
call fcn.00500180
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
test ecx, ecx
jne 0x4ffd32
lea eax, [0x79e4c0]
cmp eax, ebx
jne 0x4ffd26
mov eax, edx
jne 0x4ffc94
mov ecx, dword [esp + 0x108]
mov ebp, dword [ecx + 0x34]
mov esi, dword [ecx + 0x30]
test ebp, ebp
xchg edi, ebx
sete bl
xchg edi, ebx
test esi, esi
xchg esi, ebx
seta bl
xchg esi, ebx
and esi, edi
test ebp, ebp
xchg ebp, ebx
setg bl
xchg ebp, ebx
or ebp, esi
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4ffcc5
mov dword [esp + 0x124], ebx
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
nop
call fcn.00426b00
add esp, 0x104
ret
mov dword [esp + 0x94], eax
mov dword [esp + 0x84], ebx
mov dword [esp + 0x50], edx
mov eax, dword [edx]
mov dword [esp], eax
mov byte [esp + 4], 1
call fcn.0050e180
mov eax, dword [esp + 0x50]
mov eax, dword [eax]
mov ecx, dword [esp + 0x108]
mov edx, dword [ecx + 0x34]
mov ecx, dword [ecx + 0x30]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp], eax
call fcn.00510620
mov edx, dword [0x991224]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0x94]
mov ebx, dword [esp + 0x84]
jmp 0x4ffc94
mov eax, edx
mov edx, 0
jmp 0x4ffc60
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], ecx
mov dword [esp + 0x130], eax
nop
call fcn.00426b00
add esp, 0x104
ret
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x94]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], esi
call fcn.00500750
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
jmp 0x4ffc48
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
lea eax, [0x74f98c]
mov dword [esp + 0xc], eax
call fcn.005070f0
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x108]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x7c]
jmp 0x4ffbf9
mov dword [esp], ebp
mov eax, dword [esp + 0x11c]
mov dword [esp + 4], eax
call fcn.0040ecd0
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x114]
jmp 0x4ffbb0
mov dword [esp], ebx
mov eax, dword [esp + 0x114]
mov dword [esp + 4], eax
call fcn.0040ecd0
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x114]
jmp 0x4ffb8b
lea eax, [0x700300]
mov dword [esp], eax
mov dword [esp + 4], edi
mov eax, dword [esp + 0x108]
mov dword [esp + 8], eax
call fcn.0040ede0
jmp 0x4ffb62
mov ebx, dword [0x991210]
jmp 0x4ff931
mov dword [esp + 0x4c], eax
lea eax, [0x6ef280]
mov dword [esp], eax
call fcn.0040e460
mov eax, dword [esp + 4]
mov dword [esp + 0x9c], eax
mov ecx, dword [0x9cadb0]
lea edx, [eax + 4]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [ebx + 4]
mov ebx, dword [ebx]
test ecx, ecx
jne 0x4fff4d
mov dword [eax], ebx
mov dword [eax + 4], ebp
lea ecx, [eax + 8]
lea edx, [eax + 0xc]
mov ebx, dword [0x9cadb0]
test ebx, ebx
jne 0x4fff16
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov edx, dword [esp + 0x68]
mov dword [esp + 4], edx
lea ebx, [0x6cf680]
mov dword [esp + 8], ebx
lea ebx, [0x9cabf8]
mov dword [esp + 0xc], ebx
lea ebx, [0x6ade00]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
call fcn.004fc3d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
jmp 0x4ff91f
mov dword [esp + 0x90], edx
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.0040ecd0
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0040ecd0
mov eax, dword [esp + 0x9c]
jmp 0x4ffed3
mov dword [esp + 0x8c], edx
mov dword [esp + 0x88], ebp
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.0040ecd0
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 4], eax
call fcn.0040ecd0
mov eax, dword [esp + 0x9c]
jmp 0x4ffeb5
xor eax, eax
jmp 0x4ff90f
mov dword [esp + 0x70], ebx
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004fb550
mov eax, dword [esp + 0x10]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x54], edx
mov dword [esp], 0
mov dword [esp + 4], eax
call fcn.004262e0
test eax, eax
jne 0x500019
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x14], ecx
mov dword [esp], 0x10
lea edx, [0x74f938]
mov dword [esp + 4], edx
call fcn.0042f310
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x60]
jmp 0x4ff8d5
nop
call fcn.00426b00
add esp, 0x104
ret
lea edi, [esp + 0xdc]
xor eax, eax
call fcn.0044c88b
mov ecx, dword [esp + 0x10c]
mov edx, dword [ecx + 0x10]
mov ebx, dword [esp + 0x110]
mov dword [esp], ebx
call edx
lea esi, [esp + 4]
lea edi, [esp + 0xdc]
call fcn.0044cd6e
movzx ecx, byte [esp + 0x18]
mov byte [esp + 0x43], cl
lea edi, [esp + 0xc8]
lea esi, [esp + 0xdc]
call fcn.0044cd6e
movzx ecx, byte [esp + 0x43]
test cl, cl
jne 0x5000f1
mov eax, dword [esp + 0x10c]
mov dword [esp], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 4], eax
lea edi, [esp + 8]
lea esi, [esp + 0xb4]
call fcn.0044cd6e
call fcn.004fbd60
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x58], edx
mov dword [esp], 0
mov dword [esp + 4], eax
call fcn.004262e0
test eax, eax
jne 0x5000e4
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov edx, eax
mov eax, ecx
mov ecx, edx
jmp 0x4ff8c3
nop
call fcn.00426b00
add esp, 0x104
ret
mov edi, esp
lea esi, [esp + 0xb4]
call fcn.0044cd6e
lea edi, [esp + 0x14]
lea esi, [esp + 0xc8]
call fcn.0044cd6e
call fcn.0047bd20
movzx eax, byte [esp + 0x28]
test al, al
jne 0x50007f
mov eax, dword [esp + 0x10c]
mov ecx, dword [esp + 0x110]
jmp 0x5000d9
xor ecx, ecx
jmp 0x4ff8ad
mov ebx, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
mov edx, eax
mov eax, ecx
jmp 0x4ff890
lea eax, [0x6cae00]
mov dword [esp], eax
lea eax, [0x79a840]
mov dword [esp + 4], eax
call fcn.00426eb0
ud2
call fcn.0044ae20
jmp fcn.004ff780