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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xfc
push ebx
push esi
push edi
mov edi, ecx
push 0x200
xor eax, eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], 0xff
call fcn.004b15e0
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x30], eax
mov word [eax], bx
add esp, 4
lea eax, [esp + 0x2c]
push eax
push esi
mov eax, edi
mov dword [esp + 0x38], ebx
call fcn.004c4bc0
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x4c5741
mov ecx, dword [esp + 0x2c]
cmp ecx, ebx
je 0x4c5b4b
mov eax, ecx
call fcn.004b16a0
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [esp + 0x20]
push ecx
push 0x38
lea edx, [esp + 0xb0]
push edx
push ebx
push esi
call fcn.00491c50
cmp eax, ebx
mov dword [esp + 0x10], eax
jne 0x4c5721
push ebx
push ebx
push 0x130089
lea eax, [esp + 0x24]
push eax
call dword [0x1005f1dc]
push eax
push esi
call dword [0x1005f1dc]
push eax
call fcn.0048f6d0
cmp eax, 0xc0000022
mov dword [esp + 0x10], eax
jne 0x4c57aa
push ebx
push ebx
push ebx
lea ecx, [esp + 0x24]
push ecx
call dword [0x1005f1dc]
push eax
push esi
call dword [0x1005f1dc]
push eax
call fcn.0048f6d0
mov dword [esp + 0x10], eax
cmp eax, ebx
jne 0x4c5a2a
mov ecx, dword [esp + 0x18]
push 5
push 0x18
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0x64]
push eax
push ecx
call fcn.0048e8b0
cmp eax, ebx
mov dword [esp + 0x10], eax
jne 0x4c5a2a
cmp byte [esp + 0xa5], bl
je 0x4c58a8
mov edx, dword [ebp + 0xc]
mov eax, dword [esp + 0x2c]
push 1
push edx
push eax
mov ecx, edi
call fcn.004c5b60
test eax, eax
jne 0x4c588a
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x28], ebx
call dword [0x10075f80]
push ebx
push ebx
push 0x20
push 1
push 7
push ebx
push ebx
lea eax, [esp + 0x54]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0xc8]
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x60]
push edx
or eax, 0x100002
push eax
lea ecx, [esp + 0x48]
push ecx
mov dword [esp + 0x6c], 0x18
mov dword [esp + 0x70], ebx
mov dword [esp + 0x78], 0x40
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
call fcn.0048dd00
mov edx, dword [esp + 0x20]
mov dword [esp + 0x28], edx
mov edx, dword [edi + 0xb8]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
push ecx
add edx, 0x48
push edx
mov dword [esp + 0x1c], esi
call fcn.004b38c0
mov eax, dword [esp + 0x18]
push eax
call fcn.0048efc0
lea ecx, [esp + 0x2c]
call fcn.004894f0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esp + 0x18]
push 0xe
push 8
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x64]
push edx
push eax
call fcn.0048e8b0
cmp eax, ebx
mov dword [esp + 0x10], eax
jne 0x4c5a2a
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [esp + 0x24]
push edx
call dword [0x10075f80]
push 1
push 1
lea ecx, [esp + 0x48]
push ecx
lea eax, [esp + 0x2c]
push edi
mov dword [esp + 0x50], 0x18
mov dword [esp + 0x54], ebx
mov dword [esp + 0x5c], 0x40
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
call fcn.004beb00
mov edx, dword [esp + 0x2c]
push edx
lea eax, [esp + 0x84]
push eax
call dword [0x10075f80]
lea edx, [esp + 0xe0]
push edx
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x84]
push eax
mov dword [esp + 0x70], 0x18
mov dword [esp + 0x74], ebx
mov dword [esp + 0x7c], 0x40
mov dword [esp + 0x78], ecx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
call fcn.0048f520
cmp eax, ebx
mov dword [esp + 0x10], eax
jne 0x4c5a2a
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [esp + 0x8c]
push edx
mov dword [esp + 0x30], ebx
call dword [0x10075f80]
push esi
lea eax, [esp + 0x8c]
push edi
mov dword [esp + 0x48], 0x18
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x54], 0x40
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x28], ebx
call fcn.004bfdc0
test eax, eax
je 0x4c59e6
push 8
call fcn.004b1530
add esp, 4
cmp eax, ebx
je 0x4c59d5
mov dword [eax + 4], edi
mov ecx, dword [edi]
mov dword [eax], ecx
mov dword [edi], 1
jmp 0x4c59d7
xor eax, eax
mov edi, eax
lea esi, [esp + 0x20]
call fcn.004ca6a0
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0xa8]
push ebx
push ebx
push 0x60
push 2
push 7
push edx
mov edx, dword [esp + 0xc4]
push ebx
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x60]
push ecx
or edx, 0x100002
push edx
lea eax, [esp + 0x50]
push eax
call fcn.0048dd00
cmp eax, ebx
mov dword [esp + 0x10], eax
lea esi, [esp + 0x20]
je 0x4c5a40
call fcn.004ca6c0
lea ecx, [esp + 0x2c]
call fcn.004894f0
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.004ca6c0
push 0x400000
call fcn.004b1530
mov edx, dword [esp + 0x1c]
add esp, 4
push ebx
lea ecx, [esp + 0x24]
push ecx
mov esi, eax
push 0x400000
push esi
push edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], 0x400000
call dword [0x1005f07c]
test eax, eax
je 0x4c5ab6
jmp 0x4c5a80
mov eax, dword [esp + 0x20]
cmp eax, ebx
jbe 0x4c5ab6
mov edx, dword [esp + 0x28]
push ebx
lea ecx, [esp + 0x3c]
push ecx
push eax
push esi
push edx
call dword [0x1005f0c0]
mov ecx, dword [esp + 0x18]
push ebx
lea eax, [esp + 0x24]
push eax
push 0x400000
push esi
push ecx
call dword [0x1005f07c]
test eax, eax
jne 0x4c5a80
lea ecx, [esp + 0x10]
call fcn.00497cc0
mov ecx, dword [esp + 0x28]
push 0xe
push 8
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x64]
push eax
push ecx
call fcn.0048e150
mov esi, eax
cmp esi, ebx
je 0x4c5af1
lea ecx, [esp + 0x2c]
call fcn.004894f0
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0x18]
push 0xd
push 1
lea edx, [esp + 0x27]
push edx
lea eax, [esp + 0x64]
push eax
push ecx
mov byte [esp + 0x33], 1
call fcn.0048e150
mov edx, dword [esp + 0x18]
push edx
call fcn.0048efc0
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x20], ecx
mov ecx, dword [edi + 0xb8]
lea edx, [esp + 0x38]
mov dword [esp + 0x38], eax
push edx
lea eax, [esp + 0x24]
push eax
add ecx, 0x48
push ecx
call fcn.004b38c0
lea ecx, [esp + 0x2c]
call fcn.004894f0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8