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

Disassembly:
sub esp, 0x34
cmp dword [esp + 0x6c], 0x100
push ebx
push ebp
push esi
push edi
jne 0x42feb4
cmp dword [esp + 0x54], 0
je 0x42ffbf
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x48]
mov edi, dword [esp + 0x78]
dec eax
add ecx, 2
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
jmp 0x42fb10
mov eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x28]
dec dword [esp + 0x54]
mov esi, dword [esp + 0x58]
mov edx, dword [esp + 0x50]
mov ecx, eax
sar ecx, 0x10
mov ebp, ecx
imul ebp, dword [esp + 0x70]
add ebp, dword [esp + 0x4c]
and eax, 0xffff
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
cmp ecx, ebx
jae 0x42fd0d
test edx, edx
je 0x42fe91
mov ebx, dword [esp + 0x24]
lea esp, [esp]
mov edx, dword [esp + 0x68]
dec dword [esp + 0x14]
mov ecx, esi
sar ecx, 0x10
dec edx
lea esi, [ebp + ecx*4]
cmp ecx, edx
jae 0x42fc09
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x70]
and ecx, 0xffff
push ecx
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x44]
add edx, esi
push ecx
call fcn.0042c240
mov edx, dword [esp + 0x40]
movzx ecx, byte [ebx - 2]
imul edx, edi
mov eax, 0x100
sub eax, edi
shl eax, 8
add edx, eax
imul edx, ecx
movzx ecx, byte [ebx - 1]
sar edx, 0x10
mov byte [ebx - 2], dl
mov edx, dword [esp + 0x44]
imul edx, edi
add edx, eax
imul edx, ecx
movzx ecx, byte [ebx]
sar edx, 0x10
mov byte [ebx - 1], dl
mov edx, dword [esp + 0x48]
imul edx, edi
add edx, eax
imul edx, ecx
sar edx, 0x10
mov byte [ebx], dl
mov edx, dword [esp + 0x4c]
imul edx, edi
add edx, eax
movzx eax, byte [ebx + 1]
imul edx, eax
add esp, 0x14
sar edx, 0x10
jmp 0x42fce7
jne 0x42fcee
mov edx, 0x100
sub edx, edi
shl edx, 8
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x70]
movzx edx, byte [esi + edx + 3]
imul edx, eax
mov ecx, 0x10000
sub ecx, eax
movzx eax, byte [esi + 3]
imul eax, ecx
add edx, eax
movzx eax, byte [ebx + 1]
shr edx, 0x10
imul edx, edi
add edx, dword [esp + 0x20]
imul edx, eax
sar edx, 0x10
mov byte [esp + 0x10], dl
mov edx, dword [esp + 0x70]
movzx eax, byte [esi + edx + 1]
imul eax, dword [esp + 0x1c]
movzx edx, byte [esi + 1]
imul edx, ecx
add eax, edx
movzx edx, byte [ebx - 1]
shr eax, 0x10
imul eax, edi
add eax, dword [esp + 0x20]
imul eax, edx
sar eax, 0x10
mov byte [esp + 0x7c], al
mov eax, dword [esp + 0x70]
movzx edx, byte [esi + eax + 2]
imul edx, dword [esp + 0x1c]
movzx eax, byte [esi + 2]
imul eax, ecx
add edx, eax
movzx eax, byte [ebx]
shr edx, 0x10
imul edx, edi
add edx, dword [esp + 0x20]
imul edx, eax
movzx eax, byte [esi]
imul eax, ecx
mov ecx, dword [esp + 0x70]
movzx ecx, byte [esi + ecx]
imul ecx, dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
add eax, ecx
movzx ecx, byte [ebx - 2]
shr eax, 0x10
imul eax, edi
add eax, dword [esp + 0x20]
sar edx, 0x10
imul eax, ecx
mov cl, byte [esp + 0x7c]
sar eax, 0x10
mov byte [ebx], dl
mov dl, byte [esp + 0x10]
mov byte [ebx - 2], al
mov byte [ebx - 1], cl
mov eax, dword [esp + 0x1c]
mov byte [ebx + 1], dl
mov esi, dword [esp + 0x18]
add esi, dword [esp + 0x60]
add ebx, 4
cmp dword [esp + 0x14], 0
mov dword [esp + 0x18], esi
jne 0x42fb60
jmp 0x42fe91
jne 0x42fe91
test edx, edx
je 0x42fe91
mov eax, dword [esp + 0x24]
nop
mov edx, dword [esp + 0x68]
dec dword [esp + 0x14]
mov ecx, esi
sar ecx, 0x10
dec edx
cmp ecx, edx
jae 0x42fe01
mov ebx, 0x100
sub ebx, edi
shl ebx, 8
mov dword [esp + 0x20], ebx
movzx ebx, byte [ebp + ecx*4 + 7]
mov edx, esi
and edx, 0xffff
imul ebx, edx
mov dword [esp + 0x1c], edx
mov esi, 0x10000
sub esi, edx
movzx edx, byte [ebp + ecx*4 + 3]
imul edx, esi
add ebx, edx
movzx edx, byte [eax + 1]
shr ebx, 0x10
imul ebx, edi
add ebx, dword [esp + 0x20]
imul ebx, edx
movzx edx, byte [ebp + ecx*4 + 5]
imul edx, dword [esp + 0x1c]
sar ebx, 0x10
mov byte [esp + 0x10], bl
movzx ebx, byte [ebp + ecx*4 + 1]
imul ebx, esi
add edx, ebx
movzx ebx, byte [eax - 1]
shr edx, 0x10
imul edx, edi
add edx, dword [esp + 0x20]
imul edx, ebx
movzx ebx, byte [ebp + ecx*4 + 2]
sar edx, 0x10
imul ebx, esi
mov byte [esp + 0x7c], dl
movzx edx, byte [ebp + ecx*4 + 6]
imul edx, dword [esp + 0x1c]
add edx, ebx
movzx ebx, byte [eax]
shr edx, 0x10
imul edx, edi
add edx, dword [esp + 0x20]
imul edx, ebx
movzx ebx, byte [ebp + ecx*4 + 4]
movzx ecx, byte [ebp + ecx*4]
imul ebx, dword [esp + 0x1c]
imul ecx, esi
add ebx, ecx
movzx ecx, byte [eax - 2]
shr ebx, 0x10
imul ebx, edi
add ebx, dword [esp + 0x20]
sar edx, 0x10
imul ebx, ecx
sar ebx, 0x10
mov byte [eax - 2], bl
jmp 0x42fe67
jne 0x42fe77
movzx edx, byte [ebp + ecx*4 + 3]
movzx ebx, byte [eax + 1]
imul edx, edi
mov esi, 0x100
sub esi, edi
shl esi, 8
add edx, esi
imul edx, ebx
movzx ebx, byte [eax - 1]
sar edx, 0x10
mov byte [esp + 0x10], dl
movzx edx, byte [ebp + ecx*4 + 1]
imul edx, edi
add edx, esi
imul edx, ebx
movzx ebx, byte [eax]
sar edx, 0x10
mov byte [esp + 0x7c], dl
movzx edx, byte [ebp + ecx*4 + 2]
movzx ecx, byte [ebp + ecx*4]
imul edx, edi
imul ecx, edi
add edx, esi
add ecx, esi
imul edx, ebx
movzx esi, byte [eax - 2]
imul ecx, esi
sar edx, 0x10
sar ecx, 0x10
mov byte [eax - 2], cl
mov cl, byte [esp + 0x7c]
mov byte [eax], dl
mov dl, byte [esp + 0x10]
mov byte [eax + 1], dl
mov byte [eax - 1], cl
mov esi, dword [esp + 0x18]
add esi, dword [esp + 0x60]
add eax, 4
cmp dword [esp + 0x14], 0
mov dword [esp + 0x18], esi
jne 0x42fd20
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x64]
add dword [esp + 0x24], eax
add dword [esp + 0x5c], ecx
cmp dword [esp + 0x54], 0
jne 0x42fb10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
cmp dword [esp + 0x54], 0
je 0x42ffbf
mov eax, dword [esp + 0x48]
mov ebp, dword [esp + 0x78]
mov ecx, dword [esp + 0x50]
add eax, 2
mov dword [esp + 0x20], eax
mov edi, dword [esp + 0x5c]
dec dword [esp + 0x54]
sar edi, 0x10
cmp edi, dword [esp + 0x6c]
jae 0x42ffa4
imul edi, dword [esp + 0x70]
mov esi, dword [esp + 0x58]
add edi, dword [esp + 0x4c]
mov dword [esp + 0x24], esi
test ecx, ecx
je 0x42ffa4
dec ecx
sar esi, 0x10
mov dword [esp + 0x40], ecx
cmp esi, dword [esp + 0x68]
jae 0x42ff85
movzx edx, byte [edi + esi*4 + 3]
movzx ebx, byte [eax + 1]
imul edx, ebp
mov ecx, 0x100
sub ecx, ebp
shl ecx, 8
add edx, ecx
imul edx, ebx
movzx ebx, byte [eax - 1]
sar edx, 0x10
mov byte [esp + 0x10], dl
movzx edx, byte [edi + esi*4 + 1]
imul edx, ebp
add edx, ecx
imul edx, ebx
movzx ebx, byte [eax]
sar edx, 0x10
mov byte [esp + 0x7c], dl
movzx edx, byte [edi + esi*4 + 2]
imul edx, ebp
add edx, ecx
imul edx, ebx
movzx ebx, byte [edi + esi*4]
imul ebx, ebp
add ebx, ecx
movzx ecx, byte [eax - 2]
imul ebx, ecx
mov cl, byte [esp + 0x7c]
sar edx, 0x10
mov byte [eax], dl
mov dl, byte [esp + 0x10]
sar ebx, 0x10
mov byte [eax - 1], cl
mov ecx, dword [esp + 0x40]
mov byte [eax - 2], bl
mov byte [eax + 1], dl
mov esi, dword [esp + 0x24]
add esi, dword [esp + 0x60]
add eax, 4
mov dword [esp + 0x24], esi
test ecx, ecx
jne 0x42ff00
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x74]
mov edx, dword [esp + 0x64]
add dword [esp + 0x5c], edx
cmp dword [esp + 0x54], 0
mov dword [esp + 0x20], eax
jne 0x42fed2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret