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

Disassembly:
push ebp
push edi
xor edi, edi
push esi
xor esi, esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x7c]
or eax, dword [esp + 0x78]
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0x88]
or eax, edx
or eax, ebx
xor ebx, ebx
sub ebp, 0xf
and eax, 0xf
test ebp, ebp
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ebp
jle 0x83c7a1
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x84]
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x34], 0
sub eax, 7
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x80]
sub edx, 0xf
shl ebp, 4
mov dword [esp + 0x2c], edx
mov dword [esp + 0x44], ebp
shl eax, 4
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x18], ebx
sub eax, 0x10
and eax, 0xfffffff0
add eax, 0x10
mov dword [esp + 0x4c], eax
mov dword [esp + 0x1c], esi
lea esi, [esi]
mov ecx, dword [esp + 0x3c]
xor esi, esi
test ecx, ecx
jne 0x83c70a
mov edx, dword [esp + 0x2c]
test edx, edx
jle 0x83c9c8
mov edi, dword [esp + 0x74]
xor ebx, ebx
mov esi, dword [esp + 0x7c]
mov ebp, dword [esp + 0x80]
add edi, dword [esp + 0x30]
add esi, dword [esp + 0x34]
nop
mov edx, dword [esp + 0x78]
mov dword [esp + 8], esi
mov dword [esp], edi
mov dword [esp + 0xc], ebp
mov dword [esp + 4], edx
mov edx, dword [esp + 0x70]
call dword [edx + 0x1c]
mov edx, eax
sar edx, 0x1f
add dword [esp + 0x18], eax
adc dword [esp + 0x1c], edx
add ebx, 0x10
add edi, 0x10
add esi, 0x10
cmp ebx, dword [esp + 0x2c]
jl 0x83c6d0
mov esi, dword [esp + 0x4c]
cmp esi, dword [esp + 0x28]
jge 0x83c766
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x80]
add ebp, esi
lea edi, [esi + edi]
add ebp, dword [esp + 0x74]
add edi, dword [esp + 0x7c]
lea esi, [esi]
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x70]
mov dword [esp + 8], edi
mov dword [esp], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 4], eax
call dword [edx + 0x24]
mov edx, eax
sar edx, 0x1f
add dword [esp + 0x18], eax
adc dword [esp + 0x1c], edx
add esi, 8
add ebp, 8
add edi, 8
cmp esi, dword [esp + 0x28]
jl 0x83c730
add dword [esp + 0x38], 0x10
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
add dword [esp + 0x30], ebx
add dword [esp + 0x34], ebp
cmp dword [esp + 0x38], eax
jl 0x83c6a0
mov eax, dword [esp + 0x88]
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
sub eax, 0x10
and eax, 0xfffffff0
lea edi, [eax + 0x10]
mov eax, dword [esp + 0x88]
sub eax, 7
cmp eax, edi
jle 0x83c84b
mov edx, dword [esp + 0x84]
sub edx, 7
test edx, edx
mov dword [esp + 0x28], edx
jle 0x83c84b
mov ebp, dword [esp + 0x78]
mov edx, ebx
xor ecx, ecx
mov ebx, dword [esp + 0x70]
mov eax, ecx
mov ecx, esi
mov esi, eax
imul ebp, edi
imul edi, dword [esp + 0x80]
add ebp, dword [esp + 0x74]
add edi, dword [esp + 0x7c]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x78]
mov eax, dword [esp + 0x80]
mov dword [esp + 8], edi
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
call dword [ebx + 0x28]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov ebx, eax
sar ebx, 0x1f
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
add edx, dword [esp + 0x18]
adc ecx, dword [esp + 0x1c]
add esi, 8
add ebp, 8
add edi, 8
cmp esi, dword [esp + 0x28]
jl 0x83c7f2
mov ebx, edx
mov esi, ecx
test byte [esp + 0x84], 7
je 0x83c904
mov ebp, dword [esp + 0x88]
and ebp, 0xfffffff8
mov dword [esp + 0x34], ebp
jle 0x83c904
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x74]
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x24], 0
and eax, 0xfffffff8
add edx, eax
add ebp, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ebp
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x84], eax
jle 0x83c8e2
mov edi, dword [esp + 0x2c]
mov edx, eax
mov ecx, dword [esp + 0x28]
nop
movzx ebp, byte [edi]
movzx eax, byte [ecx]
sub eax, ebp
imul eax, eax
mov ebp, eax
sar ebp, 0x1f
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebp
add ebx, dword [esp + 0x18]
adc esi, dword [esp + 0x1c]
add edx, 1
add ecx, 1
add edi, 1
cmp dword [esp + 0x84], edx
jg 0x83c8b0
add dword [esp + 0x24], 1
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x80]
mov ebp, dword [esp + 0x34]
add dword [esp + 0x28], eax
add dword [esp + 0x2c], edx
cmp dword [esp + 0x24], ebp
jne 0x83c897
test byte [esp + 0x88], 7
je 0x83c9bc
mov eax, dword [esp + 0x88]
and eax, 0xfffffff8
cmp dword [esp + 0x88], eax
mov dword [esp + 0x24], eax
jle 0x83c9bc
imul eax, dword [esp + 0x78]
add eax, dword [esp + 0x74]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
imul eax, dword [esp + 0x80]
add eax, dword [esp + 0x7c]
mov dword [esp + 0x2c], eax
nop
mov eax, dword [esp + 0x84]
test eax, eax
jle 0x83c997
mov edi, dword [esp + 0x2c]
xor edx, edx
mov ecx, dword [esp + 0x28]
movzx ebp, byte [edi]
movzx eax, byte [ecx]
sub eax, ebp
imul eax, eax
mov ebp, eax
sar ebp, 0x1f
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebp
add ebx, dword [esp + 0x18]
adc esi, dword [esp + 0x1c]
add edx, 1
add ecx, 1
add edi, 1
cmp edx, dword [esp + 0x84]
jne 0x83c965
add dword [esp + 0x24], 1
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x80]
mov ebp, dword [esp + 0x24]
add dword [esp + 0x28], eax
add dword [esp + 0x2c], edx
cmp dword [esp + 0x88], ebp
jg 0x83c950
add esp, 0x5c
mov eax, ebx
mov edx, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [esp + 0x3c]
jmp 0x83c70a