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

Disassembly:
sub esp, 0x20
cmp dword [esp + 0x58], 0x100
push ebx
push ebp
push esi
push edi
jne 0x43383f
cmp dword [esp + 0x40], 0
je 0x4338f2
mov esi, dword [esp + 0x58]
dec esi
mov dword [esp + 0x18], esi
jmp 0x4335a4
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x48]
mov ecx, dword [esp + 0x34]
dec dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov eax, ebp
sar eax, 0x10
mov edi, eax
imul edi, dword [esp + 0x5c]
add edi, dword [esp + 0x38]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x3c]
and ebp, 0xffff
mov dword [esp + 0x10], ebx
mov edx, ecx
cmp eax, esi
jae 0x43371a
test ecx, ecx
je 0x43381c
mov ecx, dword [esp + 0x54]
dec ecx
mov dword [esp + 0x1c], ecx
jmp 0x4335f7
mov ecx, dword [esp + 0x1c]
mov eax, ebx
sar eax, 0x10
dec edx
mov dword [esp + 0x14], edx
lea esi, [edi + eax*4]
cmp eax, ecx
jae 0x43366f
mov edx, dword [esp + 0x5c]
mov eax, ebx
and eax, 0xffff
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x3c]
add edx, esi
push ecx
mov eax, ebp
call fcn.0042c240
mov ecx, dword [esp + 0x34]
lea eax, [ecx + 1]
imul eax, dword [esp + 0x78]
cdq
and edx, 0xff
add eax, edx
mov edx, dword [esp + 0x38]
sar eax, 8
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x88]
push eax
push ecx
push edx
call fcn.0042c9b0
add esp, 0x2c
jmp 0x4336fc
jne 0x4336fc
mov eax, dword [esp + 0x5c]
movzx ecx, byte [esi + eax + 3]
movzx edx, byte [esi + 3]
imul ecx, ebp
mov ebx, 0x10000
sub ebx, ebp
imul edx, ebx
add ecx, edx
shr ecx, 0x10
lea eax, [ecx + 1]
imul eax, dword [esp + 0x64]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
push eax
mov eax, dword [esp + 0x60]
movzx edx, byte [esi + eax]
push ecx
imul edx, ebp
movzx ecx, byte [esi]
imul ecx, ebx
add ecx, edx
movzx edx, byte [esi + 1]
shr ecx, 0x10
imul edx, ebx
push ecx
movzx ecx, byte [esi + eax + 1]
movzx eax, byte [esi + eax + 2]
imul ecx, ebp
add ecx, edx
imul eax, ebp
mov edx, dword [esp + 0x74]
shr ecx, 0x10
push ecx
movzx ecx, byte [esi + 2]
imul ecx, ebx
add eax, ecx
shr eax, 0x10
push eax
push edx
call fcn.0042c9b0
mov ebx, dword [esp + 0x28]
add esp, 0x18
add ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x14]
add dword [esp + 0x68], 4
mov dword [esp + 0x10], ebx
test edx, edx
jne 0x4335f3
jmp 0x43381c
jne 0x43381c
test ecx, ecx
je 0x43381c
mov eax, dword [esp + 0x54]
mov ecx, ebx
dec edx
sar ecx, 0x10
dec eax
mov dword [esp + 0x14], edx
cmp ecx, eax
jae 0x4337c8
movzx esi, byte [edi + ecx*4 + 7]
movzx eax, byte [edi + ecx*4 + 3]
and ebx, 0xffff
mov ebp, 0x10000
imul esi, ebx
sub ebp, ebx
imul eax, ebp
add esi, eax
shr esi, 0x10
lea eax, [esi + 1]
imul eax, dword [esp + 0x64]
cdq
and edx, 0xff
add eax, edx
movzx edx, byte [edi + ecx*4 + 4]
sar eax, 8
imul edx, ebx
push eax
movzx eax, byte [edi + ecx*4]
imul eax, ebp
add edx, eax
movzx eax, byte [edi + ecx*4 + 1]
shr edx, 0x10
imul eax, ebp
push esi
push edx
movzx edx, byte [edi + ecx*4 + 5]
imul edx, ebx
add edx, eax
movzx eax, byte [edi + ecx*4 + 2]
shr edx, 0x10
imul eax, ebp
push edx
movzx edx, byte [edi + ecx*4 + 6]
mov ecx, dword [esp + 0x78]
imul edx, ebx
add edx, eax
shr edx, 0x10
push edx
push ecx
call fcn.0042c9b0
mov ebx, dword [esp + 0x28]
jmp 0x433800
jne 0x433803
movzx esi, byte [edi + ecx*4 + 3]
lea eax, [esi + 1]
imul eax, dword [esp + 0x64]
cdq
and edx, 0xff
add eax, edx
movzx edx, byte [edi + ecx*4]
sar eax, 8
push eax
movzx eax, byte [edi + ecx*4 + 1]
movzx ecx, byte [edi + ecx*4 + 2]
push esi
push edx
mov edx, dword [esp + 0x74]
push eax
push ecx
push edx
call fcn.0042c9b0
add esp, 0x18
add ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x14]
add dword [esp + 0x68], 4
mov dword [esp + 0x10], ebx
test edx, edx
jne 0x433728
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x50]
add dword [esp + 0x34], eax
add dword [esp + 0x48], ecx
cmp dword [esp + 0x40], 0
jne 0x4335a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
cmp dword [esp + 0x40], 0
je 0x4338f2
lea ebx, [ebx]
mov eax, dword [esp + 0x48]
dec dword [esp + 0x40]
sar eax, 0x10
cmp eax, dword [esp + 0x58]
jae 0x4338d7
imul eax, dword [esp + 0x5c]
add eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x44]
mov ebx, dword [esp + 0x34]
mov esi, eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4338d7
lea esp, [esp]
mov ecx, ebp
dec eax
sar ecx, 0x10
mov dword [esp + 0x68], eax
cmp ecx, dword [esp + 0x54]
jae 0x4338cc
movzx edi, byte [esi + ecx*4 + 3]
lea eax, [edi + 1]
imul eax, dword [esp + 0x64]
cdq
and edx, 0xff
add eax, edx
movzx edx, byte [esi + ecx*4]
sar eax, 8
push eax
movzx eax, byte [esi + ecx*4 + 1]
movzx ecx, byte [esi + ecx*4 + 2]
push edi
push edx
push eax
push ecx
push ebx
call fcn.0042c9b0
mov eax, dword [esp + 0x80]
add esp, 0x18
add ebp, dword [esp + 0x4c]
add ebx, 4
test eax, eax
jne 0x433880
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x50]
add dword [esp + 0x34], edx
add dword [esp + 0x48], eax
cmp dword [esp + 0x40], 0
jne 0x433850
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret