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

Disassembly:
push 0xffffffffffffffff
push 0x529538
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x568fd0]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x568fd0]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x90]
mov ebx, dword [esp + 0x94]
push 2
push 0
mov dword [esp + 0x20], ecx
push 0x55530c
mov ecx, ebx
mov dword [esp + 0x20], eax
call fcn.00478010
mov edi, eax
cmp edi, 0xffffffff
je 0x4c3832
mov eax, dword [esp + 0x98]
test eax, eax
jle 0x4c3839
push 1
lea esi, [edi + 2]
push esi
push 0x537ac8
mov ecx, ebx
call fcn.00478010
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4c3832
push 2
push esi
push 0x55530c
mov ecx, ebx
call fcn.00478010
cmp eax, 0xffffffff
je 0x4c3611
lea ecx, [ecx]
cmp eax, edi
jbe 0x4c3611
cmp eax, ebp
jae 0x4c3611
mov edi, eax
push 2
add eax, 2
push eax
push 0x55530c
mov ecx, ebx
call fcn.00478010
cmp eax, 0xffffffff
jne 0x4c35f0
mov ecx, ebx
call fcn.00404080
mov ecx, eax
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4c3632
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.00403a50
sub ebp, edi
mov dword [esp + 0x1c], ebp
add ebp, 0xfffffffe
push ebp
lea edx, [edi + 2]
xor esi, esi
mov dword [esp + 0x8c], esi
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], esi
mov byte [esp + 0x54], 0
call fcn.00403e00
mov byte [esp + 0x88], 2
cmp dword [esp + 0x40], 0x10
jb 0x4c3698
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00501b8f
add esp, 4
cmp dword [esp + 0x5c], 0x10
mov ecx, dword [esp + 0x48]
mov ebp, 0xf
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], esi
mov byte [esp + 0x2c], 0
jae 0x4c36b9
lea ecx, [esp + 0x48]
mov edx, dword [esp + 0x14]
push edx
call fcn.004c33a0
mov ecx, eax
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], ebp
mov byte [esp + 0x64], 0
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4c36d5
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0x68]
call fcn.00403a50
mov byte [esp + 0x88], 3
cmp dword [esp + 0x5c], 0x10
mov esi, dword [esp + 0x48]
jae 0x4c3700
lea esi, [esp + 0x48]
mov ebp, dword [esp + 0x18]
mov eax, dword [ebp]
test eax, eax
je 0x4c3739
mov ecx, esi
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4c3730
test dl, dl
je 0x4c372c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4c3730
add eax, 2
add ecx, 2
test dl, dl
jne 0x4c3710
xor eax, eax
jmp 0x4c3735
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4c374a
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x4c375a
push esi
call fcn.004c34e0
test al, al
je 0x4c375a
push 0
push 0x5379d8
lea ecx, [esp + 0x68]
call fcn.00403a50
sub dword [esp + 0x98], 1
js 0x4c37a1
cmp dword [esp + 0x5c], 0x10
mov eax, dword [esp + 0x48]
jae 0x4c3773
lea eax, [esp + 0x48]
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x68]
push edx
push eax
mov dword [esp + 0x34], ebp
call fcn.004c3540
add esp, 0x10
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0x1c]
inc ecx
push ecx
push edi
mov ecx, ebx
call fcn.00403b70
mov eax, dword [esp + 0x64]
mov esi, 0x10
cmp dword [esp + 0x78], esi
jae 0x4c37c2
lea eax, [esp + 0x64]
mov edx, dword [esp + 0x74]
push edx
push eax
mov eax, edi
mov ecx, ebx
call fcn.004c3a60
push 2
push 0
push 0x55530c
mov ecx, ebx
call fcn.00478010
mov edi, eax
cmp dword [esp + 0x78], esi
jb 0x4c37f6
mov eax, dword [esp + 0x64]
push eax
call fcn.00501b8f
add esp, 4
mov dword [esp + 0x88], 0xffffffff
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], 0
mov byte [esp + 0x64], 0
cmp dword [esp + 0x5c], esi
jb 0x4c3829
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00501b8f
add esp, 4
cmp edi, 0xffffffff
jne 0x4c35ad
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00501b9a
add esp, 0x78
ret