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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x18]
cmp eax, dword [ecx + 8]
jbe 0x4e9ee3
sub esp, 0x98
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x4e963f
mov ecx, dword [eax + 0x60]
test ecx, ecx
jne 0x4e963f
lea eax, [0x5353c0]
mov dword [esp], eax
call fcn.0040b290
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x10
lea ecx, [0x551008]
mov dword [eax], ecx
lea ecx, [0x587864]
mov edx, dword [esp + 0x9c]
mov dword [edx + 0x60], ecx
mov ebx, dword [0x68ad40]
test ebx, ebx
jne 0x4e9635
mov dword [edx + 0x64], eax
jmp 0x4e9647
lea edi, [edx + 0x64]
call fcn.0045c980
jmp 0x4e9647
lea ecx, [0x587864]
mov edx, eax
mov eax, dword [edx + 0x60]
test eax, eax
jne 0x4e98b9
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov ebx, dword [edx + 0x20]
mov ebp, dword [edx + 0x24]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.004e92a0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
test eax, eax
jne 0x4e9840
mov edi, dword [esp + 0x9c]
mov dword [edi + 4], ebp
mov ecx, dword [0x68ad40]
test ecx, ecx
jne 0x4e96a5
mov dword [edi], ebx
jmp 0x4e96ac
mov eax, ebx
call fcn.0045c980
mov eax, dword [edi + 0x50]
test eax, eax
jne 0x4e9804
mov eax, dword [edi + 0x58]
mov ecx, dword [edi + 0x5c]
test eax, eax
je 0x4e96e9
mov eax, dword [eax + 0x14]
mov dword [esp], ecx
call eax
mov dword [esp], 0
call fcn.00405770
movzx eax, byte [esp + 8]
test al, al
jne 0x4e977e
mov edi, dword [esp + 0x9c]
mov eax, dword [edi + 0x44]
lea ecx, [0x54aec0]
mov dword [esp], ecx
mov dword [esp + 4], 0
add eax, 3
mov dword [esp + 0x34], eax
mov dword [esp + 8], eax
call fcn.00446320
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x9c]
mov dword [ecx + 0x70], 0
mov edx, dword [esp + 0x34]
mov dword [ecx + 0x74], edx
lea edi, [ecx + 0x6c]
mov edx, dword [0x68ad40]
test edx, edx
jne 0x4e9738
mov dword [ecx + 0x6c], eax
jmp 0x4e973d
call fcn.0045c980
mov dword [esp + 0x5c], edi
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea ebx, [0x5607bc]
mov dword [esp + 0x68], ebx
lea ebx, [0x5607c0]
mov dword [esp + 0x6c], ebx
lea ebx, [0x5607b8]
mov dword [esp + 0x70], ebx
xor eax, eax
jmp 0x4e9935
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x7c]
mov ebx, dword [eax + 0x80]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004e91e0
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x84]
mov edx, dword [eax + 0x88]
mov ebx, dword [eax + 0x8c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004e91e0
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x58]
mov eax, dword [eax + 0x5c]
mov ecx, dword [ecx + 0x18]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x98
ret
lea eax, [0x5353c0]
mov dword [esp], eax
call fcn.0040b290
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x15
lea ecx, [0x552de9]
mov dword [eax], ecx
lea ecx, [0x587864]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x98
ret
mov dword [esp + 0x44], edx
mov dword [esp + 0x58], ecx
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x7c]
mov ebx, dword [eax + 0x80]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004e91e0
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x84]
mov edx, dword [eax + 0x88]
mov ebx, dword [eax + 0x8c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004e91e0
mov eax, dword [esp + 0x58]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xa4], eax
add esp, 0x98
ret
mov eax, dword [edx + 0x78]
mov ecx, dword [edx + 0x7c]
mov ebx, dword [edx + 0x80]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
call fcn.004e91e0
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x84]
mov edx, dword [eax + 0x88]
mov ebx, dword [eax + 0x8c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004e91e0
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x60]
mov eax, dword [eax + 0x64]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x98
ret
mov ebx, dword [esp + 0x34]
lea eax, [ebx + 1]
mov ecx, edx
mov edi, dword [esp + 0x5c]
cmp eax, 3
jge 0x4e9a7c
mov dword [esp + 0x34], eax
mov edx, dword [esp + eax*4 + 0x68]
mov ebx, dword [edx]
mov dword [esp], ecx
call ebx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0xc]
test ecx, ecx
jne 0x4e9a03
mov ebx, dword [esp + 0x9c]
mov ebp, dword [ebx + 0x70]
lea esi, [ebp + 1]
mov ecx, ebp
mov ebp, dword [ebx + 0x6c]
mov edx, ebx
mov ebx, dword [ebx + 0x74]
cmp ebx, esi
jae 0x4e99dc
mov dword [esp + 0x3c], eax
lea eax, [0x54aec0]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
call fcn.004464a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x9c]
mov dword [ebx + 0x74], edx
mov edx, dword [0x68ad40]
test edx, edx
jne 0x4e99cb
mov dword [ebx + 0x6c], eax
mov edi, dword [esp + 0x5c]
jmp 0x4e99d4
mov edi, dword [esp + 0x5c]
call fcn.0045c980
mov edx, ebx
mov ebp, eax
mov eax, dword [esp + 0x3c]
lea ebx, [ecx + 1]
mov dword [edx + 0x70], ebx
mov ebx, dword [0x68ad40]
lea edi, [ebp + ecx*4]
test ebx, ebx
jne 0x4e99f9
mov dword [ebp + ecx*4], eax
jmp 0x4e9928
call fcn.0045c980
jmp 0x4e9928
mov dword [esp + 0x40], ebp
mov dword [esp + 0x58], ebx
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x7c]
mov ebx, dword [eax + 0x80]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004e91e0
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x84]
mov edx, dword [eax + 0x88]
mov ebx, dword [eax + 0x8c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004e91e0
mov eax, dword [esp + 0x58]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xa4], eax
add esp, 0x98
ret
mov eax, dword [ecx + 0x70]
mov edx, dword [ecx + 0x44]
lea ebx, [eax + edx]
mov dword [esp + 0x34], ebx
mov ebp, dword [ecx + 0x74]
mov esi, dword [ecx + 0x6c]
mov edi, dword [ecx + 0x40]
cmp ebp, ebx
jae 0x4e9adf
mov dword [esp + 0x30], edx
mov dword [esp + 0x54], edi
mov dword [esp + 0x2c], eax
lea ecx, [0x54aec0]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.004464a0
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x54]
cmp eax, ebx
ja 0x4e9edb
mov dword [esp + 0x50], esi
mov dword [esp + 0x30], ebp
lea ecx, [0x54aec0]
mov dword [esp], ecx
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
shl eax, 2
sar ebp, 0x1f
and eax, ebp
add eax, esi
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
call fcn.0040fbe0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x9c]
mov dword [ecx + 0x70], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 0x74], eax
mov eax, dword [0x68ad40]
test eax, eax
jne 0x4e9b47
mov eax, dword [esp + 0x50]
mov dword [ecx + 0x6c], eax
jmp 0x4e9b54
mov edi, dword [esp + 0x5c]
mov eax, dword [esp + 0x50]
call fcn.0045c980
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x18]
mov ebx, dword [ecx + 0x1c]
test eax, eax
je 0x4e9b67
xor ebp, ebp
xor esi, esi
jmp 0x4e9b91
mov eax, dword [ecx + 0x4c]
mov dword [esp], eax
call fcn.004aa7d0
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov esi, ebp
mov ebp, ecx
mov ecx, dword [esp + 0x9c]
test ebp, ebp
jne 0x4e9dfb
mov ebp, dword [ecx + 0xc]
mov esi, dword [ecx + 8]
mov edi, dword [ecx + 0x10]
test ebp, ebp
jg 0x4e9bd5
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov ebp, ebx
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ecx
mov ebx, ebp
mov edi, 1
mov ebp, 1
lea esi, [esp + 0x60]
mov dword [esp + 0x28], edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x24], ebp
mov byte [esp], 1
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004ea2e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004ea610
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x14]
lea edi, [esp + 0x74]
mov ebx, eax
xor eax, eax
call fcn.0045cbc7
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x20]
mov ebp, dword [eax + 0x24]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ebp
mov ecx, dword [eax + 0x6c]
mov ebp, dword [eax + 0x70]
mov esi, dword [eax + 0x74]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], esi
mov dword [esp + 0x7c], ebx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
mov ecx, dword [eax + 0x4c]
mov dword [esp + 0x94], ecx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x74]
mov dword [esp + 0x14], ecx
call fcn.004ab740
mov eax, dword [0x68ad40]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
test eax, eax
jne 0x4e9cd9
mov eax, dword [esp + 0x9c]
mov dword [eax + 0x50], ecx
jmp 0x4e9cec
mov esi, dword [esp + 0x9c]
lea edi, [esi + 0x50]
mov eax, ecx
call fcn.0045c980
mov eax, esi
test edx, edx
jne 0x4e9d89
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x7c]
mov ebx, dword [eax + 0x80]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004e91e0
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x94]
test ecx, ecx
jle 0x4e9e10
lea eax, [0x52d520]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00404330
mov eax, dword [0x68ad40]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x4e9d58
mov eax, dword [esp + 0x9c]
mov dword [eax + 0x9c], ecx
jmp 0x4e9d6e
mov edx, dword [esp + 0x9c]
lea edi, [edx + 0x9c]
mov eax, ecx
call fcn.0045c980
mov eax, edx
mov ecx, dword [eax + 0x90]
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 0x94]
mov dword [esp + 0x34], edx
xor ebx, ebx
jmp 0x4e9ed2
mov dword [esp + 0x58], ebx
mov dword [esp + 0x48], ebp
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x7c]
mov ebx, dword [eax + 0x80]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004e91e0
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x84]
mov edx, dword [eax + 0x88]
mov ebx, dword [eax + 0x8c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004e91e0
mov eax, dword [esp + 0x58]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xa4], eax
add esp, 0x98
ret
mov dword [esp + 0xa0], ebp
mov dword [esp + 0xa4], esi
add esp, 0x98
ret
mov ecx, dword [eax + 0x58]
test ecx, ecx
je 0x4e9e7a
lea eax, [0x52d6a0]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00404330
mov eax, dword [0x68ad40]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x4e9e4a
mov eax, dword [esp + 0x9c]
mov dword [eax + 0xa0], ecx
jmp 0x4e9e60
mov edx, dword [esp + 0x9c]
lea edi, [edx + 0xa0]
mov eax, ecx
call fcn.0045c980
mov eax, edx
mov dword [esp], 4
lea ecx, [0x5607b4]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0043d310
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
add esp, 0x98
ret
mov dword [esp + 0x30], ebx
mov edx, dword [ecx + ebx*4]
mov dword [esp], 8
lea ebp, [0x5607b0]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.0043d310
mov eax, dword [esp + 0x30]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x34]
cmp ebx, edx
jl 0x4e9e97
jmp 0x4e9e10
mov ecx, ebx
call fcn.0045ca60
nop
call fcn.0045b540
jmp fcn.004e95c0