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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x1c]
cmp eax, dword [ecx + 8]
jbe 0x4b9989
sub esp, 0x9c
mov eax, 0
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x60]
test ecx, ecx
jne 0x4b9913
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov ebx, dword [eax + 0x20]
mov ebp, dword [eax + 0x24]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.004b8e30
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
test ebx, ebx
jne 0x4b989a
mov edi, dword [esp + 0xa0]
mov dword [edi + 4], ecx
mov ecx, dword [0x5cd9c0]
test ecx, ecx
jne 0x4b9890
mov dword [edi], eax
mov eax, dword [edi + 0x50]
test eax, eax
jne 0x4b983d
mov eax, dword [edi + 0x5c]
mov ecx, dword [edi + 0x58]
test ecx, ecx
jne 0x4b978e
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea eax, [0x500b90]
mov dword [esp + 0x6c], eax
lea eax, [0x500b94]
mov dword [esp + 0x70], eax
lea eax, [0x500b8c]
mov dword [esp + 0x74], eax
xor eax, eax
jmp 0x4b922c
mov ecx, dword [esp + 0x44]
lea eax, [ecx + 1]
mov edi, edx
cmp eax, 3
jge 0x4b936b
mov dword [esp + 0x44], eax
lea ecx, [esp + 0x6c]
mov edx, dword [ecx + eax*4]
mov dword [esp], edi
mov ebx, dword [edx]
call ebx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 4]
mov ebx, dword [esp + 8]
test ebx, ebx
jne 0x4b92f2
mov ebx, dword [esp + 0xa0]
mov ebp, dword [ebx + 0x6c]
mov esi, dword [ebx + 0x70]
mov eax, ecx
mov ecx, dword [ebx + 0x74]
mov edx, ebx
lea ebx, [esi + 1]
cmp ebx, ecx
jg 0x4b9297
lea ecx, [esi + 1]
mov dword [edx + 0x70], ecx
lea edi, [ebp + esi*4]
mov ecx, dword [0x5cd9c0]
test ecx, ecx
jne 0x4b9290
mov dword [ebp + esi*4], eax
jmp 0x4b9223
call fcn.00449ce0
jmp 0x4b9223
mov dword [esp + 0x60], eax
lea eax, [0x4f2260]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
call fcn.00436350
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xa0]
mov dword [ebx + 0x74], edx
mov edx, dword [0x5cd9c0]
test edx, edx
jne 0x4b92e8
mov dword [ebx + 0x6c], eax
mov edx, ebx
mov esi, ecx
mov ebp, eax
mov eax, dword [esp + 0x60]
jmp 0x4b9276
lea edi, [ebx + 0x6c]
call fcn.00449ce0
jmp 0x4b92dc
mov dword [esp + 0x4c], eax
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x80]
mov edx, dword [eax + 0x7c]
mov ebx, dword [eax + 0x78]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp], eax
call fcn.004b8d80
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x84]
mov edx, dword [eax + 0x8c]
mov ebx, dword [eax + 0x88]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp], eax
call fcn.004b8d80
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xa8], eax
add esp, 0x9c
ret
mov eax, dword [edi + 0x70]
mov ecx, dword [edi + 0x44]
lea edx, [eax + ecx]
mov dword [esp + 0x44], edx
mov ebx, dword [edi + 0x74]
mov ebp, dword [edi + 0x6c]
mov esi, dword [edi + 0x48]
mov edi, dword [edi + 0x40]
cmp edx, ebx
ja 0x4b973f
cmp edx, ebx
ja 0x4b9982
cmp eax, edx
ja 0x4b9982
mov dword [esp + 0x40], ebx
mov dword [esp + 0x5c], ebp
sub ebx, eax
mov dword [esp + 0x3c], ebx
neg ebx
shl eax, 2
sar ebx, 0x1f
and eax, ebx
add eax, ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
lea eax, [0x4f2260]
mov dword [esp], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], esi
call fcn.0040e2c0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0xa0]
mov dword [ecx + 0x70], eax
mov eax, dword [esp + 0x40]
mov dword [ecx + 0x74], eax
mov eax, dword [0x5cd9c0]
test eax, eax
jne 0x4b972e
mov eax, dword [esp + 0x5c]
mov dword [ecx + 0x6c], eax
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 0x10]
test edx, edx
jle 0x4b96fe
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x5c], eax
mov dword [esp], ecx
call fcn.004b8380
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004ba0f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x14]
lea edi, [esp + 0x78]
mov ebx, eax
xor eax, eax
call fcn.00449dd7
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x20]
mov ebp, dword [eax + 0x24]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ebp
mov ecx, dword [eax + 0x6c]
mov ebp, dword [eax + 0x70]
mov esi, dword [eax + 0x74]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], esi
mov dword [esp + 0x80], ebx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
mov ecx, dword [eax + 0x4c]
mov dword [esp + 0x98], ecx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x5c]
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 + 0x78]
mov dword [esp + 0x14], ecx
call fcn.00493c70
mov eax, dword [0x5cd9c0]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test eax, eax
jne 0x4b96e6
mov eax, dword [esp + 0xa0]
mov dword [eax + 0x50], ecx
test edx, edx
jne 0x4b9674
mov ecx, dword [eax + 0x7c]
mov edx, dword [eax + 0x80]
mov ebx, dword [eax + 0x78]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp], eax
call fcn.004b8d80
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x94]
lea edx, [0x4d63c0]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00403990
mov eax, dword [0x5cd9c0]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x4b9659
mov eax, dword [esp + 0xa0]
mov dword [eax + 0x9c], ecx
mov ecx, dword [eax + 0x90]
mov dword [esp + 0x58], ecx
mov edx, dword [eax + 0x94]
mov dword [esp + 0x44], edx
xor ebx, ebx
jmp 0x4b95cc
mov dword [esp + 0x40], ebx
mov edx, dword [ecx + ebx*4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp], 8
lea edx, [0x500b84]
mov dword [esp + 4], edx
call fcn.0042d4e0
mov eax, dword [esp + 0x40]
lea ebx, [eax + 1]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x44]
cmp ebx, edx
jl 0x4b9591
mov ecx, dword [eax + 0x58]
test ecx, ecx
jne 0x4b95f4
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
add esp, 0x9c
ret
lea eax, [0x4d6480]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00403990
mov eax, dword [0x5cd9c0]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x4b9641
mov eax, dword [esp + 0xa0]
mov dword [eax + 0xa0], ecx
mov dword [esp + 8], eax
mov dword [esp], 4
lea eax, [0x500b88]
mov dword [esp + 4], eax
call fcn.0042d4e0
jmp 0x4b95d7
mov edx, dword [esp + 0xa0]
lea edi, [edx + 0xa0]
mov eax, ecx
call fcn.00449ce0
mov eax, edx
jmp 0x4b9625
mov edx, dword [esp + 0xa0]
lea edi, [edx + 0x9c]
mov eax, ecx
call fcn.00449ce0
mov eax, edx
jmp 0x4b9579
mov dword [esp + 0x30], edx
mov dword [esp + 0x48], ebx
mov ecx, dword [eax + 0x7c]
mov edx, dword [eax + 0x80]
mov ebx, dword [eax + 0x78]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp], eax
call fcn.004b8d80
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x84]
mov edx, dword [eax + 0x88]
mov ebx, dword [eax + 0x8c]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call fcn.004b8d80
mov eax, dword [esp + 0x30]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xa8], eax
add esp, 0x9c
ret
mov ebp, dword [esp + 0xa0]
lea edi, [ebp + 0x50]
mov eax, ecx
call fcn.00449ce0
mov eax, ebp
jmp 0x4b9513
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov ebp, dword [ecx]
mov esi, dword [ecx + 4]
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], esi
mov ebx, 1
mov edx, 1
lea eax, [esp + 0x64]
jmp 0x4b941b
lea edi, [ecx + 0x6c]
mov eax, dword [esp + 0x5c]
call fcn.00449ce0
jmp 0x4b940a
mov dword [esp + 0x40], esi
mov dword [esp + 0x54], edi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
lea ecx, [0x4f2260]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00436350
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x54]
jmp 0x4b938c
mov ecx, dword [ecx + 0x14]
mov dword [esp], eax
call ecx
mov dword [esp], 0
call fcn.00404cd0
movzx eax, byte [esp + 8]
test al, al
jne 0x4b97b7
mov edi, dword [esp + 0xa0]
jmp 0x4b91e9
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x7c]
mov edx, dword [eax + 0x80]
mov ebx, dword [eax + 0x78]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp], eax
call fcn.004b8d80
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x84]
mov edx, dword [eax + 0x8c]
mov ebx, dword [eax + 0x88]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp], eax
call fcn.004b8d80
mov eax, dword [esp + 0xa0]
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 + 8]
mov ecx, dword [esp + 4]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], eax
add esp, 0x9c
ret
lea eax, [0x4e0540]
mov dword [esp], eax
call fcn.00409680
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x15
mov eax, dword [0x5cd9c0]
test eax, eax
jne 0x4b9883
lea eax, [0x4f9cfc]
mov dword [edi], eax
lea eax, [0x517640]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], edi
add esp, 0x9c
ret
lea eax, [0x4f9cfc]
call fcn.00449ce0
jmp 0x4b9868
call fcn.00449ce0
jmp 0x4b91d0
mov dword [esp + 0x50], edx
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x80]
mov edx, dword [eax + 0x7c]
mov ebx, dword [eax + 0x78]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp], eax
call fcn.004b8d80
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x8c]
mov edx, dword [eax + 0x88]
mov ebx, dword [eax + 0x84]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp], eax
call fcn.004b8d80
mov eax, dword [esp + 0x34]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xa8], eax
add esp, 0x9c
ret
mov ecx, dword [eax + 0x80]
mov edx, dword [eax + 0x7c]
mov ebx, dword [eax + 0x78]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp], eax
call fcn.004b8d80
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x8c]
mov edx, dword [eax + 0x88]
mov ebx, dword [eax + 0x84]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp], eax
call fcn.004b8d80
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x64]
mov eax, dword [eax + 0x60]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
add esp, 0x9c
ret
call fcn.00424590
ud2
call fcn.00448580
jmp fcn.004b9140