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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x8c
mov esi, dword [esp + 0xa4]
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x54], 1
movzx edx, byte [esi + 0x10a4]
mov ecx, dword [eax + 0x30b8]
mov dword [esp + 0x3c], edx
mov edx, dword [eax + 0x3248]
mov edi, dword [ecx + 4]
mov ebp, dword [esp + 0x3c]
mov ebx, dword [ecx]
mov dword [esp + 0x34], edx
mov edx, dword [eax + 0x329c]
mov dword [esp + 0x30], edx
mov edx, edi
sar edx, 7
test edx, edx
cmovle edx, dword [esp + 0x54]
test ebp, ebp
mov dword [esp + 0x54], edx
je 0xcf8d62
cmp byte [esi + 0x10a7], 1
movsx edx, byte [esi + 0x10af]
je 0xcf910b
add edx, dword [esp + 0xa8]
mov ebp, 0x3f
cmp edx, 0x3f
cmovg edx, ebp
mov dword [esp + 0x38], edx
test edx, edx
mov edx, 0
cmovns edx, dword [esp + 0x38]
mov dword [esp + 0x70], edx
movsx edx, byte [esi + 0x10b0]
add edx, dword [esp + 0xa8]
cmp edx, 0x3f
cmovg edx, ebp
mov dword [esp + 0x38], edx
test edx, edx
mov edx, 0
cmovns edx, dword [esp + 0x38]
mov dword [esp + 0x74], edx
movsx edx, byte [esi + 0x10b1]
add edx, dword [esp + 0xa8]
cmp edx, 0x3f
cmovg edx, ebp
test edx, edx
mov dword [esp + 0x38], edx
mov edx, 0
cmovns edx, dword [esp + 0x38]
mov dword [esp + 0x78], edx
movsx edx, byte [esi + 0x10b2]
mov esi, 0
add edx, dword [esp + 0xa8]
cmp edx, 0x3f
cmovg edx, ebp
test edx, edx
cmovs edx, esi
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x54]
mov ebp, dword [ecx + 0x18]
mov esi, dword [ecx + 8]
test edx, edx
jle 0xcf9000
mov edx, ebx
sar edx, 4
mov dword [esp + 0x38], edx
sar edi, 5
add edx, 1
imul edx, edi
mov dword [esp + 0x50], 0
imul edx, edx, 0x54
add edx, dword [esp + 0x30]
mov dword [esp + 0x44], edx
mov edx, edi
shl edx, 4
imul edx, esi
add edx, ebp
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x34]
shl edx, 6
mov dword [esp + 0x58], edx
imul edx, dword [esp + 0x38], 0x54
mov dword [esp + 0x5c], edx
nop
lea esi, [esi]
mov edx, dword [esp + 0x38]
test edx, edx
jle 0xcf8fdd
mov esi, dword [esp + 0x58]
xor edi, edi
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
add esi, eax
mov dword [esp + 0x4c], esi
jmp 0xcf8f21
cmp edx, 4
je 0xcf8f2c
xor edx, edx
cmp byte [ebx + 0x11], 0
setne dl
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0xa8]
test edx, edx
je 0xcf8e12
movzx edx, byte [ebx + 0x13]
mov esi, dword [esp + edx*4 + 0x70]
test esi, esi
je 0xcf8f0e
mov edx, dword [eax + 0x32ac]
test edx, edx
jne 0xcf8f40
mov edx, dword [esp + 0x4c]
movzx edx, byte [esi + edx + 0x3f30]
mov dword [esp + 0x40], edx
lea edx, [eax + 0x32b0]
mov dword [esp + 0x20], edx
mov edx, esi
shl edx, 4
add edx, dword [esp + 0x20]
mov dword [esp + 0x60], edx
lea edx, [esi + 0x40]
sub esi, 0xffffff80
shl esi, 4
add esi, dword [esp + 0x20]
shl edx, 4
add edx, dword [esp + 0x20]
mov dword [esp + 0x68], esi
mov esi, dword [esp + 0x40]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x20]
add esi, 0xc0
shl esi, 4
add edx, esi
test edi, edi
mov dword [esp + 0x6c], edx
lea esi, [esp + 0x60]
je 0xcf8ec6
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 0
mov edx, dword [ecx + 8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], edx
mov dword [esp + 4], 0
mov dword [esp], ebp
call dword [eax + 0x4d20]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 0
test edx, edx
mov edx, dword [ecx + 8]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
je 0xcf9090
call dword [eax + 0x4d28]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
add ebp, 0x10
add ebx, 0x54
add edi, 1
cmp edi, dword [esp + 0x38]
je 0xcf8fc5
mov edx, dword [ebx]
cmp edx, 9
jne 0xcf8de5
mov dword [esp + 0x34], 0
jmp 0xcf8dfb
lea edx, [eax + 0x32b0]
test edi, edi
mov dword [esp + 0x20], edx
je 0xcf8f7b
mov edx, esi
shl edx, 4
add edx, dword [esp + 0x20]
mov dword [esp + 8], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov dword [esp], ebp
mov dword [esp + 4], edx
call dword [eax + 0x4d30]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
test edx, edx
je 0xcf9010
shl esi, 4
add ebx, 0x54
add esi, dword [esp + 0x20]
add edi, 1
mov dword [esp + 8], esi
mov edx, dword [ecx + 8]
mov dword [esp], ebp
add ebp, 0x10
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 4], edx
call dword [eax + 0x4d38]
mov ecx, dword [esp + 0x2c]
cmp edi, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
jne 0xcf8f21
mov edx, dword [esp + 0x38]
mov esi, dword [ecx + 8]
mov ebx, dword [ecx]
shl edx, 4
add dword [esp + 0x48], edx
mov edx, dword [esp + 0x5c]
add dword [esp + 0x44], edx
mov edx, esi
shl edx, 4
sub edx, ebx
add dword [esp + 0x50], 1
add dword [esp + 0x48], edx
mov edx, dword [esp + 0x54]
add dword [esp + 0x44], 0x54
cmp dword [esp + 0x50], edx
jne 0xcf8dc0
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
lea edx, [esi + 0x40]
shl edx, 4
add edx, dword [esp + 0x20]
shl esi, 4
mov dword [esp + 0x34], edx
mov dword [esp + 8], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov dword [esp], ebp
mov dword [esp + 4], edx
call dword [eax + 0x4d34]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
add edx, esi
mov dword [esp + 8], edx
mov edx, dword [ecx + 8]
mov dword [esp], ebp
mov dword [esp + 4], edx
call dword [eax + 0x4d38]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
mov dword [esp + 8], esi
mov edx, dword [ecx + 8]
mov dword [esp], ebp
mov dword [esp + 4], edx
call dword [eax + 0x4d3c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
jmp 0xcf8f0e
call dword [eax + 0x4d24]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], 0
mov edx, dword [ecx + 8]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebp
mov dword [esp + 0xc], edx
call dword [eax + 0x4d28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], 0
mov edx, dword [ecx + 8]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebp
mov dword [esp + 0xc], edx
call dword [eax + 0x4d2c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
jmp 0xcf8f0e
mov dword [esp + 0x70], edx
movsx edx, byte [esi + 0x10b0]
mov dword [esp + 0x74], edx
movsx edx, byte [esi + 0x10b1]
mov dword [esp + 0x78], edx
movsx edx, byte [esi + 0x10b2]
mov dword [esp + 0x7c], edx
jmp 0xcf8d62