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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x16c
mov ebp, ecx
mov eax, dword [esp + 0x188]
mov ecx, dword [esp + 0x184]
mov esi, edx
mov byte [esp + 8], 1
mov byte [esp + 0x20], 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], esi
mov al, byte [esp + 8]
mov dword [esp + 0x34], ebp
and al, byte [esp + 0x20]
xor al, 1
mov byte [esp + 8], al
cmp esi, 0x14
mov dword [esp + 4], esi
mov dword [esp], ebp
jbe 0x423f5c
cmp dword [esp + 0x24], 0
je 0x423f75
test byte [esp + 0x20], 1
jne 0x423757
lea eax, [esi - 1]
bsr ecx, eax
xor ecx, 0x1f
xor eax, eax
dec eax
shr eax, cl
mov dword [esp + 0x10], eax
mov eax, esi
shr eax, 2
lea edi, [eax + eax - 1]
push 3
pop ebx
mov ebp, esi
sub ebx, 1
jb 0x42374c
mov eax, ebp
mov edx, dword [esp + 4]
mov esi, 0
shl eax, 0xd
xor eax, ebp
mov ecx, eax
shr ecx, 0x11
xor ecx, eax
mov ebp, ecx
shl ebp, 5
xor ebp, ecx
mov ecx, edx
mov eax, ebp
and eax, dword [esp + 0x10]
cmp eax, edx
cmovb ecx, esi
sub eax, ecx
mov ecx, dword [esp]
push eax
push edi
call fcn.0042401e
pop eax
pop ecx
inc edi
jmp 0x42370b
dec dword [esp + 0x24]
mov esi, dword [esp + 4]
mov ebp, dword [esp]
mov eax, esi
and dword [esp + 0x54], 0
lea edx, [esp + 0x54]
shr eax, 2
cmp esi, 0x31
lea ecx, [eax + eax]
mov dword [esp + 0x4c], eax
lea eax, [eax + eax*2]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x180]
mov dword [esp + 0x50], eax
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], edx
mov dword [esp + 0x3c], ecx
jbe 0x4237ce
lea edi, [esp + 0xec]
lea eax, [esp + 0x3c]
lea edx, [esp + 0x4c]
mov ecx, edi
mov dword [esp + 0xec], eax
call fcn.00424159
mov ecx, edi
lea edx, [esp + 0x2c]
call fcn.00424159
mov ecx, edi
lea edx, [esp + 0x50]
call fcn.00424159
lea eax, [esp + 0x50]
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x4c]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00424125
pop eax
pop ecx
mov eax, dword [esp + 0x54]
cmp eax, 0xb
ja 0x4237ff
mov ecx, dword [esp + 0x2c]
test eax, eax
sete al
mov dword [esp + 0xc], ecx
jmp 0x423865
mov ecx, esi
mov eax, esi
shl ecx, 4
shr eax, 1
lea ecx, [ebp + ecx - 0x10]
sub eax, 1
jb 0x423857
movsd xmm0, qword [ebp]
movsd xmm1, qword [ebp + 8]
movsd xmm3, qword [ecx + 8]
movsd qword [esp + 0x6c], xmm0
movsd xmm0, qword [ecx]
movsd qword [esp + 0x74], xmm1
movsd qword [ebp + 8], xmm3
movsd xmm2, qword [esp + 0x74]
movsd qword [ebp], xmm0
movsd xmm0, qword [esp + 0x6c]
add ebp, 0x10
movsd qword [ecx + 8], xmm2
movsd qword [ecx], xmm0
add ecx, 0xfffffff0
jmp 0x42380c
mov eax, dword [esp + 0x2c]
not eax
add eax, esi
mov dword [esp + 0xc], eax
mov al, 1
test al, al
sete al
or al, byte [esp + 8]
test al, 1
jne 0x42399c
mov eax, dword [esp]
xor ebx, ebx
mov dword [esp + 0x10], 0
inc ebx
add eax, 0x20
mov dword [esp + 0x18], eax
mov eax, dword [esp + 4]
add eax, 0xfffffffe
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
cmp eax, 5
je 0x42399c
mov ebp, ebx
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 4]
inc eax
shl ebp, 4
mov dword [esp + 0x10], eax
add ebp, dword [esp + 0x18]
sub edi, ebx
cmp esi, ebx
jbe 0x4238de
mov edx, dword [esp]
mov eax, ebx
shl eax, 4
lea ecx, [edx + eax]
lea edx, [edx + eax - 0x10]
call fcn.00423fea
test al, al
jne 0x4238de
inc ebx
add ebp, 0x10
dec edi
jmp 0x4238bb
cmp esi, 0x32
jb 0x423994
cmp ebx, esi
je 0x423994
mov ecx, dword [esp]
lea eax, [ebx - 1]
mov edx, esi
push ebx
push eax
call fcn.0042401e
pop eax
pop ecx
sub esi, ebx
jb 0x423fe6
mov ecx, dword [esp]
mov edx, ebx
call fcn.00424083
cmp esi, 2
jb 0x423896
mov esi, ebx
shl esi, 4
add esi, dword [esp]
lea ecx, [esi + 0x10]
mov edx, esi
call fcn.00423fea
test al, al
je 0x423896
movsd xmm0, qword [esi]
movsd xmm1, qword [esi + 8]
lea esi, [esp + 0x6c]
movsd qword [esp + 0x74], xmm1
movsd qword [esp + 0x6c], xmm0
movsd xmm0, qword [ebp - 0x10]
movsd xmm1, qword [ebp - 8]
sub edi, 1
movsd qword [ebp - 0x18], xmm1
movsd qword [ebp - 0x20], xmm0
jb 0x423979
mov ecx, ebp
mov edx, esi
call fcn.00423fea
test al, al
je 0x423979
add ebp, 0x10
jmp 0x42394e
movsd xmm0, qword [esp + 0x6c]
movsd xmm1, qword [esp + 0x74]
movsd qword [ebp - 8], xmm1
movsd qword [ebp - 0x10], xmm0
jmp 0x423896
cmp ebx, esi
je 0x423fdb
cmp dword [esp + 0x28], 0
je 0x423ad9
mov esi, dword [esp + 4]
mov edi, dword [esp + 0xc]
cmp edi, esi
jae 0x423fe6
mov ebp, dword [esp]
mov ecx, dword [esp + 0x28]
mov edx, edi
shl edx, 4
add edx, ebp
call fcn.00423fea
test al, al
jne 0x423ae5
mov ecx, ebp
mov edx, esi
push edi
push 0
call fcn.0042401e
pop eax
pop ecx
movsd xmm0, qword [ebp]
movsd xmm1, qword [ebp + 8]
lea eax, [ebp + 0x10]
lea ecx, [ebp - 0x10]
mov edi, esi
xor esi, esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
movsd qword [esp + 0xf4], xmm1
movsd qword [esp + 0xec], xmm0
mov ebx, esi
lea ebp, [edi - 1]
shl ebx, 4
add ebx, eax
cmp esi, ebp
jae 0x423a34
lea ecx, [esp + 0xec]
mov edx, ebx
call fcn.00423fea
test al, al
jne 0x423a34
inc esi
add ebx, 0x10
jmp 0x423a18
mov edx, edi
shl edx, 4
add edx, dword [esp + 0x10]
dec edi
cmp esi, edi
jae 0x423a9f
lea ecx, [esp + 0xec]
lea ebp, [edx - 0x10]
call fcn.00423fea
test al, al
mov edx, ebp
jne 0x423a3d
movsd xmm0, qword [ebx]
movsd xmm1, qword [ebx + 8]
movsd xmm3, qword [ebp + 0x18]
mov eax, dword [esp + 0x18]
inc esi
movsd qword [esp + 0x6c], xmm0
movsd xmm0, qword [ebp + 0x10]
movsd qword [esp + 0x74], xmm1
movsd qword [ebx + 8], xmm3
movsd xmm2, qword [esp + 0x74]
movsd qword [ebx], xmm0
movsd xmm0, qword [esp + 0x6c]
movsd qword [ebp + 0x18], xmm2
movsd qword [ebp + 0x10], xmm0
jmp 0x423a0e
movsd xmm0, qword [esp + 0xec]
mov ecx, dword [esp]
movsd xmm1, qword [esp + 0xf4]
lea eax, [esi + 1]
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
mov ecx, dword [esp + 4]
cmp ecx, eax
jb 0x423fe6
not esi
mov ebp, ebx
add ecx, esi
mov esi, ecx
jmp 0x4236c9
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0xc]
mov ecx, ebp
mov edx, esi
push edi
push 0
call fcn.0042401e
pop eax
pop ecx
test esi, esi
je 0x423fe6
movsd xmm0, qword [ebp]
movsd xmm1, qword [ebp + 8]
lea eax, [ebp + 0x10]
mov dword [esp + 4], esi
lea ebx, [esi - 1]
xor ecx, ecx
mov esi, eax
mov dword [esp + 0x30], eax
movsd qword [esp + 0x5c], xmm1
movsd qword [esp + 0x54], xmm0
cmp ebx, ecx
je 0x423b40
mov edi, ecx
mov ecx, esi
lea edx, [esp + 0x54]
call fcn.00423fea
mov ecx, edi
test al, al
je 0x423b42
inc ecx
add esi, 0x10
jmp 0x423b23
mov ecx, ebx
mov edi, dword [esp + 4]
mov dword [esp + 0x34], ebp
mov dword [esp], ebx
mov dword [esp + 0x38], ecx
shl edi, 4
add edi, ebp
mov ebp, ebx
mov edx, ebp
mov ebx, edi
cmp ebp, ecx
jbe 0x423b7d
lea edi, [ebx - 0x10]
lea ebp, [edx - 1]
mov esi, edx
lea edx, [esp + 0x54]
mov ecx, edi
call fcn.00423fea
mov ecx, dword [esp + 0x38]
mov edx, esi
test al, al
je 0x423b58
cmp edx, ecx
jb 0x423fe6
cmp edx, dword [esp]
mov dword [esp + 0x64], edx
ja 0x423fe6
mov edx, dword [esp + 0x30]
mov eax, ecx
mov esi, ebx
mov ebx, 0x80
xor ebp, ebp
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0x80
shl eax, 4
add edx, eax
mov dword [esp + 0x30], edx
mov eax, esi
mov dword [esp + 0x1c], edx
sub eax, edx
cmp eax, 0x1010
mov dword [esp + 0x68], eax
jae 0x423c20
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 8]
mov ecx, eax
shr ecx, 4
cmp ebp, edi
setb al
cmp dword [esp + 0xc], edx
setb dl
or dl, al
lea eax, [ecx - 0x80]
test dl, dl
cmove eax, ecx
cmp ebp, edi
mov edi, dword [esp + 0x18]
cmovb ebx, eax
cmovae edi, eax
test dl, dl
mov dword [esp + 0x18], edi
jne 0x423c20
mov ecx, eax
shr ecx, 1
sub eax, ecx
mov dword [esp + 0x18], ecx
mov ebx, eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x20], ebx
cmp ebp, ecx
jne 0x423c6c
mov edi, dword [esp + 0x1c]
xor eax, eax
lea ecx, [esp + 0xec]
cmp dword [esp + 0x18], eax
je 0x423c61
mov ebp, ecx
mov byte [ecx], al
mov ecx, edi
lea edx, [esp + 0x54]
lea ebx, [eax + 1]
call fcn.00423fea
xor al, 1
add edi, 0x10
movzx eax, al
add ebp, eax
mov eax, ebx
mov ecx, ebp
jmp 0x423c39
mov ebx, dword [esp + 0x20]
lea ebp, [esp + 0xec]
mov dword [esp], ebp
mov ebp, dword [esp + 0xc]
mov edi, dword [esp + 8]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ecx
cmp ebp, edi
jne 0x423cba
lea edi, [esi - 0x10]
xor eax, eax
lea esi, [esp + 0x6c]
cmp ebx, eax
je 0x423cac
mov ecx, edi
lea edx, [esp + 0x54]
lea ebp, [eax + 1]
mov byte [esi], al
call fcn.00423fea
movzx eax, al
add edi, 0xfffffff0
add esi, eax
mov eax, ebp
jmp 0x423c8c
mov edi, esi
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea ebp, [esp + 0x6c]
mov edx, dword [esp]
mov eax, edi
mov dword [esp + 8], edi
sub eax, ebp
sub ecx, edx
cmp ecx, eax
cmovbe eax, ecx
test eax, eax
je 0x423d87
movzx ecx, byte [edx]
mov esi, dword [esp + 0x1c]
inc ebp
dec eax
mov ebx, ebp
shl ecx, 4
movsd xmm0, qword [esi + ecx]
movsd xmm1, qword [esi + ecx + 8]
movsd qword [esp + 0x44], xmm1
movsd qword [esp + 0x3c], xmm0
mov cl, byte [edx]
inc edx
mov dword [esp], edx
movzx edi, byte [ebx - 1]
mov ebp, dword [esp + 0x10]
movzx ecx, cl
shl ecx, 4
not edi
shl edi, 4
sub eax, 1
movsd xmm0, qword [ebp + edi]
movsd xmm1, qword [ebp + edi + 8]
lea edx, [ebp + edi]
movsd qword [esi + ecx + 8], xmm1
movsd qword [esi + ecx], xmm0
jb 0x423d59
mov ebp, dword [esp]
inc ebx
movzx ecx, byte [ebp]
inc ebp
mov dword [esp], ebp
mov edi, ecx
shl edi, 4
movsd xmm0, qword [esi + edi]
movsd xmm1, qword [esi + edi + 8]
movsd qword [edx + 8], xmm1
movsd qword [edx], xmm0
jmp 0x423cff
movsd xmm0, qword [esp + 0x3c]
movsd xmm1, qword [esp + 0x44]
mov dword [esp + 0xc], ebx
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 8]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
movsd qword [edx + 8], xmm1
movsd qword [edx], xmm0
mov edx, dword [esp]
jmp 0x423d8f
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], ebp
cmp edx, eax
mov eax, 0
mov ebp, edx
mov edx, dword [esp + 0x1c]
mov ecx, 0
cmove eax, dword [esp + 0x18]
shl eax, 4
add edx, eax
mov eax, ebx
neg eax
cmp dword [esp + 0xc], edi
cmovne eax, ecx
shl eax, 4
add esi, eax
cmp dword [esp + 0x68], 0x1010
jae 0x423bca
mov eax, dword [esp + 0x14]
mov ecx, edx
cmp ebp, eax
jae 0x423e34
mov edx, dword [esp + 0x38]
mov edi, ebp
cmp edi, eax
jae 0x423e97
mov ebp, eax
movzx eax, byte [eax - 1]
movsd xmm3, qword [esi - 8]
dec ebp
shl eax, 4
movsd xmm0, qword [ecx + eax]
movsd xmm1, qword [ecx + eax + 8]
movsd qword [esp + 0x3c], xmm0
movsd xmm0, qword [esi - 0x10]
movsd qword [esp + 0x44], xmm1
movsd qword [ecx + eax + 8], xmm3
movsd xmm2, qword [esp + 0x44]
movsd qword [ecx + eax], xmm0
movsd xmm0, qword [esp + 0x3c]
mov eax, ebp
movsd qword [esi - 8], xmm2
movsd qword [esi - 0x10], xmm0
add esi, 0xfffffff0
jmp 0x423dd9
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 8]
mov edx, dword [esp + 0x38]
cmp edi, ebx
jae 0x423e99
cmp edi, ebx
jae 0x423e99
movzx eax, byte [ebx - 1]
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
dec ebx
not eax
movsd qword [esp + 0x3c], xmm0
movsd qword [esp + 0x44], xmm1
shl eax, 4
movsd xmm2, qword [esp + 0x44]
movsd xmm0, qword [esi + eax]
movsd xmm1, qword [esi + eax + 8]
movsd qword [ecx], xmm0
movsd xmm0, qword [esp + 0x3c]
movsd qword [ecx + 8], xmm1
movsd qword [esi + eax + 8], xmm2
add ecx, 0x10
movsd qword [esi + eax], xmm0
jmp 0x423e44
mov ecx, esi
mov edi, ecx
mov ebp, dword [esp + 0x34]
movsd xmm0, qword [esp + 0x54]
movsd xmm1, qword [esp + 0x5c]
mov ebx, dword [esp + 4]
sub edi, dword [esp + 0x30]
movsd qword [ebp + 8], xmm1
movsd qword [ebp], xmm0
mov ecx, ebp
shr edi, 4
add edi, edx
cmp dword [esp + 0x64], edx
mov edx, ebx
setbe byte [esp + 8]
push edi
push 0
call fcn.0042401e
pop eax
pop ecx
mov eax, ebx
mov ecx, ebx
mov dword [esp + 0x1c], edi
sub eax, edi
cmp edi, eax
cmovbe eax, edi
shr ecx, 3
cmp eax, ecx
setae byte [esp + 0x20]
sub ebx, edi
jb 0x423fe6
je 0x423fe6
mov edi, dword [esp + 0x1c]
dec ebx
mov esi, edi
shl esi, 4
add esi, ebp
cmp edi, ebx
lea ecx, [esi + 0x10]
jb 0x423f30
mov edx, ebx
push dword [esp + 0x24]
push esi
push dword [esp + 0x188]
call fcn.00423685
add esp, 0xc
mov esi, edi
jmp 0x4236b7
mov dword [esp], ecx
mov ecx, ebp
mov edx, edi
push dword [esp + 0x24]
push dword [esp + 0x2c]
push dword [esp + 0x188]
call fcn.00423685
add esp, 0xc
mov ebp, dword [esp]
mov dword [esp + 0x28], esi
mov esi, ebx
jmp 0x4236b3
push 2
pop esi
lea eax, [esi - 1]
cmp eax, dword [esp + 4]
jae 0x423fdb
mov ecx, dword [esp]
mov edx, esi
call fcn.00424083
inc esi
jmp 0x423f5f
mov ecx, dword [esp + 0x180]
mov edi, esi
lea eax, [esp + 0xec]
lea esi, [esp + 0x6c]
shr edi, 1
mov dword [esi], eax
mov dword [eax], ecx
dec edi
cmp edi, 0xffffffff
je 0x423fa7
mov ecx, esi
mov edx, ebp
push edi
push dword [esp + 8]
call fcn.004241bb
pop eax
pop ecx
jmp 0x423f8f
mov edi, dword [esp + 4]
mov ebx, dword [esp + 4]
lea esi, [esp + 0x6c]
cmp edi, 2
jb 0x423fdb
dec edi
mov ecx, ebp
mov edx, ebx
push edi
push 0
call fcn.0042401e
pop eax
pop ecx
cmp edi, ebx
ja 0x423fe6
mov ecx, esi
mov edx, ebp
push 0
push edi
call fcn.004241bb
pop eax
pop ecx
jmp 0x423fb3
add esp, 0x16c
pop esi
pop edi
pop ebx
pop ebp
ret
ud2