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

Disassembly:
sub esp, 0x64
mov ecx, dword [esp + 0x68]
push ebx
mov dword [esp + 0x20], edx
push ebp
mov eax, dword [ecx + 4]
push esi
push edi
mov byte [esp + 0x11], 0
mov bl, byte [eax]
mov bh, byte [eax + 1]
mov al, byte [eax + 2]
mov byte [esp + 0x12], al
mov eax, dword [ecx]
mov cl, byte [eax]
mov ch, byte [eax + 1]
mov al, byte [eax + 2]
mov byte [esp + 0x10], al
movzx edx, cl
movzx eax, ch
and edx, 0xf8
and eax, 0xfc
shl edx, 5
or edx, eax
mov byte [esp + 0x13], cl
movzx eax, byte [esp + 0x10]
shr eax, 3
mov byte [esp + 0x14], ch
shl edx, 3
or edx, eax
movzx ecx, bl
and ecx, 0xf8
movzx eax, bh
and eax, 0xfc
shl ecx, 5
or ecx, eax
movzx eax, byte [esp + 0x12]
shr eax, 3
shl ecx, 3
or ecx, eax
mov al, byte [esp + 0x13]
cmp edx, ecx
jae 0x423afd
mov byte [esp + 0x44], al
mov al, byte [esp + 0x14]
mov byte [esp + 0x45], al
mov al, byte [esp + 0x10]
mov byte [esp + 0x46], al
mov al, byte [esp + 0x12]
mov byte [esp + 0x47], bl
mov byte [esp + 0x48], bh
mov byte [esp + 0x49], al
jmp 0x423b21
mov byte [esp + 0x47], al
mov al, byte [esp + 0x14]
mov byte [esp + 0x48], al
mov al, byte [esp + 0x10]
mov byte [esp + 0x49], al
mov al, byte [esp + 0x12]
mov byte [esp + 0x44], bl
mov byte [esp + 0x45], bh
mov byte [esp + 0x46], al
xor ebx, ebx
mov cl, byte [esp + ebx + 0x44]
mov al, byte [esp + ebx + 0x47]
movzx esi, al
movzx edi, cl
mov byte [esp + ebx + 0x50], al
mov eax, 0xaaaaaaab
mov byte [esp + ebx + 0x4c], cl
lea ecx, [esi + edi*2]
mul ecx
lea ecx, [edi + esi*2]
mov eax, 0xaaaaaaab
shr edx, 1
mov byte [esp + ebx + 0x54], dl
mul ecx
shr edx, 1
mov byte [esp + ebx + 0x58], dl
inc ebx
cmp ebx, 3
jl 0x423b23
mov edx, dword [esp + 0x80]
xor ebp, ebp
xor cl, cl
mov dword [esp + 0x6c], ebp
xor ch, ch
mov dword [esp + 0x70], ebp
mov byte [esp + 0x14], cl
xorps xmm0, xmm0
mov byte [esp + 0x10], ch
movups xmmword [esp + 0x5c], xmm0
test edx, edx
jle 0x423de3
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x7c]
test ebx, ebx
jle 0x423dc8
mov esi, eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], esi
movzx eax, byte [esi + 1]
or ebp, 0xffffffff
movzx edx, byte [esi]
xor ecx, ecx
mov dword [esp + 0x40], eax
movzx eax, byte [esi + 2]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
jmp 0x423bd4
mov ecx, dword [esp + 0x18]
movzx eax, byte [esp + ecx*4 + 0x4c]
mov edi, edx
mov ebx, dword [esp + 0x40]
sub edi, eax
movzx eax, byte [esp + ecx*4 + 0x4d]
mov edx, edi
movzx ecx, byte [esp + ecx*4 + 0x4e]
sub ebx, eax
imul edx, edi
mov eax, ebx
imul eax, ebx
mov esi, ebp
shl edx, 2
shl eax, 4
add edx, eax
mov eax, dword [esp + 0x3c]
sub eax, ecx
mov ecx, eax
imul ecx, eax
add edx, ecx
mov ecx, dword [esp + 0x18]
cmp edx, ebp
movzx ecx, cl
mov dword [esp + 0x1c], ecx
cmovae eax, dword [esp + 0x28]
cmovae ebx, dword [esp + 0x24]
cmp edx, esi
movzx ecx, byte [esp + 0x11]
cmovae edi, dword [esp + 0x20]
cmp edx, ebp
mov ebp, dword [esp + 0x1c]
cmovae ebp, ecx
mov dword [esp + 0x20], edi
inc dword [esp + 0x18]
mov ecx, ebp
cmp edx, esi
mov dword [esp + 0x1c], ebp
mov ebp, edx
mov byte [esp + 0x11], cl
mov edx, dword [esp + 0x38]
cmovae ebp, esi
cmp dword [esp + 0x18], 4
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], eax
jl 0x423bd0
mov ebp, dword [esp + 0x6c]
test cl, cl
jne 0x423ca9
mov ecx, dword [esp + 0x5c]
add ecx, edi
lea ecx, [ecx + edi*2]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x60]
add ecx, ebx
lea ecx, [ecx + ebx*2]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x64]
add ecx, eax
lea ecx, [ecx + eax*2]
mov dword [esp + 0x64], ecx
mov cl, byte [esp + 0x14]
add cl, 3
mov byte [esp + 0x14], cl
jmp 0x423d7b
cmp cl, 2
jne 0x423cf7
mov ecx, dword [esp + 0x5c]
add ebp, ebx
mov esi, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
add dword [esp + 0x68], edi
add dword [esp + 0x70], eax
lea ecx, [ecx + edi*2]
mov dword [esp + 0x5c], ecx
lea esi, [esi + ebx*2]
mov cl, byte [esp + 0x14]
lea edx, [edx + eax*2]
mov ch, byte [esp + 0x10]
add cl, 2
inc ch
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], edx
mov byte [esp + 0x14], cl
mov dword [esp + 0x6c], ebp
mov byte [esp + 0x10], ch
jmp 0x423d7f
cmp cl, 3
jne 0x423d3d
mov esi, dword [esp + 0x68]
lea ebp, [ebp + ebx*2]
mov edx, dword [esp + 0x70]
mov cl, byte [esp + 0x14]
mov ch, byte [esp + 0x10]
inc cl
add dword [esp + 0x5c], edi
lea esi, [esi + edi*2]
add dword [esp + 0x60], ebx
lea edx, [edx + eax*2]
add dword [esp + 0x64], eax
add ch, 2
mov byte [esp + 0x14], cl
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], edx
mov byte [esp + 0x10], ch
jmp 0x423d7f
cmp cl, 1
jne 0x423d77
mov ecx, dword [esp + 0x68]
add ecx, edi
lea ecx, [ecx + edi*2]
mov dword [esp + 0x68], ecx
lea ecx, [ebx + ebp]
lea ebp, [ecx + ebx*2]
mov ecx, dword [esp + 0x70]
add ecx, eax
mov dword [esp + 0x6c], ebp
lea edx, [ecx + eax*2]
mov ch, byte [esp + 0x10]
mov cl, byte [esp + 0x14]
add ch, 3
mov dword [esp + 0x70], edx
mov byte [esp + 0x10], ch
jmp 0x423d7f
mov cl, byte [esp + 0x14]
mov ch, byte [esp + 0x10]
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
add esi, 4
sub dword [esp + 0x34], 1
mov dword [esp + 0x30], esi
mov byte [esp + 0x11], dl
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], eax
jne 0x423ba6
mov byte [esp + 0x11], dl
mov edx, dword [esp + 0x80]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x20], edi
add eax, 0x10
sub edx, 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x80], edx
jne 0x423b94
test cl, cl
jne 0x423de8
mov byte [esp + 0x14], 1
test ch, ch
movzx eax, ch
mov edx, 1
lea edi, [esp + 0x5c]
cmove eax, edx
lea esi, [esp + 0x44]
mov byte [esp + 0x15], al
xor eax, eax
mov dword [esp + 0x34], eax
nop word [eax + eax]
movzx ebp, byte [esp + eax + 0x14]
mov ebx, 3
nop word [eax + eax]
mov eax, dword [edi]
cdq
idiv ebp
movzx ecx, byte [esi]
add eax, ecx
test eax, eax
jg 0x423e32
xor cl, cl
jmp 0x423e42
movzx ecx, al
cmp eax, 0xff
mov eax, 0xff
cmovge ecx, eax
mov byte [esi], cl
add edi, 4
inc esi
sub ebx, 1
jne 0x423e20
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x34], eax
cmp eax, 2
jl 0x423e10
movzx ecx, byte [esp + 0x47]
movzx eax, byte [esp + 0x44]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x28], eax
cmp eax, 8
jge 0x4240c8
movzx ecx, byte [esp + 0x48]
movzx eax, byte [esp + 0x45]
sub eax, ecx
cdq
mov ebx, eax
xor ebx, edx
sub ebx, edx
cmp ebx, 4
jge 0x4240c8
movzx ecx, byte [esp + 0x49]
movzx eax, byte [esp + 0x46]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x40], eax
cmp eax, 8
jge 0x4240c8
mov edx, dword [esp + 0x28]
add bl, bl
cmp dl, bl
movzx eax, dl
mov edx, dword [esp + 0x40]
movzx ecx, bl
cmovae ecx, eax
movzx eax, dl
mov dword [esp + 0x40], eax
cmp cl, dl
movzx eax, cl
mov ecx, dword [esp + 0x40]
cmovae ecx, eax
test cl, cl
je 0x4240c8
mov al, 2
cmp cl, 4
ja 0x423ef0
cmp al, cl
sbb al, al
add al, 4
mov ah, byte [esp + 0x48]
mov byte [esp + 0x10], al
mov byte [esp + 0x14], ah
cmp ah, byte [esp + 0x45]
jb 0x423f4e
lea ecx, [esp + 0x48]
mov dword [esp + 0x34], ecx
lea esi, [esp + 0x47]
lea ecx, [esp + 0x45]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ecx
lea esi, [esp + 0x49]
lea ecx, [esp + 0x48]
mov dword [esp + 0x38], esi
mov dword [esp + 0x30], ecx
lea edi, [esp + 0x44]
lea ecx, [esp + 0x47]
mov dword [esp + 0x1c], ecx
lea ebp, [esp + 0x46]
mov ecx, esi
lea esi, [esp + 0x47]
mov dword [esp + 0x3c], ecx
mov ecx, edi
mov dword [esp + 0x18], ecx
mov ecx, ebp
jmp 0x423f9c
mov ah, byte [esp + 0x45]
lea ecx, [esp + 0x45]
mov dword [esp + 0x34], ecx
lea esi, [esp + 0x44]
lea ecx, [esp + 0x48]
mov byte [esp + 0x14], ah
mov dword [esp + 0x24], ecx
lea edi, [esp + 0x47]
lea ecx, [esp + 0x46]
mov dword [esp + 0x20], esi
mov dword [esp + 0x38], ecx
lea ebp, [esp + 0x49]
lea ecx, [esp + 0x45]
mov dword [esp + 0x30], ecx
mov ecx, esi
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x46]
mov dword [esp + 0x3c], ecx
mov ecx, edi
mov dword [esp + 0x18], ecx
mov ecx, ebp
mov dword [esp + 0x40], ecx
movzx ecx, al
mov dword [esp + 0x2c], ecx
movzx ecx, bl
imul ecx, dword [esp + 0x2c]
movzx eax, ah
add ecx, eax
cmp ecx, 0xff
ja 0x423fd3
movzx ecx, byte [esp + 0x10]
movzx eax, bl
imul ecx, eax
mov eax, dword [esp + 0x34]
add cl, byte [esp + 0x14]
mov byte [eax], cl
jmp 0x423fda
mov eax, dword [esp + 0x30]
mov byte [eax], 0xff
mov al, byte [esi]
mov ebx, dword [esp + 0x28]
movzx ecx, al
mov byte [esp + 0x14], al
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], ecx
movzx esi, bl
imul esi, dword [esp + 0x2c]
movzx eax, byte [eax]
sub ecx, eax
test ecx, ecx
jle 0x42402c
mov eax, dword [esp + 0x34]
add eax, esi
cmp eax, 0xff
ja 0x424026
mov esi, dword [esp + 0x20]
movzx eax, bl
mov bl, byte [esp + 0x10]
movzx ecx, bl
imul ecx, eax
add cl, byte [esp + 0x14]
mov byte [esi], cl
jmp 0x42405e
mov eax, dword [esp + 0x1c]
jmp 0x424057
mov al, byte [edi]
mov byte [esp + 0x14], al
movzx eax, al
add eax, esi
cmp eax, 0xff
ja 0x424053
movzx eax, bl
mov bl, byte [esp + 0x10]
movzx ecx, bl
imul ecx, eax
add cl, byte [esp + 0x14]
mov byte [edi], cl
jmp 0x42405e
mov eax, dword [esp + 0x18]
mov bl, byte [esp + 0x10]
mov byte [eax], 0xff
mov esi, dword [esp + 0x38]
mov bh, byte [ebp]
movzx edi, bh
movzx ecx, dl
mov al, byte [esi]
imul ecx, dword [esp + 0x2c]
mov byte [esp + 0x14], al
movzx eax, al
mov dword [esp + 0x38], eax
sub eax, edi
test eax, eax
jle 0x4240a7
mov eax, dword [esp + 0x38]
add eax, ecx
cmp eax, 0xff
ja 0x4240a1
movzx eax, dl
movzx ecx, bl
imul ecx, eax
add cl, byte [esp + 0x14]
mov byte [esi], cl
jmp 0x4240c8
mov eax, dword [esp + 0x3c]
jmp 0x4240c5
lea eax, [ecx + edi]
cmp eax, 0xff
ja 0x4240c1
movzx eax, dl
movzx ecx, bl
imul ecx, eax
add cl, bh
mov byte [ebp], cl
jmp 0x4240c8
mov eax, dword [esp + 0x40]
mov byte [eax], 0xff
mov eax, dword [esp + 0x78]
lea edi, [esp + 0x47]
movzx edx, byte [esp + 0x44]
lea ebp, [esp + 0x44]
movzx ecx, byte [esp + 0x47]
and edx, 0xf8
shl edx, 5
and ecx, 0xf8
mov esi, dword [eax]
sub edi, esi
mov ebx, dword [eax + 4]
sub ebp, esi
movzx eax, byte [esp + 0x45]
sub ebx, esi
and eax, 0xfc
shl ecx, 5
or edx, eax
movzx eax, byte [esp + 0x46]
shr eax, 3
shl edx, 3
or edx, eax
movzx eax, byte [esp + 0x48]
and eax, 0xfc
or ecx, eax
movzx eax, byte [esp + 0x49]
shr eax, 3
or ecx, eax
cmp edx, ecx
mov ecx, 3
jae 0x424151
mov al, byte [esi + ebp]
lea esi, [esi + 1]
mov byte [esi - 1], al
mov al, byte [edi + esi - 1]
mov byte [ebx + esi - 1], al
sub ecx, 1
jne 0x424133
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
mov al, byte [edi + esi]
lea esi, [esi + 1]
mov byte [esi - 1], al
mov al, byte [esi + ebp - 1]
mov byte [ebx + esi - 1], al
sub ecx, 1
jne 0x424151
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret