Function at 0x43aee0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edi
test byte [edi + 4], 2
je 0x43af2d
mov edx, dword [edi + 0x534]
mov ecx, 1
cmp edx, ecx
jb 0x43af16
lea eax, [edi + 0x2c]
cmp dword [eax], 0x100
je 0x43af2d
inc ecx
add eax, 4
cmp ecx, edx
jbe 0x43af06
lea eax, [edx + 1]
mov dword [edi + 0x534], eax
mov dword [edi + eax*4 + 0x28], 0x100
mov byte [edi + 0x530], al
test byte [edi + 4], 4
je 0x43af6c
mov edx, dword [edi + 0x534]
mov ecx, 1
cmp edx, ecx
jb 0x43af55
lea eax, [edi + 0x2c]
cmp dword [eax], 0x101
je 0x43af6c
inc ecx
add eax, 4
cmp ecx, edx
jbe 0x43af45
lea eax, [edx + 1]
mov dword [edi + 0x534], eax
mov dword [edi + eax*4 + 0x28], 0x101
mov byte [edi + 0x531], al
test byte [edi + 4], 1
je 0x43af9a
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov esi, 0x41
nop dword [eax]
push esi
call ebx
add esp, 4
mov al, byte [eax + edi + 0x430]
mov byte [edi + esi + 0x430], al
inc esi
cmp esi, 0x5a
jbe 0x43af80
mov ebx, dword [edi + 0xc]
mov ecx, 1
mov dword [edi + 0x1c], 1
test ebx, ebx
je 0x43afd8
mov esi, dword [edi + 8]
mov edx, dword [esi]
lea esi, [esi + 4]
add ecx, dword [edx + 8]
mov dword [edi + 0x1c], ecx
mov eax, dword [edx + 0xc]
and eax, 1
add eax, ecx
mov dword [edi + 0x1c], eax
mov ecx, dword [edx + 0xc]
shr ecx, 1
and ecx, 1
add ecx, eax
mov dword [edi + 0x1c], ecx
sub ebx, 1
jne 0x43afb0
imul ebx, ecx, 0x40c
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x43b014
push str.smack
push str._s:_out_of_memory_error_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.00401010
add esp, 0xc
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push ebx
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov dword [edi + 0x14], esi
add esp, 0xc
mov esi, dword [edi + 0x1c]
shl esi, 3
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x43afee
push esi
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [edi + 0x20], ebx
mov ecx, edi
call fcn.0043a8f0
mov ecx, edi
call fcn.0043aad0
mov ecx, edi
call fcn.0043acb0
test byte [edi + 4], 2
je 0x43b071
push 1
xor edx, edx
mov ecx, edi
call fcn.0043ae00
add esp, 4
mov ebx, dword [edi + 0x18]
xor esi, esi
cmp esi, ebx
jae 0x43b094
mov eax, dword [edi + 0x20]
lea eax, [eax + esi*8]
add eax, 4
cmp dword [eax], 0
jne 0x43b344
inc esi
add eax, 8
cmp esi, ebx
jb 0x43b083
mov edx, dword [edi + 0x534]
mov ecx, 1
inc edx
mov dword [edi + 0x24], esi
mov esi, dword [edi + 0x18]
mov dword [ebp - 0x14], esi
cmp edx, 2
jbe 0x43b0ba
mov eax, 2
rol eax, 1
inc ecx
cmp eax, edx
jb 0x43b0b3
mov eax, 1
mov dword [edi + 0x538], ecx
shl eax, cl
mov ebx, eax
mov dword [ebp - 0x18], eax
imul ebx, esi
add ebx, ebx
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
je 0x43afee
push ebx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test esi, esi
je 0x43b1de
mov eax, 0xc
lea ecx, [edi + 0x432]
xor esi, esi
mov dword [ebp - 0x10], eax
nop word [eax + eax]
mov edx, ecx
mov dword [ebp - 0xc], 0x2b
mov ebx, eax
nop dword [eax + eax]
mov eax, dword [edi + 0x14]
lea ebx, [ebx + 0x18]
movzx ecx, byte [edx - 2]
lea edx, [edx + 6]
mov edi, dword [ebp - 4]
add ecx, esi
movzx eax, word [ebx + eax - 0x24]
mov word [edi + ecx*2], ax
mov edi, dword [ebp - 8]
movzx ecx, byte [edx - 7]
add ecx, esi
mov eax, dword [edi + 0x14]
mov edi, dword [ebp - 4]
movzx eax, word [ebx + eax - 0x20]
mov word [edi + ecx*2], ax
mov edi, dword [ebp - 8]
movzx ecx, byte [edx - 6]
add ecx, esi
mov eax, dword [edi + 0x14]
mov edi, dword [ebp - 4]
movzx eax, word [eax + ebx - 0x1c]
mov word [edi + ecx*2], ax
mov edi, dword [ebp - 8]
movzx ecx, byte [edx - 5]
add ecx, esi
mov eax, dword [edi + 0x14]
mov edi, dword [ebp - 4]
movzx eax, word [ebx + eax - 0x18]
mov word [edi + ecx*2], ax
mov edi, dword [ebp - 8]
movzx ecx, byte [edx - 4]
add ecx, esi
mov eax, dword [edi + 0x14]
mov edi, dword [ebp - 4]
movzx eax, word [eax + ebx - 0x14]
mov word [edi + ecx*2], ax
mov edi, dword [ebp - 8]
movzx ecx, byte [edx - 3]
add ecx, esi
sub dword [ebp - 0xc], 1
mov eax, dword [edi + 0x14]
mov edi, dword [ebp - 4]
movzx eax, word [eax + ebx - 0x10]
mov word [edi + ecx*2], ax
mov edi, dword [ebp - 8]
jne 0x43b120
mov eax, dword [ebp - 0x10]
lea ecx, [edi + 0x432]
add esi, dword [ebp - 0x18]
add eax, 0x40c
sub dword [ebp - 0x14], 1
mov dword [ebp - 0x10], eax
jne 0x43b110
mov eax, dword [ebp - 4]
xor ecx, ecx
mov dword [edi + 0x53c], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0xc], ecx
test eax, eax
je 0x43b2d8
mov eax, dword [edi + 8]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 4], eax
test byte [eax + 0xc], 8
je 0x43b2c9
xor esi, esi
cmp dword [eax + 8], esi
jbe 0x43b2c9
nop word [eax + eax]
mov ecx, dword [edi + 0x538]
mov eax, 1
mov ebx, dword [edi + 4]
xor edx, edx
shl eax, cl
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
shr ebx, 1
and ebx, 1
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], ebx
cmp byte [esi + eax], 0x2a
jne 0x43b2b9
test esi, esi
je 0x43b276
mov ebx, dword [ebp - 4]
push esi
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
push dword [ebx + 4]
lea edx, [ebp - 0x10]
call fcn.0043b380
add esp, 0xc
cmp dword [ebp - 0x14], esi
jb 0x43b256
mov edx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [edi + 0x538]
and edx, 0xffffff
mov eax, dword [edi + 0x53c]
shl edx, cl
mov ecx, dword [ebp - 0x1c]
lea edx, [eax + edx*2]
movzx eax, byte [edi + 0x45a]
movzx eax, word [edx + eax*2]
mov dword [ebp - 0x18], eax
xor eax, eax
test ecx, ecx
je 0x43b2b9
mov edi, dword [ebp - 0x18]
cmp word [edx + eax*2], bx
jne 0x43b2b1
mov word [edx + eax*2], di
inc eax
cmp eax, ecx
jb 0x43b2a7
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 4]
inc esi
cmp esi, dword [eax + 8]
jb 0x43b220
mov ecx, dword [ebp - 0xc]
mov eax, dword [edi + 0xc]
inc ecx
mov dword [ebp - 0xc], ecx
cmp ecx, eax
jb 0x43b1f7
cmp dword [edi + 8], 0
mov ecx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
je 0x43b329
xor ebx, ebx
test eax, eax
je 0x43b314
nop word [eax + eax]
mov eax, dword [edi + 8]
mov esi, dword [eax + ebx*4]
push dword [esi + 4]
call ecx
add esp, 4
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
inc ebx
add esp, 4
cmp ebx, dword [edi + 0xc]
jb 0x43b2f0
push dword [edi + 8]
call ecx
mov ecx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [edi + 8], 0
mov eax, dword [edi + 0x14]
test eax, eax
je 0x43b33d
push eax
call ecx
add esp, 4
mov dword [edi + 0x14], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x20]
lea eax, [eax + ebx*8]
add eax, 0xfffffffc
nop dword [eax]
cmp dword [eax], 0
lea ecx, [ebx - 1]
je 0x43b366
mov ebx, ecx
sub eax, 8
cmp esi, ebx
jb 0x43b350
jmp 0x43b094
push ecx
mov edx, esi
mov ecx, edi
call fcn.0043ae00
add esp, 4
jmp 0x43b076