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

Disassembly:
push 0xffffffffffffffff
push 0x4e06af
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x53132c]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53132c]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov ebx, dword [esp + 0xe4]
mov eax, dword [ebx + 4]
mov edi, dword [esp + 0xe0]
mov ebp, dword [esp + 0xe8]
mov esi, dword [esp + 0xec]
mov edx, dword [ebx]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ebx
test eax, eax
je 0x4cba6b
lea ecx, [edx + eax*4 - 4]
lea esp, [esp]
cmp dword [ecx], 0
jne 0x4cba6b
sub ecx, 4
dec eax
jne 0x4cba60
xor ecx, ecx
test eax, eax
je 0x4cba7c
cmp dword [edx + ecx*4], 0
jne 0x4cba9a
inc ecx
cmp ecx, eax
jne 0x4cba71
lea ecx, [esp + 0xa4]
call fcn.004c9f20
push 0x527100
lea eax, [esp + 0xa8]
push eax
call fcn.0045869c
push ebx
lea ecx, [esp + 0x3c]
call fcn.004bcd30
mov eax, dword [esp + 0x3c]
mov ecx, eax
mov dword [esp + 0xd8], 0
mov dword [esp + 0x14], ecx
test eax, eax
je 0x4cbad4
mov edx, dword [esp + 0x38]
lea eax, [edx + eax*4 - 4]
cmp dword [eax], 0
jne 0x4cbad0
sub eax, 4
dec ecx
jne 0x4cbac5
mov dword [esp + 0x14], ecx
cmp esi, edi
je 0x4cbb07
mov ebx, dword [edi + 4]
mov edi, dword [edi]
push ebx
mov ecx, esi
call fcn.0047f640
mov eax, dword [esi + 4]
cmp ebx, eax
ja 0x4cbaee
mov eax, ebx
mov ecx, dword [esi]
add eax, eax
add eax, eax
push eax
push edi
push ecx
call fcn.00459280
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
add esp, 0xc
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 1
mov ecx, esi
call fcn.004bc9b0
push 1
lea ecx, [esp + 0x3c]
call fcn.004bc9b0
push 1
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call fcn.004bc710
test eax, eax
jns 0x4cbbb7
push 0
push 0
lea ecx, [esp + 0x2c]
call fcn.004bcbd0
lea eax, [esp + 0x24]
mov byte [esp + 0xd8], 1
cmp ebp, eax
je 0x4cbb8a
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
push ebx
mov ecx, ebp
call fcn.0047f640
mov eax, dword [ebp + 4]
cmp ebx, eax
ja 0x4cbb6d
mov eax, ebx
mov ecx, dword [ebp]
lea edx, [eax*4]
push edx
push edi
push ecx
call fcn.00459280
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
add eax, eax
add eax, eax
push eax
mov eax, dword [esp + 0x28]
push eax
mov byte [esp + 0xe0], 0
call edx
jmp 0x4cc084
jne 0x4cbc46
push 0
push 1
lea ecx, [esp + 0x2c]
call fcn.004bcbd0
lea eax, [esp + 0x24]
push eax
mov ecx, ebp
mov byte [esp + 0xdc], 2
call fcn.004bceb0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
add eax, eax
add eax, eax
push eax
mov eax, dword [esp + 0x28]
push eax
mov byte [esp + 0xe0], 0
call edx
push 0
push 0
lea ecx, [esp + 0x2c]
call fcn.004bcbd0
lea eax, [esp + 0x24]
push eax
mov ecx, esi
mov byte [esp + 0xdc], 3
call fcn.004bceb0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
add eax, eax
add eax, eax
push eax
mov eax, dword [esp + 0x28]
push eax
mov byte [esp + 0xe0], 0
call edx
jmp 0x4cc084
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
xor ebx, ebx
mov dword [esp + 0x4c], ebx
test eax, eax
je 0x4cbc6a
lea ecx, [edx + eax*4 - 4]
lea esp, [esp]
cmp dword [ecx], ebx
jne 0x4cbc6a
sub ecx, 4
dec eax
jne 0x4cbc60
mov eax, dword [edx + eax*4 - 4]
cmp eax, 0x80000000
jae 0x4cbc83
add eax, eax
inc ebx
cmp eax, 0x80000000
jb 0x4cbc75
mov dword [esp + 0x4c], ebx
push ebx
lea ecx, [esp + 0x3c]
call fcn.004c95d0
push ebx
mov ecx, esi
call fcn.004c95d0
mov eax, dword [esi + 4]
mov ecx, dword [esi]
test eax, eax
je 0x4cbcad
lea ecx, [ecx + eax*4 - 4]
cmp dword [ecx], 0
jne 0x4cbcad
sub ecx, 4
dec eax
jne 0x4cbca2
lea ebx, [eax - 1]
mov eax, dword [esp + 0x14]
dec eax
mov edi, ebx
sub edi, eax
mov dword [esp + 0x14], eax
lea eax, [edi + 1]
push eax
mov ecx, ebp
call fcn.0047f640
cmp ebx, dword [esp + 0x14]
ja 0x4cbd8d
push 1
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.004bc710
test eax, eax
jle 0x4cbd44
lea edx, [esp + 0x38]
push edx
mov ecx, esi
call fcn.004c9880
push 0
push 1
lea ecx, [esp + 0x6c]
call fcn.004bcbd0
lea eax, [esp + 0x64]
push eax
mov ecx, ebp
mov byte [esp + 0xdc], 4
call fcn.004c96b0
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
add eax, eax
add eax, eax
push eax
mov eax, dword [esp + 0x68]
push eax
mov byte [esp + 0xe0], 0
call edx
push 1
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.004bc710
test eax, eax
jg 0x4cbce4
mov ecx, dword [esp + 0x4c]
push ecx
mov ecx, esi
call fcn.004c9630
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push esi
push ebp
push edx
push eax
call fcn.004cb8d0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
add eax, eax
add esp, 0x10
add eax, eax
push eax
mov eax, dword [esp + 0x3c]
push eax
mov dword [esp + 0xe0], 0xffffffff
call edx
jmp 0x4cc0b4
mov eax, edi
shl eax, 5
push eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.004ca300
add esp, 0xc
push 1
lea edx, [esp + 0x28]
push edx
mov ecx, esi
mov byte [esp + 0xe0], 5
call fcn.004bc710
test eax, eax
js 0x4cbde7
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.004c9880
mov eax, dword [ebp]
inc dword [eax + edi*4]
push 1
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.004bc710
test eax, eax
jns 0x4cbdc3
mov edx, dword [esp + 0x20]
add edi, edi
add edi, edi
mov eax, ebx
add edx, 0xffffffe0
lea ecx, [ebx*4 - 8]
mov dword [esp + 0x54], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x60], ecx
jmp 0x4cbe14
mov eax, dword [esp + 0x54]
mov ebx, dword [esi + 4]
cmp eax, ebx
jae 0x4cbe26
mov ecx, dword [esi]
mov ecx, dword [ecx + eax*4]
mov dword [esp + 0x5c], ecx
jmp 0x4cbe32
mov dword [esp + 0x5c], 0
mov ecx, dword [esp + 0x5c]
lea edx, [eax - 2]
mov dword [esp + 0x78], edx
inc edx
cmp edx, ebx
jae 0x4cbe4a
mov edx, dword [esi]
mov edx, dword [edx + eax*4 - 4]
mov dword [esp + 0x58], edx
jmp 0x4cbe52
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x3c]
jae 0x4cbe69
mov edx, dword [esp + 0x38]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x50], eax
jmp 0x4cbe75
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x50]
cmp ecx, eax
jne 0x4cbe86
mov eax, dword [ebp]
mov dword [edi + eax - 4], 0xffffffff
jmp 0x4cbea0
mov ebx, dword [ebp]
push eax
mov eax, dword [esp + 0x5c]
push eax
push ecx
call fcn.004c73c0
add esp, 0xc
mov dword [edi + ebx - 4], eax
lea esp, [esp]
mov ecx, dword [esp + 0x78]
cmp ecx, dword [esi + 4]
jae 0x4cbeb4
mov eax, dword [esi]
mov edx, dword [esp + 0x60]
mov edx, dword [edx + eax]
jmp 0x4cbeb6
xor edx, edx
mov eax, dword [esp + 0x14]
dec eax
cmp eax, dword [esp + 0x3c]
jae 0x4cbeca
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx + eax*4]
jmp 0x4cbecc
xor ecx, ecx
mov eax, dword [ebp]
push edx
mov edx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x64]
push edx
mov edx, dword [edi + eax - 4]
push ecx
mov ecx, dword [esp + 0x60]
push ecx
push edx
call fcn.004c72e0
add esp, 0x18
test eax, eax
mov eax, dword [ebp]
je 0x4cbefe
dec dword [edi + eax - 4]
lea eax, [edi + eax - 4]
jmp 0x4cbea0
mov ecx, dword [edi + eax - 4]
push 0
push ecx
lea ecx, [esp + 0x6c]
call fcn.004bcbd0
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0xac]
push ecx
mov byte [esp + 0xe4], 6
call fcn.004ca400
mov ebx, dword [esp + 0x2c]
push ebx
push eax
lea edx, [esp + 0x90]
push edx
mov byte [esp + 0xf0], 7
call fcn.004ca300
add esp, 0x18
push eax
mov ecx, esi
mov byte [esp + 0xdc], 8
call fcn.004c9880
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
add edx, edx
add edx, edx
push edx
mov edx, dword [esp + 0x80]
push edx
mov byte [esp + 0xe0], 7
call eax
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xb0]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
add eax, eax
add eax, eax
push eax
mov eax, dword [esp + 0xa8]
push eax
mov byte [esp + 0xe0], 6
call edx
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
add edx, edx
add edx, edx
push edx
mov edx, dword [esp + 0x68]
push edx
mov byte [esp + 0xe0], 5
call eax
cmp dword [esi + 0x10], 0
jne 0x4cc02d
push ebx
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x98]
push edx
call fcn.004ca300
add esp, 0xc
push eax
mov ecx, esi
mov byte [esp + 0xdc], 9
call fcn.004c96b0
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
add edx, edx
add edx, edx
push edx
mov edx, dword [esp + 0x94]
push edx
mov byte [esp + 0xe0], 5
call eax
mov eax, dword [ebp]
dec dword [edi + eax - 4]
mov eax, dword [esp + 0x54]
sub dword [esp + 0x60], 4
dec eax
sub ebx, 0x20
sub edi, 4
mov dword [esp + 0x54], eax
mov dword [esp + 0x20], ebx
cmp eax, dword [esp + 0x14]
jne 0x4cbe10
mov ecx, dword [esp + 0x4c]
push ecx
mov ecx, esi
call fcn.004c9630
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
add eax, eax
add eax, eax
push eax
mov eax, dword [esp + 0x28]
push eax
mov byte [esp + 0xe0], 0
call edx
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
push esi
push ebp
push ebx
push edi
call fcn.004cb8d0
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
add edx, edx
add esp, 0x10
add edx, edx
push edx
mov edx, dword [esp + 0x3c]
push edx
mov dword [esp + 0xe0], 0xffffffff
call eax
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.004587b6
add esp, 0xc8
ret