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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c5908
sub esp, 0x60
xor ebx, ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x64]
mov dword [esp], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 0xc], ebx
mov eax, 0x6b4280
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov eax, 0x6b4280
mov dword [esp + 0x58], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0
mov ebx, 0x5f6c39
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 4
call fcn.004bef60
mov edx, dword [esp + 0x74]
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x4c], edi
xor eax, eax
mov dword [esp + 0x3c], eax
cmp eax, 2
jge 0x4c57d5
xor ebp, ebp
cmp edx, ebp
jne 0x4c58f7
mov dword [esp + 0x44], esi
mov dword [esp], esi
mov dword [esp + 0x48], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
call fcn.004c5920
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
movzx ebx, byte [esp + 0xc]
cmp bl, 0
je 0x4c581c
cmp ecx, 0
jne 0x4c5740
mov dword [esp], esi
call fcn.004b9120
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x64]
mov dword [esp], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 0xc], ebx
mov eax, 0x6b4280
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov eax, 0x6b4280
mov dword [esp + 0x58], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0
mov ebx, 0x5f6c39
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 4
call fcn.004bef60
mov edx, dword [esp + 0x74]
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x4c], edi
mov eax, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x3c], eax
cmp eax, 2
jl 0x4c56fb
mov dword [esp + 0x48], ecx
cmp ecx, 0
je 0x4c57f8
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edi
add esp, 0x60
ret
mov dword [esp], esi
call fcn.004c5060
mov ebx, dword [esp + 4]
mov dword [esp + 0x7c], ebx
xor ebx, ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
add esp, 0x60
ret
mov eax, dword [esp + 0x4c]
mov ebx, ecx
xor ebp, ebp
cmp ecx, ebp
je 0x4c582b
mov ebx, dword [ebx + 4]
mov ebp, 0x5d6d80
cmp ebx, ebp
jne 0x4c58ee
mov ebp, eax
mov edx, 1
cmp dl, 0
je 0x4c5853
cmp ebp, 0
je 0x4c58e6
mov ecx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x24]
mov ebx, ecx
xor ebp, ebp
cmp ecx, ebp
je 0x4c585e
mov ebx, dword [ebx + 4]
mov ebp, 0x5c9f00
cmp ebx, ebp
jne 0x4c58e0
mov ebp, eax
mov edx, 1
cmp dl, 0
je 0x4c587e
cmp ebp, 0
je 0x4c58db
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [esp], 0x5d6120
mov dword [esp + 0x50], ecx
mov dword [esp + 4], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 8], eax
lea ebx, [esp + 0x40]
mov dword [esp + 0xc], ebx
call fcn.0040c910
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x4c58d7
mov ebx, dword [esp + 0x40]
cmp ebx, 0x20000003
jne 0x4c58d7
mov eax, 1
cmp al, 0
je 0x4c57d5
jmp 0x4c5733
xor eax, eax
jmp 0x4c58c9
mov dword [ebp], eax
jmp 0x4c5878
xor ebp, ebp
xor edx, edx
jmp 0x4c586e
mov dword [ebp], eax
jmp 0x4c584d
xor ebp, ebp
xor edx, edx
jmp 0x4c583f
mov ebp, dword [edx + 0xc]
cmp ebp, 0
jne 0x4c57d5
jmp 0x4c5705
call fcn.004518d0
jmp fcn.004c5640