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

Disassembly:
sub esp, 0x64
mov eax, dword [0x101e900c]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push ebp
push edi
push 0x10
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
call ebx
mov ebp, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
test edi, edi
jne 0x10045b2e
xor edi, edi
mov dword [esp + 0x10], edi
jmp 0x10045b67
push 4
push 0x100
mov dword [edi + 4], 0x100
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
add esp, 8
mov dword [edi], eax
test eax, eax
jne 0x10045b59
push edi
call ebp
add esp, 4
xor edi, edi
mov dword [esp + 0x10], edi
jmp 0x10045b67
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0x10045910
push 0x2c
call ebx
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x10045b94
push dword [edi]
call ebp
push edi
call ebp
add esp, 8
xor eax, eax
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.101044b9
add esp, 0x64
ret
mov edi, dword [esp + 0x18]
lea edx, [eax + 0x14]
push esi
mov esi, 0xffffffec
xor ebx, ebx
sub esi, eax
mov ebp, dword [edi + ebx*4]
mov ecx, ebp
test ebp, ebp
je 0x10045bbe
nop
lea eax, [ecx + esi]
mov eax, dword [eax + edx]
test eax, eax
je 0x10045bbe
mov ecx, eax
jmp 0x10045bb0
mov dword [edx - 0xc], ebp
inc ebx
mov dword [edx], ecx
add edx, 4
cmp ebx, 3
jl 0x10045ba5
mov ecx, dword [esp + 0x20]
mov edx, ecx
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [ecx + 4], 0
mov dword [ecx], 0
mov dword [ecx + 0x20], 0xffffffff
mov dword [ecx + 0x24], 0xffffffff
mov dword [ecx + 0x28], eax
mov ecx, edi
call fcn.10048470
sub dword [esp + 0x78], 1
je 0x10045ea0
nop word [eax + eax]
mov edx, dword [edi + 8]
test edx, edx
je 0x10045ea0
mov eax, dword [edi]
mov ebp, 1
mov ecx, dword [eax + 4]
mov eax, dword [eax + edx*4]
mov dword [esp + 0x10], eax
lea eax, [edx - 1]
mov dword [esp + 0x1c], ecx
mov dword [edi + 8], eax
cmp eax, 2
jb 0x10045c97
lea ebx, [edi + 0xc]
mov ecx, ebx
mov dword [esp + 0x18], ecx
lea esi, [ebp*2]
cmp esi, eax
jae 0x10045c6b
mov eax, dword [edi]
mov ebx, ecx
push dword [eax + esi*4 + 4]
push dword [eax + esi*4]
mov eax, dword [ecx]
push edi
call eax
add esp, 0xc
test eax, eax
jns 0x10045c6b
mov ebx, dword [esp + 0x18]
inc esi
mov eax, dword [edi]
push dword [eax + esi*4]
mov eax, dword [ebx]
push dword [esp + 0x14]
push edi
call eax
add esp, 0xc
test eax, eax
jg 0x10045c97
mov ecx, dword [edi]
mov eax, dword [ecx + esi*4]
mov dword [ecx + ebp*4], eax
mov ebp, esi
mov eax, dword [edi + 8]
add esi, esi
mov ecx, dword [esp + 0x18]
cmp esi, eax
jbe 0x10045c44
mov eax, dword [edi]
mov ecx, dword [esp + 0x10]
mov dword [eax + ebp*4], ecx
mov ebp, dword [esp + 0x1c]
mov edx, dword [ebp + 0x24]
lea esi, [ebp + 8]
mov dword [esp + 0x10], esi
lea ebx, [ebp + 0x14]
test edx, edx
jns 0x10045cf7
mov ecx, dword [esi]
test ecx, ecx
jne 0x10045cbf
xor edx, edx
jmp 0x10045cf4
movzx edx, byte [ecx + 0x18]
mov eax, dword [ebx]
movzx eax, byte [eax + 0x18]
sub edx, eax
mov eax, dword [ebp + 0x10]
inc edx
movzx ecx, byte [eax + 0x1a]
mov eax, dword [ebp + 0x1c]
movzx eax, byte [eax + 0x1a]
sub ecx, eax
mov eax, dword [ebp + 0xc]
inc ecx
imul edx, ecx
movzx ecx, byte [eax + 0x19]
mov eax, dword [ebp + 0x18]
movzx eax, byte [eax + 0x19]
sub ecx, eax
inc ecx
imul edx, ecx
mov dword [ebp + 0x24], edx
cmp edx, 1
je 0x10045c10
mov eax, dword [ebx]
xor ebx, ebx
push dword [ebp + 0x28]
movzx ecx, byte [eax + 0x18]
mov eax, dword [esi]
movzx eax, byte [eax + 0x18]
sub eax, ecx
imul esi, eax, 0x4d
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + 0x19]
mov eax, dword [ebp + 0x18]
movzx eax, byte [eax + 0x19]
sub ecx, eax
mov eax, dword [ebp + 0x10]
imul edx, ecx, 0x96
movzx ecx, byte [eax + 0x1a]
mov eax, dword [ebp + 0x1c]
cmp esi, edx
setl bl
movzx eax, byte [eax + 0x1a]
sub ecx, eax
imul eax, ecx, 0x1d
cmp esi, edx
cmovge edx, esi
cmp edx, eax
mov eax, 2
lea edx, [ebp + 0x14]
cmovl ebx, eax
lea eax, [esp + 0x3c]
push ebx
push eax
lea eax, [esp + 0x64]
mov dword [ebp + 0x20], ebx
mov ebx, dword [esp + 0x1c]
mov ecx, ebx
push eax
lea eax, [esp + 0x50]
push eax
call fcn.10045920
add esp, 0x14
test eax, eax
je 0x10045ed9
push 0x2c
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
push 0x2c
mov dword [esp + 0x3c], esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 8
mov dword [esp + 0x10], eax
test esi, esi
je 0x10045ec7
test eax, eax
je 0x10045ec7
mov edx, eax
lea ecx, [esi + 0x14]
sub eax, ebp
sub edx, esi
mov dword [esp + 0x28], eax
lea eax, [esp + 0x44]
mov edi, dword [esp + 0x28]
sub eax, ebp
mov dword [esp + 0x18], edx
mov edx, ebp
sub edx, esi
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x24], edx
mov esi, edx
sub eax, ebp
mov ebp, dword [esp + 0x18]
xor edx, edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + edx + 0x40]
lea ebx, [ebx + 4]
mov dword [ecx - 0xc], eax
lea ecx, [ecx + 4]
mov eax, dword [esp + edx + 0x58]
add edx, 4
mov dword [ecx - 4], eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + ebx - 4]
mov dword [edi + ebx - 4], eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax + ebx - 4]
mov dword [ecx + ebp - 4], eax
mov dword [ebx - 4], 0
mov dword [esi + ecx - 4], 0
cmp edx, 0xc
jl 0x10045de5
mov esi, dword [esp + 0x34]
mov edx, esi
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x14]
mov dword [esi + 4], 0
mov dword [esi], 0
mov dword [ecx + 4], 0
mov dword [ecx], 0
mov dword [ecx + 0x20], 0xffffffff
mov dword [esi + 0x20], 0xffffffff
mov dword [ecx + 0x24], 0xffffffff
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x24], 0xffffffff
mov dword [ecx + 0x28], eax
mov dword [ebp + 4], ecx
mov ecx, edi
mov dword [ebp], esi
call fcn.10048470
mov edx, dword [ebp + 4]
mov ecx, edi
call fcn.10048470
sub dword [esp + 0x78], 1
jne 0x10045c10
push dword [edi]
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call esi
push edi
call esi
mov ecx, dword [esp + 0x78]
add esp, 8
mov eax, dword [esp + 0x20]
pop esi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.101044b9
add esp, 0x64
ret
push esi
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call esi
push dword [esp + 0x14]
call esi
add esp, 8
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3