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

Disassembly:
push 0xffffffffffffffff
push 0x523036
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
mov eax, dword [0x57373c]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0xb4]
lea edx, [esp + 0x30]
mov eax, 0x14
mov dword [esp + 0x10], ecx
mov ecx, dword [0x57ce98]
push edx
mov dword [esp + 0xa4], 0
mov dword [esp + 0x68], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0x15e
call fcn.004b28b0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xa4], 1
call fcn.004f34f7
lea ecx, [esp + 0x30]
mov byte [esp + 0xa0], 0
call fcn.004f33be
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0xac]
mov edi, dword [esp + 0xa8]
push 0x8c
push eax
push ecx
push 0
push ebx
push edi
mov ecx, esi
call fcn.004c4a20
push edi
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.004cbde0
mov edx, dword [0x57373c]
mov ebp, eax
mov dword [esp + 0x7c], edx
mov ecx, dword [0x57ce98]
lea eax, [esp + 0x78]
push eax
add ecx, 0x996
mov byte [esp + 0xa4], 2
call fcn.004b88a0
lea edx, [esp + 0x7c]
lea ecx, [esp + 0x14]
push edx
call fcn.004f34f7
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push 0x78
push eax
push ecx
push 0x14
push ebx
push edi
mov ecx, esi
call fcn.004c4a20
lea edx, [esp + 0x10]
push ebp
push edx
mov ecx, esi
mov dword [esp + 0x18], eax
call fcn.004cbdb0
push edi
mov ecx, esi
call fcn.004cbde0
mov cl, byte [esp + 0x37]
add eax, 6
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
xor eax, eax
mov byte [esp + 0x18], cl
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov ecx, dword [0x57ce98]
lea edx, [esp + 0x68]
push edx
mov byte [esp + 0xa4], 3
call fcn.004b3650
mov ebp, eax
lea eax, [esp + 0x18]
mov byte [esp + 0xa0], 4
cmp eax, ebp
je 0x4cf1b7
mov edx, dword [ebp + 4]
test edx, edx
jne 0x4cf082
xor eax, eax
jmp 0x4cf08a
mov eax, dword [ebp + 8]
sub eax, edx
sar eax, 2
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x4cf096
xor ecx, ecx
jmp 0x4cf0a1
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x1c]
sar ecx, 2
cmp eax, ecx
ja 0x4cf0f7
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp + 8]
push ecx
push eax
push edx
call fcn.004d0470
mov edx, dword [esp + 0x2c]
add esp, 0xc
lea ecx, [esp + 0x18]
push edx
push eax
call fcn.004b4dc0
mov eax, dword [ebp + 4]
test eax, eax
jne 0x4cf0df
mov eax, dword [esp + 0x1c]
xor ebp, ebp
lea ecx, [eax + ebp*4]
mov dword [esp + 0x20], ecx
jmp 0x4cf1b7
mov ebp, dword [ebp + 8]
sub ebp, eax
mov eax, dword [esp + 0x1c]
sar ebp, 2
lea ecx, [eax + ebp*4]
mov dword [esp + 0x20], ecx
jmp 0x4cf1b7
mov ecx, ebp
call fcn.004d01c0
lea ecx, [esp + 0x18]
mov ebx, eax
call fcn.004d01a0
cmp ebx, eax
ja 0x4cf155
mov ebx, dword [ebp + 4]
lea ecx, [esp + 0x18]
call fcn.004d01c0
mov edx, dword [esp + 0x1c]
lea ebx, [ebx + eax*4]
mov eax, dword [ebp + 4]
push edx
push ebx
push eax
call fcn.004d0470
mov ecx, dword [esp + 0x2c]
mov eax, dword [ebp + 8]
add esp, 0xc
push ecx
push eax
push ebx
lea ecx, [esp + 0x24]
call fcn.004b4490
mov ecx, ebp
call fcn.004d01c0
mov edx, dword [esp + 0x1c]
lea eax, [edx + eax*4]
mov dword [esp + 0x20], eax
jmp 0x4cf1b0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.004b4dc0
mov eax, dword [esp + 0x1c]
push eax
call fcn.004f3128
add esp, 4
mov ecx, ebp
call fcn.004d01c0
test eax, eax
jge 0x4cf182
xor eax, eax
lea ecx, [eax*4]
push ecx
call fcn.004f30ff
add esp, 4
mov dword [esp + 0x1c], eax
mov ecx, dword [ebp + 8]
mov ebp, dword [ebp + 4]
push eax
push ecx
push ebp
lea ecx, [esp + 0x24]
call fcn.004b4490
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov ebx, dword [esp + 0xac]
mov edx, dword [esp + 0x6c]
mov byte [esp + 0xa0], 3
push edx
call fcn.004f3128
mov eax, dword [esp + 0xb4]
add esp, 4
test eax, eax
mov dword [esp + 0x40], 0xffffffff
jne 0x4cf238
mov eax, dword [0x57ce98]
lea ecx, [eax + 0x764]
call fcn.004b8900
mov ecx, dword [0x57ce98]
mov ebp, eax
add ecx, 0x850
call fcn.004b8900
mov edx, dword [0x57ce98]
mov dword [esp + 0x40], eax
lea ecx, [edx + 0x996]
call fcn.004b8900
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x8e]
mov dword [esp + 0x2c], 1
mov dword [esp + 0x28], 3
cmp word [eax + 0x2c], 2
jmp 0x4cf2a5
mov ecx, dword [0x57ce98]
add ecx, 0x95a
call fcn.004b8900
mov edx, dword [0x57ce98]
mov ebp, eax
lea ecx, [edx + 0x996]
call fcn.004b8900
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x8e]
cmp word [eax + 0x2c], 2
jne 0x4cf281
mov ecx, dword [esp + 0xb0]
lea eax, [ecx + ecx + 1]
mov dword [esp + 0x2c], eax
add eax, 2
jmp 0x4cf292
mov eax, dword [esp + 0xb0]
lea eax, [eax + eax*2]
mov dword [esp + 0x2c], eax
add eax, 3
mov dword [esp + 0x28], eax
mov eax, 9
cmp dword [esp + 0x28], eax
jle 0x4cf2a5
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], ebp
cmp ebp, eax
jg 0x4cf411
mov edx, dword [esi + 0x8e]
cmp word [edx + 0x2c], 2
jne 0x4cf323
mov eax, dword [esp + 0x40]
cmp ebp, eax
jne 0x4cf323
test eax, eax
jle 0x4cf323
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.004cbdb0
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x68]
push edx
push 0x1f4
push eax
mov ecx, edi
call fcn.004fb275
mov ecx, dword [esp + 0x10]
push ecx
push 0x1f4
mov ecx, edi
call fcn.004fb2c1
mov edx, dword [esp + 0x30]
mov eax, 0x208
mov dword [esp + 0x10], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 0x352
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x57ce98]
mov eax, dword [eax + ebp*4]
lea edx, [ecx + 0x850]
cmp eax, edx
jne 0x4cf3a9
mov eax, dword [esi + 0x8e]
cmp word [eax + 0x2c], 2
jne 0x4cf355
lea ecx, [esp + 0x10]
push 0xfffffffffffffff6
push ecx
mov ecx, esi
call fcn.004cbdb0
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x50]
push edx
mov ecx, dword [eax + ebp*4]
call fcn.004b8810
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xa4], 5
call fcn.004f34f7
lea ecx, [esp + 0x50]
mov byte [esp + 0xa0], 3
call fcn.004f33be
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x64]
push 0x78
push ecx
push edx
push eax
push ebx
push edi
mov ecx, esi
call fcn.004c4a20
mov dword [esp + 0x10], eax
jmp 0x4cf400
add ecx, 0x95a
cmp eax, ecx
je 0x4cf400
push 0
push 0x566d98
push 0x566a88
push 0
push eax
call fcn.004de52c
add esp, 0x14
test eax, eax
je 0x4cf471
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov eax, ebp
cmp eax, ecx
jge 0x4cf3fc
mov edx, dword [esp + 0x10]
push ebp
push edx
push ebx
push edi
mov ecx, esi
call fcn.004cf530
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
inc ebp
cmp ebp, eax
jl 0x4cf3e0
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
inc ebp
cmp ebp, eax
mov dword [esp + 0x38], ebp
jle 0x4cf2b5
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
push ecx
call fcn.004f3128
xor eax, eax
add esp, 4
lea ecx, [esp + 0x7c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov byte [esp + 0xa0], al
call fcn.004f33be
lea ecx, [esp + 0x14]
mov dword [esp + 0xa0], 0xffffffff
call fcn.004f33be
mov ecx, dword [esp + 0x98]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x94
ret 0x10
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x4c]
push eax
mov ecx, dword [ecx + ebp*4]
call fcn.004b8810
mov eax, dword [eax]
mov edx, dword [esp + 0x10]
push 0
push 0
push eax
mov eax, dword [esp + 0x50]
push edx
push eax
push ebx
push edi
mov ecx, esi
mov byte [esp + 0xbc], 6
call fcn.004cbf50
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa0], 3
call fcn.004f33be
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + ebp*4]
mov edx, dword [ecx]
call dword [edx + 0x24]
test eax, eax
je 0x4cf4fb
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + ebp*4]
lea eax, [esp + 0x54]
push eax
mov edx, dword [ecx]
call dword [edx + 0x14]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xa4], 7
call fcn.004f34f7
lea ecx, [esp + 0x54]
mov byte [esp + 0xa0], 3
call fcn.004f33be
jmp 0x4cf509
push str.______________
lea ecx, [esp + 0x18]
call fcn.004f3547
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
push 0
push 1
push ecx
push edx
push eax
push ebx
push edi
mov ecx, esi
call fcn.004cbf50
mov dword [esp + 0x10], eax
jmp 0x4cf400