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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
push esi
push edi
mov edi, eax
push 4
lea eax, [esp + 0x10]
push eax
call dword [0x10075f84]
lea ecx, [esp + 0xc]
push ecx
lea edx, [ebp + 8]
push edx
lea eax, [edi + 0x78]
push eax
call fcn.004c9070
test eax, eax
jne 0x4c548f
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4c5481
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 0xc0000008
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
xor esi, esi
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], esi
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x3c], eax
add edi, 0x5c
mov dword [esp + 0x30], esi
mov edx, dword [esp + 0x30]
push edi
lea eax, [esp + 0x38]
mov dword [esp + 0x38], esi
push eax
mov dword [esp + 0x40], 0xfa0
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
call fcn.004ca930
lea eax, [esp + 0x34]
call fcn.004cb4a0
mov ebx, eax
cmp ebx, esi
je 0x4c567a
mov eax, dword [ebp + 8]
and eax, 0xfffffffc
mov dword [esp + 0x14], eax
jmp 0x4c5504
mov ebx, dword [esp + 0x10]
mov esi, dword [0x1005f060]
lea ecx, [esp + 0x34]
mov byte [esp + 0x25], 0
mov dword [esp + 0x20], ecx
call esi
mov edx, dword [esp + 0x3c]
mov edi, eax
cmp edi, edx
jne 0x4c552c
mov byte [esp + 0x25], 0
mov al, 1
jmp 0x4c555e
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x4c5545
push eax
push edi
lea ecx, [esp + 0x44]
push ecx
call dword [0x1005f120]
test eax, eax
je 0x4c5553
push edi
lea eax, [esp + 0x38]
call fcn.00498e00
test al, al
je 0x4c555c
mov byte [esp + 0x25], 1
mov al, 1
jmp 0x4c555e
xor al, al
cmp byte [esp + 0x25], 0
mov edx, dword [ebx + 4]
mov byte [esp + 0x24], al
mov edi, ebx
mov dword [esp + 0x10], edx
je 0x4c55a1
push 0
lea eax, [esp + 0x40]
push eax
call dword [0x1005f124]
mov ecx, dword [esp + 0x40]
test ecx, ecx
jle 0x4c55a1
lea edx, [esp + 0x40]
push edx
call dword [0x1005f1f8]
mov eax, dword [esp + 0x44]
push 0
push 1
push eax
call dword [0x1005f144]
mov edi, dword [edi + 8]
test edi, edi
je 0x4c55b0
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push edi
call edx
lea ebx, [edi + 8]
mov byte [esp + 0x1d], 0
mov dword [esp + 0x18], ebx
call esi
add ebx, 8
mov esi, eax
mov eax, dword [ebx]
cmp esi, eax
jne 0x4c55d2
mov byte [esp + 0x1d], 0
mov al, 1
jmp 0x4c55fe
mov ecx, dword [ebx]
test ecx, ecx
jne 0x4c55e5
push ecx
push esi
push ebx
call dword [0x1005f120]
test eax, eax
je 0x4c55f3
mov eax, dword [esp + 0x18]
push esi
call fcn.00498e00
test al, al
je 0x4c55fc
mov byte [esp + 0x1d], 1
mov al, 1
jmp 0x4c55fe
xor al, al
cmp byte [esp + 0x1d], 0
mov esi, dword [edi + 0x20]
mov byte [esp + 0x1c], al
je 0x4c563c
push 0
push ebx
call dword [0x1005f124]
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0xc]
add eax, 0xc
test edx, edx
jle 0x4c563c
push eax
call dword [0x1005f1f8]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x10]
push 0
push 1
push ecx
call dword [0x1005f144]
mov ecx, dword [esp + 0x14]
mov eax, esi
and eax, 0xfffffffc
cmp ecx, eax
ja 0x4c5665
jb 0x4c5665
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [edi + 0x24]
push eax
mov eax, dword [edi + 0x1c]
push ecx
push edx
push eax
call dword [0x10075f58]
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
cmp dword [esp + 0x10], 0
jne 0x4c5500
xor esi, esi
lea eax, [esp + 0x34]
push eax
call fcn.004b3d60
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x4c56af
mov eax, dword [esp + 0x44]
mov ecx, dword [0x10075e30]
cmp ecx, esi
push eax
je 0x4c56a5
mov edx, dword [ecx + 0x204]
call edx
jmp 0x4c56ab
call dword [0x1005f080]
mov dword [esp + 0x44], esi
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x4c56bf
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10