Function at 0x422e20
Capabilities:
Resolve function by parsing pe exports
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x100
mov esi, dword [ebp + 0x14]
cmp esi, 0xa
jb 0x42359c
push esi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
test eax, eax
je 0x4235a4
mov edi, dword [ebp + 0x18]
push esi
push 0
mov dword [esp + 0x2c], eax
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
add edi, 0xffffffff
mov dword [esp + 0x34], edi
lea eax, [esi - 1]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], 1
xor ebx, ebx
mov edi, esi
nop dword [eax]
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x34], eax
jb 0x42340e
mov dword [esp + 8], ebx
lea ecx, [ebx + 1]
mov eax, edi
sub eax, ecx
cmp eax, 0x3ff
mov dword [esp + 0xc], edi
mov dword [esp + 0x2c], ecx
ja 0x422f50
mov eax, ecx
cmp edi, ecx
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [esp + 8]
mov ebx, edi
jbe 0x423192
mov eax, dword [esp + 0x2c]
mov edi, eax
movsd xmm0, qword [str.9Y__Fblock_split_points:]
movsd qword [esp + 0x10], xmm0
mov dword [esp + 4], eax
push 2
push edi
push esi
push ecx
push edx
mov ebx, ecx
mov esi, edx
call fcn.0040c800
add esp, 0x14
fstp qword [esp + 0x68]
movsd xmm0, qword [esp + 0x68]
movsd qword [esp + 0x18], xmm0
push 2
push dword [esp + 0x10]
push edi
push ebx
push esi
call fcn.0040c800
mov edx, esi
mov ecx, ebx
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
add esp, 0x14
fstp qword [esp + 0x60]
movsd xmm0, qword [esp + 0x18]
addsd xmm0, qword [esp + 0x60]
movsd xmm1, qword [esp + 0x10]
ucomisd xmm1, xmm0
cmova eax, edi
minsd xmm0, xmm1
add edi, 1
cmp ebx, edi
jne 0x422ed0
jmp 0x423192
xorps xmm0, xmm0
movaps xmmword [esp + 0xe0], xmm0
movaps xmmword [esp + 0xd0], xmm0
mov dword [esp + 0xf0], 0
movaps xmmword [esp + 0xb0], xmm0
movaps xmmword [esp + 0xa0], xmm0
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0x80], xmm0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 4], ecx
movsd xmm0, qword [str.9Y__Fblock_split_points:]
mov dword [esp + 0x30], edi
mov esi, ecx
jmp 0x422fe5
mov ecx, dword [esp + eax*4 + 0xd4]
mov dword [esp + 0x30], ecx
mov eax, dword [esp + eax*4 + 0xd0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
sub eax, esi
cmp eax, 9
jbe 0x423180
mov ecx, 0xcccccccd
mul ecx
movsd qword [esp + 0x40], xmm0
shr edx, 3
mov dword [esp + 0x38], esi
mov dword [esp + 0x18], edx
lea ebx, [esi + edx]
xor esi, esi
nop word cs:[eax + eax]
nop dword [eax]
lea edi, [esi + 1]
mov dword [esp + esi*4 + 0xd0], ebx
push 2
push ebx
push dword [esp + 0x10]
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.0040c800
add esp, 0x14
fstp qword [esp + 0x78]
movsd xmm0, qword [esp + 0x78]
movsd qword [esp + 0x10], xmm0
push 2
push dword [esp + 0x10]
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0040c800
add esp, 0x14
fstp qword [esp + 0x70]
movsd xmm0, qword [esp + 0x10]
addsd xmm0, qword [esp + 0x70]
movsd qword [esp + esi*8 + 0x80], xmm0
add ebx, dword [esp + 0x18]
mov esi, edi
cmp edi, 9
jne 0x423010
movsd xmm0, qword [esp + 0x80]
movsd xmm1, qword [esp + 0x88]
xor eax, eax
ucomisd xmm0, xmm1
seta al
minsd xmm1, xmm0
movsd xmm0, qword [esp + 0x90]
ucomisd xmm1, xmm0
mov ecx, 2
cmova eax, ecx
minsd xmm0, xmm1
movsd xmm1, qword [esp + 0x98]
ucomisd xmm0, xmm1
mov ecx, 3
cmova eax, ecx
minsd xmm1, xmm0
movsd xmm0, qword [esp + 0xa0]
ucomisd xmm1, xmm0
mov ecx, 4
cmova eax, ecx
minsd xmm0, xmm1
movsd xmm1, qword [esp + 0xa8]
ucomisd xmm0, xmm1
mov ecx, 5
cmova eax, ecx
minsd xmm1, xmm0
movsd xmm0, qword [esp + 0xb0]
ucomisd xmm1, xmm0
mov ecx, 6
cmova eax, ecx
minsd xmm0, xmm1
movsd xmm1, qword [esp + 0xb8]
ucomisd xmm0, xmm1
mov ecx, 7
cmova eax, ecx
minsd xmm1, xmm0
movsd xmm2, qword [esp + 0xc0]
ucomisd xmm1, xmm2
mov ecx, 8
cmova eax, ecx
movapd xmm0, xmm2
minsd xmm0, xmm1
ucomisd xmm0, qword [esp + 0x40]
mov esi, dword [esp + 0x38]
ja 0x423180
test eax, eax
je 0x422fc0
ucomisd xmm1, xmm2
mov esi, dword [esp + eax*4 + 0xcc]
jbe 0x422fc0
jmp 0x422fcb
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 4]
push 2
push eax
push esi
push ecx
push edx
mov edi, eax
mov dword [esp + 0x18], eax
call fcn.0040c800
add esp, 0x14
fstp qword [esp + 0x58]
movsd xmm0, qword [esp + 0x58]
movsd qword [esp + 0x10], xmm0
push 2
push ebx
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
push edi
call fcn.0040c800
add esp, 0x14
fstp qword [esp + 0x50]
movsd xmm0, qword [esp + 0x10]
addsd xmm0, qword [esp + 0x50]
movsd qword [esp + 0x10], xmm0
push 2
push ebx
push esi
push dword [ebp + 0x10]
push edi
call fcn.0040c800
add esp, 0x14
fstp qword [esp + 0x48]
movsd xmm0, qword [esp + 0x10]
ucomisd xmm0, qword [esp + 0x48]
mov ecx, esi
mov edx, dword [esp + 4]
jbe 0x423220
mov eax, dword [esp + 0x24]
mov byte [eax + ecx], 1
mov edi, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x20]
jmp 0x423359
cmp edx, dword [esp + 0x2c]
je 0x423207
mov eax, ebx
cmp edx, ebx
je 0x423207
mov ebx, dword [ebp + 0x20]
mov ecx, dword [ebx]
lea eax, [ecx - 1]
test ecx, eax
mov edi, dword [ebp + 0x1c]
jne 0x42324f
test ecx, ecx
je 0x423253
shl ecx, 3
push ecx
push dword [edi]
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
add esp, 8
jmp 0x42325d
mov eax, dword [edi]
jmp 0x423261
push 4
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
mov dword [edi], eax
mov ecx, dword [ebx]
mov edx, dword [esp + 4]
mov dword [eax + ecx*4], edx
mov esi, dword [ebx]
lea eax, [esi + 1]
mov dword [ebx], eax
xor ebx, ebx
cmp eax, 1
mov edx, 0
cmova edx, esi
nop dword [eax]
cmp edx, ebx
je 0x42334e
mov eax, ebx
add ebx, 1
mov ecx, dword [ebp + 0x1c]
mov ecx, dword [ecx]
mov edi, dword [esp + 4]
cmp dword [ecx + eax*4], edi
jbe 0x423280
lea edi, [ebx - 1]
cmp esi, edi
jbe 0x423347
mov dword [esp + 0x10], edi
lea edi, [esi - 1]
mov edx, dword [ecx + esi*4 - 4]
mov dword [ecx + esi*4], edx
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 0x1c]
cmp edi, edx
jbe 0x423345
mov ecx, esi
sub ecx, ebx
mov edx, edi
sub edx, ebx
and ecx, 3
je 0x4232f9
mov dword [esp + 0x18], edx
mov ebx, dword [ebp + 0x1c]
nop word [eax + eax]
mov edx, dword [ebx]
mov edi, dword [edx + esi*4 - 8]
mov dword [edx + esi*4 - 4], edi
add esi, 0xffffffff
add ecx, 0xffffffff
jne 0x4232e0
lea edi, [esi - 1]
mov edx, dword [esp + 0x18]
cmp edx, 3
mov ecx, dword [ebp + 0x1c]
jb 0x423345
nop word cs:[eax + eax]
nop dword [eax + eax]
mov ebx, dword [ecx]
mov edx, dword [ebx + esi*4 - 8]
mov dword [ebx + edi*4], edx
mov esi, dword [ecx]
mov edx, dword [esi + edi*4 - 8]
mov dword [esi + edi*4 - 4], edx
mov esi, dword [ecx]
mov edx, dword [esi + edi*4 - 0xc]
mov dword [esi + edi*4 - 8], edx
mov esi, dword [ecx]
mov edx, dword [esi + edi*4 - 0x10]
mov dword [esi + edi*4 - 0xc], edx
mov edx, dword [esp + 0x10]
lea esi, [edi - 3]
add edi, 0xfffffffc
cmp edi, edx
ja 0x423310
mov ecx, dword [ecx]
mov edx, dword [esp + 4]
mov dword [ecx + eax*4], edx
add dword [esp + 0x28], 1
mov ecx, dword [ebp + 0x20]
mov edi, dword [ebp + 0x1c]
mov eax, dword [edi]
mov dword [esp + 0x10], eax
mov ecx, dword [ecx]
mov dl, 1
mov dword [esp + 4], edx
xor edi, edi
mov dword [esp + 0x18], 0
jmp 0x423384
cmp edi, ecx
ja 0x4233f0
test edi, edi
je 0x4233a0
mov eax, dword [esp + 0x10]
mov ebx, dword [eax + edi*4 - 4]
jmp 0x4233a2
xor ebx, ebx
mov eax, dword [esp + 0x3c]
cmp ecx, edi
je 0x4233b1
mov eax, dword [esp + 0x10]
mov eax, dword [eax + edi*4]
add edi, 1
mov esi, dword [esp + 0x24]
cmp byte [esi + ebx], 0
jne 0x423380
mov edx, eax
sub edx, ebx
cmp edx, dword [esp + 0x18]
jbe 0x423380
mov dword [esp + 4], 0
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov esi, edx
mov dword [esp + 0x18], edx
cmp edi, ecx
jbe 0x423384
jmp 0x423403
test byte [esp + 4], 1
mov ebx, dword [esp + 8]
mov eax, dword [esp + 0xc]
jne 0x42340e
mov edx, eax
sub edx, ebx
mov edi, eax
cmp edx, 9
ja 0x422e80
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x423590
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
mov dword [esp + 8], eax
test eax, eax
je 0x4234b8
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
xor ebx, ebx
xor edi, edi
xor esi, esi
xor edx, edx
mov ecx, dword [ebp + 0x14]
jmp 0x42346e
lea eax, [esi*8]
push eax
push edx
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
add esp, 8
mov edx, eax
mov ecx, dword [ebp + 0x14]
mov dword [edx + esi*4], ebx
add esi, 1
cmp esi, dword [esp + 8]
je 0x4234be
add ebx, dword [esp + 0x10]
add edi, 1
cmp ecx, edi
je 0x4234c2
mov eax, dword [ebp + 0x10]
cmp word [eax + edi*2], 0
je 0x423490
mov eax, dword [ebp + 0xc]
movzx eax, word [eax + edi*2]
mov dword [esp + 0x10], eax
jmp 0x423498
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0xc]
cmp edi, dword [eax + esi*4]
jne 0x423463
lea eax, [esi - 1]
test esi, eax
jne 0x423457
test esi, esi
jne 0x423441
push 4
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
jmp 0x423452
xor edx, edx
xor esi, esi
jmp 0x4234c2
mov esi, dword [esp + 8]
mov edi, edx
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push 0x4b0c70
push eax
call fcn.004237d0
add esp, 8
test esi, esi
je 0x423555
xor ebx, ebx
nop word cs:[eax + eax]
nop dword [eax]
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push dword [edi + ebx*4]
push 0x4b0c85
push eax
call fcn.004237d0
add esp, 0xc
add ebx, 1
cmp esi, ebx
jne 0x4234f0
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push str._hex:
push eax
call fcn.004237d0
add esp, 8
xor ebx, ebx
nop
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push dword [edi + ebx*4]
push 0x4b0c8f
push eax
call fcn.004237d0
add esp, 0xc
add ebx, 1
cmp esi, ebx
jne 0x423530
jmp 0x42356e
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push str._hex:
push eax
call fcn.004237d0
add esp, 8
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push 0x4b0c93
push eax
call fcn.004237d0
add esp, 8
push edi
call fcn.0040af20
add esp, 4
push dword [esp + 0x24]
call fcn.0040af20
add esp, 4
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0xffffffffffffffff
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop dword [eax + eax]