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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x59a83e
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x114
test eax, eax
push ebx
push ebp
push esi
push edi
mov esi, ecx
jne 0x4cd563
mov eax, dword [esi + 0xb8]
lea edi, [esi + 0x18]
cmp eax, 4
jle 0x4cd3f9
mov ecx, dword [esi + 0xcc]
test ecx, ecx
je 0x4cd5c3
test eax, eax
je 0x4cd5c3
push edi
call fcn.0055efac
mov dword [edi], 0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4cd7b8
lea eax, [esp + 0x90]
mov dword [esp + 0x90], 0x94
push eax
call dword [0x5e9804]
cmp dword [0x603868], 8
jle 0x4cd7b8
cmp dword [esp + 0xa0], 2
jne 0x4cd7b8
lea ecx, [esp + 0x18]
call fcn.0055ad94
mov ebp, dword [0x5e9528]
push 0
mov dword [esp + 0x130], 0
call ebp
push eax
lea ecx, [esp + 0x1c]
call fcn.0055ae4b
mov edx, dword [esi + 0x14]
lea ecx, [esp + 0x78]
push ecx
push 0x18
push edx
call dword [0x5e95b0]
test eax, eax
je 0x4cd5af
mov eax, dword [esp + 0x7c]
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4cd5af
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call dword [0x5e9518]
test eax, eax
mov dword [esp + 0x10], eax
je 0x4cd5af
lea ecx, [esp + 0x34]
call fcn.0055ad94
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
neg eax
sbb eax, eax
mov byte [esp + 0x12c], 1
and eax, edx
push eax
call ebp
push eax
lea ecx, [esp + 0x38]
call fcn.0055ae4b
mov ecx, dword [esp + 0x14]
mov edx, ebx
imul edx, ecx
xor eax, eax
mov dword [esp + 0x50], ecx
push eax
lea ecx, [esp + 0x4c]
push eax
mov dword [esp + 0x68], edx
push ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x54], eax
push eax
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x5c]
mov ebp, 0x20
push edx
push eax
mov dword [esp + 0x64], 0x28
mov dword [esp + 0x6c], ebx
mov word [esp + 0x70], 1
mov word [esp + 0x72], bp
call dword [0x5e95a0]
test eax, eax
mov dword [edi], eax
jne 0x4cd56b
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
push ecx
push edx
call dword [0x5e9518]
jmp 0x4cd59e
lea edi, [esi + 0x1c]
jmp 0x4cd401
push eax
mov eax, dword [esp + 0x3c]
push eax
call dword [0x5e9518]
test eax, eax
mov dword [esp + 0x44], eax
jne 0x4cd5ca
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
push ecx
push edx
call dword [0x5e9518]
mov eax, dword [edi]
push eax
call dword [0x5e9540]
mov dword [edi], 0
lea ecx, [esp + 0x34]
mov byte [esp + 0x12c], 0
call fcn.0055aec9
lea ecx, [esp + 0x18]
mov dword [esp + 0x12c], 0xffffffff
call fcn.0055aec9
xor eax, eax
jmp 0x4cd7bd
cmp dword [esi + 0xb8], ebp
jne 0x4cd5e0
mov eax, dword [0x604228]
test eax, eax
je 0x4cd5e0
or edi, 0xffffffff
jmp 0x4cd5e6
mov edi, dword [esi + 0xa4]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
neg eax
sbb eax, eax
push 0xcc0020
and eax, edx
push 0
push 0
push eax
push ebx
push ebp
push 0
push 0
push ecx
call dword [0x5e9548]
mov eax, dword [esp + 0x134]
test eax, eax
jne 0x4cd67f
lea edx, [esp + 0x34]
lea ecx, [esp + 0x28]
push edx
call fcn.00503890
mov edx, dword [0x603720]
cmp edi, 0xffffffff
mov byte [esp + 0x12c], 2
je 0x4cd641
mov edx, edi
xor ecx, ecx
push 0xffffffffffffffff
push ecx
push edx
mov edx, dword [esi + 0xc4]
xor eax, eax
push edx
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov dword [edx + 4], ecx
lea ecx, [esp + 0x48]
mov dword [edx + 8], ebp
mov dword [edx + 0xc], ebx
call fcn.005038e0
lea ecx, [esp + 0x28]
mov byte [esp + 0x12c], 1
call fcn.005038d0
jmp 0x4cd775
cmp edi, 0xffffffff
jne 0x4cd68f
mov eax, dword [0x603720]
mov dword [esp + 0x30], eax
jmp 0x4cd693
mov dword [esp + 0x30], edi
mov ecx, dword [0x604240]
test ecx, ecx
jne 0x4cd708
mov ecx, dword [0x604244]
test ecx, ecx
jne 0x4cd6e3
push 0xc8
call fcn.00557770
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
mov byte [esp + 0x12c], 3
je 0x4cd6d7
push 0
mov ecx, eax
call fcn.004d0720
mov byte [esp + 0x12c], 1
jmp 0x4cd6e8
xor eax, eax
mov byte [esp + 0x12c], 1
jmp 0x4cd6e8
call fcn.005577dc
mov dword [0x604240], eax
mov dword [eax + 0xc4], 1
mov ecx, dword [0x604240]
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov ecx, dword [0x604240]
mov eax, dword [ecx]
call dword [eax + 0xa4]
cmp dword [0x603868], 8
jg 0x4cd725
mov ecx, dword [0x603724]
mov dword [esp + 0x28], ecx
jmp 0x4cd734
push 0x43
push eax
call fcn.00505610
add esp, 8
mov dword [esp + 0x28], eax
xor edi, edi
test ebp, ebp
jle 0x4cd775
mov ebp, dword [0x5e9628]
xor esi, esi
test ebx, ebx
jle 0x4cd76c
mov edx, dword [esp + 0x38]
push esi
push edi
push edx
call ebp
cmp eax, dword [esp + 0x30]
je 0x4cd767
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
push eax
push esi
push edi
push ecx
call dword [0x5e962c]
inc esi
cmp esi, ebx
jl 0x4cd746
mov eax, dword [esp + 0x14]
inc edi
cmp edi, eax
jl 0x4cd740
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x38]
mov esi, dword [0x5e9518]
push edx
push eax
call esi
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
push ecx
push edx
call esi
lea ecx, [esp + 0x34]
mov byte [esp + 0x12c], 0
call fcn.0055aec9
lea ecx, [esp + 0x18]
mov dword [esp + 0x12c], 0xffffffff
call fcn.0055aec9
mov eax, 1
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x120
ret 4