Function at 0x10122b10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov eax, ecx
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp + 0x10]
mov ebx, edx
sub ebx, ecx
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
xorps xmm0, xmm0
mov dword [ebp - 8], ebx
movlpd qword [ebp - 0x20], xmm0
mov dword [ebp - 0x14], 0
jle 0x10122d45
push edi
mov edi, ecx
lea edx, [ecx - 2]
sub edi, eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0xc], edi
push esi
push ecx
lea eax, [ebp - 0x20]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x18]
add esp, 0xc
xor esi, esi
cmp eax, 3
ja case.default.0x10122b6e
jmp dword [eax*4 + 0x10122d4c]
xor ecx, ecx
test ebx, ebx
js 0x10122cef
mov edi, dword [ebp - 4]
mov bl, byte [edi]
mov eax, ecx
and eax, 7
movzx edx, bl
inc ecx
movzx eax, byte [ebp + eax - 0x20]
sub edx, eax
mov eax, dword [ebp - 0xc]
add eax, edi
add esi, edx
and eax, 7
mov byte [ebp + eax - 0x20], bl
mov eax, esi
mov ebx, dword [ebp - 8]
shr eax, 1
mov byte [edi], al
inc edi
cmp ecx, ebx
jle 0x10122b82
mov edi, dword [ebp - 0xc]
jmp 0x10122cef
xor ecx, ecx
test ebx, ebx
js 0x10122cef
mov edx, dword [ebp - 4]
mov eax, edx
mov dword [ebp - 0xc], edx
nop word [eax + eax]
mov bl, byte [eax]
mov eax, ecx
and eax, 7
movzx edx, bl
inc ecx
movzx eax, byte [ebp + eax - 0x20]
sub edx, eax
mov eax, dword [ebp - 0xc]
add eax, edi
add esi, edx
and eax, 7
mov byte [ebp + eax - 0x20], bl
mov eax, 0xaaaaaaab
mov ebx, dword [ebp - 8]
mul esi
mov eax, dword [ebp - 0xc]
shr edx, 1
mov byte [eax], dl
inc eax
mov dword [ebp - 0xc], eax
cmp ecx, ebx
jle 0x10122bd0
jmp 0x10122cef
xor ecx, ecx
test ebx, ebx
js 0x10122cef
mov edi, dword [ebp - 4]
nop dword [eax + eax]
mov bl, byte [edi]
mov eax, ecx
and eax, 7
movzx edx, bl
inc ecx
movzx eax, byte [ebp + eax - 0x20]
sub edx, eax
mov eax, dword [ebp - 0xc]
add eax, edi
add esi, edx
and eax, 7
mov byte [ebp + eax - 0x20], bl
mov eax, esi
mov ebx, dword [ebp - 8]
shr eax, 2
mov byte [edi], al
inc edi
cmp ecx, ebx
jle 0x10122c20
mov edi, dword [ebp - 0xc]
jmp 0x10122cef
xor ecx, ecx
test ebx, ebx
js 0x10122cef
mov edx, dword [ebp - 4]
mov eax, edx
mov dword [ebp - 0xc], edx
nop dword [eax]
mov bl, byte [eax]
mov eax, ecx
and eax, 7
movzx edx, bl
inc ecx
movzx eax, byte [ebp + eax - 0x20]
sub edx, eax
mov eax, dword [ebp - 0xc]
add eax, edi
add esi, edx
and eax, 7
mov byte [ebp + eax - 0x20], bl
mov eax, 0xcccccccd
mov ebx, dword [ebp - 8]
mul esi
mov eax, dword [ebp - 0xc]
shr edx, 2
mov byte [eax], dl
inc eax
mov dword [ebp - 0xc], eax
cmp ecx, ebx
jle 0x10122c70
jmp 0x10122cef
xor ecx, ecx
test ebx, ebx
js 0x10122cef
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov bl, byte [edx]
mov eax, ecx
and eax, 7
movzx edx, bl
inc ecx
movzx eax, byte [ebp + eax - 0x20]
sub edx, eax
mov eax, dword [ebp - 0xc]
add eax, edi
add esi, edx
and eax, 7
xor edx, edx
mov byte [ebp + eax - 0x20], bl
mov eax, esi
div dword [ebp + 0x10]
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
mov byte [edx], al
inc edx
mov dword [ebp - 0xc], edx
cmp ecx, ebx
jle 0x10122cb8
cmp ecx, dword [ebp - 0x10]
jge 0x10122d1c
mov eax, dword [ebp - 4]
cmp byte [ecx + eax], 0
jne 0x10122d3b
mov eax, ecx
xor edx, edx
and eax, 7
movzx eax, byte [ebp + eax - 0x20]
sub esi, eax
mov eax, esi
div dword [ebp + 0x10]
mov edx, dword [ebp - 4]
mov byte [ecx + edx], al
inc ecx
cmp ecx, dword [ebp - 0x10]
jl 0x10122cf4
mov eax, dword [ebp + 0xc]
sub edi, eax
add dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp + 8]
jge 0x10122d43
mov ecx, dword [ebp + 0x10]
jmp 0x10122b51
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret