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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x18]
xor eax, eax
mov dword [ebp - 0xc], eax
test ebx, ebx
je 0x4cf96c
mov eax, 1
dec eax
test ebx, ebx
je 0x4cf953
cmp eax, dword [ebx - 4]
jb 0x4cf958
call fcn.00403a70
inc eax
movzx eax, byte [ebx + eax - 1]
cmp al, byte [str.1.1.2]
jne 0x4cf96c
cmp dword [ebp + 8], 0x38
je 0x4cf976
mov eax, 0xfffffffa
jmp 0x4cfba5
lea eax, [esi + 0x18]
call fcn.00404b08
cmp dword [esi + 0x20], 0
jne 0x4cf990
mov dword [esi + 0x20], 0x4cf790
xor eax, eax
mov dword [esi + 0x28], eax
cmp dword [esi + 0x24], 0
jne 0x4cf99d
mov dword [esi + 0x24], 0x4cf788
cmp dword [ebp - 4], 0xffffffff
jne 0x4cf9aa
mov dword [ebp - 4], 6
test edi, edi
jge 0x4cf9b7
mov dword [ebp - 0xc], 1
neg edi
cmp dword [ebp + 0x14], 1
jl 0x4cf9eb
cmp dword [ebp + 0x14], 9
jg 0x4cf9eb
cmp dword [ebp - 8], 8
jne 0x4cf9eb
cmp edi, 8
jl 0x4cf9eb
cmp edi, 0xf
jg 0x4cf9eb
cmp dword [ebp - 4], 0
jl 0x4cf9eb
cmp dword [ebp - 4], 9
jg 0x4cf9eb
cmp dword [ebp + 0x10], 0
jl 0x4cf9eb
cmp dword [ebp + 0x10], 2
jle 0x4cf9f5
mov eax, 0xfffffffe
jmp 0x4cfba5
mov eax, esi
mov ecx, 0x16bc
mov edx, 1
call fcn.004cf7c4
mov ebx, eax
test ebx, ebx
jne 0x4cfa16
mov eax, 0xfffffffc
jmp 0x4cfba5
mov dword [esi + 0x1c], ebx
mov dword [ebx], esi
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x18], eax
mov eax, edi
test eax, eax
jns 0x4cfa2c
call fcn.00403a70
mov dword [ebx + 0x28], eax
mov ecx, eax
mov edx, 1
shl edx, cl
mov dword [ebx + 0x24], edx
sub edx, 1
jae 0x4cfa45
call fcn.00403a78
mov dword [ebx + 0x2c], edx
mov eax, dword [ebp + 0x14]
add eax, 7
jno 0x4cfa55
call fcn.00403a78
test eax, eax
jns 0x4cfa5e
call fcn.00403a70
mov dword [ebx + 0x48], eax
mov ecx, eax
mov edx, 1
shl edx, cl
mov dword [ebx + 0x44], edx
sub edx, 1
jae 0x4cfa77
call fcn.00403a78
mov dword [ebx + 0x4c], edx
mov eax, dword [ebx + 0x48]
add eax, 3
jae 0x4cfa87
call fcn.00403a78
sub eax, 1
jae 0x4cfa91
call fcn.00403a78
mov ecx, 3
xor edx, edx
div ecx
mov dword [ebx + 0x50], eax
mov eax, esi
mov ecx, 2
mov edx, dword [ebx + 0x24]
call fcn.004cf7c4
mov dword [ebx + 0x30], eax
mov eax, esi
mov ecx, 2
mov edx, dword [ebx + 0x24]
call fcn.004cf7c4
mov dword [ebx + 0x38], eax
mov eax, esi
mov ecx, 2
mov edx, dword [ebx + 0x44]
call fcn.004cf7c4
mov dword [ebx + 0x3c], eax
mov ecx, dword [ebp + 0x14]
add ecx, 6
jno 0x4cfae0
call fcn.00403a78
mov edi, 1
shl edi, cl
mov dword [ebx + 0x1690], edi
mov eax, esi
mov ecx, 4
mov edx, edi
call fcn.004cf7c4
mov dword [ebx + 8], eax
imul edx, dword [ebx + 0x1690], 4
jno 0x4cfb0c
call fcn.00403a78
mov dword [ebx + 0xc], edx
cmp dword [ebx + 0x30], 0
je 0x4cfb27
cmp dword [ebx + 0x38], 0
je 0x4cfb27
cmp dword [ebx + 0x3c], 0
je 0x4cfb27
cmp dword [ebx + 8], 0
jne 0x4cfb42
lea eax, [esi + 0x18]
mov edx, 0x50e06c
call fcn.00404d6c
mov eax, esi
call fcn.004d0008
mov eax, 0xfffffffc
jmp 0x4cfba5
mov edx, dword [ebx + 0x1690]
shr edx, 1
cmp edx, 0x3ffffffe
jbe 0x4cfb57
call fcn.00403a70
lea eax, [eax + edx*2]
mov dword [ebx + 0x1698], eax
mov eax, dword [ebx + 0x1690]
mov edx, 3
mul edx
jae 0x4cfb74
call fcn.00403a78
cmp eax, 0x7ffffffe
jbe 0x4cfb80
call fcn.00403a70
mov edx, dword [ebx + 8]
lea eax, [edx + eax]
mov dword [ebx + 0x168c], eax
mov eax, dword [ebp - 4]
mov dword [ebx + 0x78], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x7c], eax
mov eax, dword [ebp - 8]
mov byte [ebx + 0x1d], al
mov eax, esi
call fcn.004cfbd8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14