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

Disassembly:
sub esp, 0x170
push ebx
push ebp
push edi
push 8
lea eax, [esp + 0x74]
mov edi, ecx
xor ebx, ebx
push eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x80], 1
mov dword [esp + 0x90], 0x100
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call dword [0x10075f84]
push 0x18
lea ecx, [esp + 0x104]
push ecx
call dword [0x10075f84]
mov edx, dword [esp + 0x180]
push edx
lea eax, [esp + 0x12c]
push eax
call dword [0x10075f80]
push ebx
push ebx
push 0x20
push 1
push 4
push ebx
push ebx
lea edx, [esp + 0x8c]
push edx
lea eax, [esp + 0x120]
lea ecx, [esp + 0x148]
push eax
mov dword [esp + 0x12c], ecx
push 0x130089
lea ecx, [esp + 0x34]
mov ebp, 0x40
push ecx
mov dword [esp + 0x12c], 0x18
mov dword [esp + 0x130], ebx
mov dword [esp + 0x138], ebp
mov dword [esp + 0x13c], ebx
mov dword [esp + 0x140], ebx
call fcn.0048dd00
cmp eax, ebx
jne 0x4c64b3
mov ecx, dword [esp + 0xc]
push esi
lea edx, [esp + 0x3c]
push edx
push 0x38
lea eax, [esp + 0x150]
push eax
push ebx
push ecx
call fcn.00491c50
mov esi, eax
cmp esi, ebx
je 0x4c5c67
mov edx, dword [esp + 0x10]
push edx
call fcn.0048efc0
mov eax, esi
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x170
ret 0xc
mov esi, dword [esp + 0x188]
push esi
lea eax, [esp + 0xb8]
push eax
call dword [0x10075f80]
push 1
push 1
lea edx, [esp + 0xdc]
push edx
lea ecx, [esp + 0xc0]
push edi
mov dword [esp + 0xe4], 0x18
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xf0], ebp
mov dword [esp + 0xec], ecx
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf8], ebx
call fcn.004beb00
push esi
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x1c], ebx
call dword [0x10075f80]
mov edx, dword [esp + 0x10]
push edx
lea ecx, [esp + 0x20]
push edi
mov dword [esp + 0xf4], 0x18
mov dword [esp + 0xf8], ebx
mov dword [esp + 0x100], ebp
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x104], ebx
mov dword [esp + 0x108], ebx
xor esi, esi
call fcn.004bfdc0
test eax, eax
je 0x4c5d38
push 8
call fcn.004b1530
add esp, 4
cmp eax, ebx
je 0x4c5d34
mov dword [eax + 4], edi
mov ecx, dword [edi]
mov dword [eax], ecx
mov dword [edi], 1
jmp 0x4c5d36
xor eax, eax
mov esi, eax
mov edx, dword [esp + 0x148]
push ebx
push ebx
push 0x21
push 2
push 7
push edx
push ebx
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x10c]
push ecx
push 0x100002
lea edx, [esp + 0x3c]
push edx
call fcn.0048dd00
mov edi, eax
cmp edi, ebx
je 0x4c5d9d
mov eax, dword [esp + 0x10]
push eax
call fcn.0048efc0
cmp esi, ebx
je 0x4c6449
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov eax, esi
mov dword [ecx], edx
call fcn.004b16a0
pop esi
mov eax, edi
pop edi
pop ebp
pop ebx
add esp, 0x170
ret 0xc
cmp esi, ebx
je 0x4c5daf
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [eax], ecx
mov eax, esi
call fcn.004b16a0
mov edx, dword [esp + 0x14]
push edx
call fcn.0048efc0
push 8
lea eax, [esp + 0x78]
push eax
call dword [0x10075f84]
push 0x1006b780
lea ecx, [esp + 0x140]
push ecx
call dword [0x10075f80]
lea esp, [esp]
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x4c5ded
call fcn.004b16a0
mov esi, dword [esp + 0x8c]
push esi
call fcn.004b1530
mov ebp, dword [esp + 0x80]
add esp, 4
push ebx
mov edi, eax
mov edx, ebp
neg edx
sbb edx, edx
lea eax, [esp + 0x140]
and edx, eax
push edx
mov edx, dword [esp + 0x18]
push 1
push 2
push esi
push edi
lea ecx, [esp + 0x8c]
push ecx
push ebx
push ebx
push ebx
push edx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], esi
call fcn.0048fbd0
cmp eax, 0xc0000004
je 0x4c63ed
cmp eax, 0x80000005
je 0x4c63ed
cmp eax, 0xc0000023
je 0x4c63ed
cmp eax, ebx
jne 0x4c6458
cmp ebp, ebx
je 0x4c5e6b
mov dword [esp + 0x7c], ebx
mov esi, dword [edi + 0x3c]
shr esi, 1
add esi, 1
mov ebp, ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebx
je 0x4c5e95
lea eax, [esi + esi]
push eax
call fcn.004b1530
mov ebp, eax
add esp, 4
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], esi
mov ecx, dword [edi + 0x3c]
push ecx
add edi, 0x44
push edi
push ebp
call dword [0x10075f88]
mov edx, dword [esp + 0x20]
push ebp
lea edi, [esp + 0x28]
mov word [ebp + edx*2 - 2], bx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.00498aa0
mov eax, dword [esp + 0x188]
push eax
lea edi, [esp + 0x94]
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
call fcn.00498aa0
push 0x10060788
lea edi, [esp + 0x84]
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
call fcn.00498aa0
lea ecx, [esp + 0x24]
push ecx
mov edx, edi
push edx
lea eax, [esp + 0x98]
push eax
lea esi, [esp + 0xf8]
call fcn.00497a20
add esp, 8
push eax
lea esi, [esp + 0x4c]
call fcn.00497a20
mov eax, dword [esp + 0xf4]
add esp, 8
cmp eax, ebx
je 0x4c5f63
call fcn.004b16a0
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xf4], ebx
mov eax, dword [esp + 0x80]
cmp eax, ebx
je 0x4c5f88
call fcn.004b16a0
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov eax, dword [esp + 0x90]
cmp eax, ebx
je 0x4c5fad
call fcn.004b16a0
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov ecx, dword [esp + 0x184]
push ecx
lea edi, [esp + 0xa0]
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
call fcn.00498aa0
push 0x10060788
lea edi, [esp + 0xac]
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
call fcn.00498aa0
lea edx, [esp + 0x24]
push edx
mov eax, edi
push eax
lea ecx, [esp + 0xa4]
push ecx
lea esi, [esp + 0xe0]
call fcn.00497a20
add esp, 8
push eax
lea esi, [esp + 0x58]
call fcn.00497a20
mov eax, dword [esp + 0xdc]
add esp, 8
cmp eax, ebx
je 0x4c604d
call fcn.004b16a0
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], ebx
mov eax, dword [esp + 0xa8]
cmp eax, ebx
je 0x4c6072
call fcn.004b16a0
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov eax, dword [esp + 0x9c]
cmp eax, ebx
je 0x4c6097
call fcn.004b16a0
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0x3c]
cmp eax, 4
jne 0x4c60b1
cmp word [ebp], 0x2e
jne 0x4c60b1
cmp word [ebp + 2], 0x2e
je 0x4c60c1
cmp eax, 2
jne 0x4c60bd
cmp word [ebp], 0x2e
je 0x4c60c1
cmp eax, ebx
jne 0x4c6128
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x4c60da
call fcn.004b16a0
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x4c60f3
call fcn.004b16a0
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x4c610c
call fcn.004b16a0
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
cmp ebp, ebx
je 0x4c5de0
mov eax, ebp
call fcn.004b16a0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
jmp 0x4c5de0
test dword [ecx + 0x38], 0x10
je 0x4c6165
mov edx, dword [esp + 0x18c]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x50]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x44]
call fcn.004c5b60
mov edi, eax
cmp edi, ebx
je 0x4c63c4
mov eax, dword [esp + 0x10]
push eax
call fcn.0048efc0
jmp 0x4c641c
mov edx, dword [esp + 0x50]
push edx
lea eax, [esp + 0x120]
push eax
call dword [0x10075f80]
push ebx
push ebx
push 0x20
push 1
push 4
push ebx
push ebx
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0xdc]
lea ecx, [esp + 0x13c]
push eax
mov dword [esp + 0xe8], ecx
push 0x100001
lea ecx, [esp + 0x40]
mov edi, 0x18
mov ebp, 0x40
push ecx
mov dword [esp + 0xe8], edi
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf4], ebp
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xfc], ebx
call fcn.0048dd00
mov esi, dword [esp + 0x44]
push esi
lea edx, [esp + 0x138]
push edx
call dword [0x10075f80]
push 1
push 1
lea ecx, [esp + 0x64]
mov dword [esp + 0x70], ebp
mov ebp, dword [esp + 0x40]
push ecx
lea eax, [esp + 0x140]
push ebp
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], eax
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
call fcn.004beb00
push esi
lea edx, [esp + 0x128]
push edx
mov dword [esp + 0x48], ebx
call dword [0x10075f80]
mov ecx, dword [esp + 0x18]
push ecx
lea eax, [esp + 0x128]
push ebp
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xd0], 0x40
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0x1c], ebx
call fcn.004bfdc0
test eax, eax
je 0x4c62ab
push 8
call fcn.004b1530
add esp, 4
cmp eax, ebx
je 0x4c629e
mov dword [eax + 4], ebp
mov edx, dword [ebp]
mov dword [eax], edx
mov dword [ebp], 1
jmp 0x4c62a0
xor eax, eax
mov edi, eax
lea esi, [esp + 0x14]
call fcn.004ca6a0
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x38]
push ebx
push ebx
push 0x60
push 2
push 7
push ecx
push ebx
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0xdc]
push eax
push 0x100002
lea ecx, [esp + 0x68]
push ecx
call fcn.0048dd00
mov edi, eax
cmp edi, ebx
jne 0x4c63ff
lea esi, [esp + 0x14]
call fcn.004ca6c0
push 0x400000
call fcn.004b1530
mov edi, dword [0x1005f07c]
add esp, 4
push ebx
lea edx, [esp + 0x40]
push edx
mov esi, eax
mov eax, dword [esp + 0x20]
push 0x400000
push esi
push eax
mov dword [esp + 0xc8], esi
mov dword [esp + 0xcc], 0x400000
call edi
test eax, eax
je 0x4c6365
lea esp, [esp]
mov eax, dword [esp + 0x3c]
cmp eax, ebx
jbe 0x4c6365
mov edx, dword [esp + 0x40]
push ebx
lea ecx, [esp + 0x148]
push ecx
push eax
push esi
push edx
call dword [0x1005f0c0]
mov ecx, dword [esp + 0x18]
push ebx
lea eax, [esp + 0x40]
push eax
push 0x400000
push esi
push ecx
call edi
test eax, eax
jne 0x4c6330
lea ecx, [esp + 0xb4]
call fcn.00497cc0
cmp dword [esp + 0x18c], ebx
je 0x4c63b0
mov edx, dword [esp + 0x18]
push 1
push 1
lea eax, [esp + 0x64]
push eax
push ebp
mov dword [esp + 0x6c], 0x18
mov dword [esp + 0x70], edx
mov dword [esp + 0x78], 0x40
mov dword [esp + 0x74], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
call fcn.004beb00
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0048efc0
mov edx, dword [esp + 0x40]
push edx
call fcn.0048efc0
lea ecx, [esp + 0x50]
call fcn.004894f0
lea ecx, [esp + 0x44]
call fcn.004894f0
lea ecx, [esp + 0x24]
call fcn.004894f0
lea esi, [esp + 0x1c]
call fcn.00497d50
jmp 0x4c5de0
add esi, 0x100
mov dword [esp + 0x8c], esi
jmp 0x4c5de0
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0048efc0
mov edx, dword [esp + 0x10]
push edx
call fcn.0048efc0
lea esi, [esp + 0x14]
call fcn.004ca6c0
lea ecx, [esp + 0x50]
call fcn.004894f0
lea ecx, [esp + 0x44]
call fcn.004894f0
lea ecx, [esp + 0x24]
call fcn.004894f0
lea esi, [esp + 0x1c]
call fcn.00497d50
lea ecx, [esp + 0x30]
call fcn.00497cc0
pop esi
mov eax, edi
pop edi
pop ebp
pop ebx
add esp, 0x170
ret 0xc
cmp dword [esp + 0x18c], ebx
je 0x4c649b
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
push 1
push 1
lea ecx, [esp + 0x64]
push ecx
push edx
mov dword [esp + 0x6c], 0x18
mov dword [esp + 0x70], eax
mov dword [esp + 0x78], 0x40
mov dword [esp + 0x74], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
call fcn.004beb00
mov eax, dword [esp + 0x10]
push eax
call fcn.0048efc0
cmp edi, ebx
je 0x4c64b0
mov eax, edi
call fcn.004b16a0
xor eax, eax
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x170
ret 0xc