Function at 0x5a776b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
lea eax, [ebp - 4]
push ebx
push esi
push edi
push eax
push 0x5a0e50
push 0x5a0e40
push 7
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.005a7c50
test eax, eax
js 0x5a7995
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
js 0x5a798c
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x18]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
test eax, eax
js 0x5a7983
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
push edx
push 0x5a0e20
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x5a797a
mov esi, dword [ebp + 0x1c]
mov edi, dword [0x5b8118]
lea eax, [esi + 1]
push eax
push 0
push 0x11
call edi
mov ebx, eax
mov dword [ebp - 0x24], ebx
test ebx, ebx
je 0x5a7971
lea eax, [ebp - 0x1c]
push eax
push ebx
call dword [0x5b8124]
test eax, eax
js 0x5a796a
push esi
push dword [ebp + 0x18]
push dword [ebp - 0x1c]
call fcn.005a91f0
add esp, 0xc
push ebx
call dword [0x5b8120]
test eax, eax
js 0x5a796a
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x20]
push edx
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb4]
test eax, eax
js 0x5a796a
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0xc]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
test eax, eax
js 0x5a796a
mov esi, dword [0x5b8114]
lea eax, [ebp - 0x38]
push eax
call esi
lea eax, [ebp - 0x48]
push eax
call esi
push 1
push 0
push pe_nt_image_headers32
call edi
mov dword [ebp - 0x10], eax
test eax, eax
je 0x5a7961
mov esi, dword [ebp + 8]
push esi
push 0
push 8
call edi
mov dword [ebp - 0x30], eax
test eax, eax
je 0x5a7958
and dword [ebp - 0x28], 0
mov eax, 0x2008
mov edi, dword [0x5b811c]
mov word [ebp - 0x38], ax
xor eax, eax
mov dword [ebp - 8], eax
test esi, esi
jle 0x5a78cf
mov ebx, dword [ebp + 0xc]
push dword [ebx + eax*4]
call dword [0x5b812c]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x30]
call edi
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, esi
jl 0x5a78ae
mov ebx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x28]
push eax
push esi
call edi
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x48]
push edx
push esi
sub esp, 0x10
mov esi, 0x59f170
mov ecx, dword [eax]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x94]
test eax, eax
jns 0x5a7946
cmp eax, 0x8002000e
jne 0x5a792b
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x48]
push edx
push 0
sub esp, 0x10
mov esi, 0x59f170
mov ecx, dword [eax]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x94]
test eax, eax
jns 0x5a7946
push eax
call fcn.005a6bd5
pop ecx
push 0x10
push 0x5a0f68
push 0x5a0fdc
push 0
call dword [0x5b8140]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push dword [ebp - 0x30]
call dword [0x5b8128]
push dword [ebp - 0x10]
call dword [0x5b8128]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push ebx
call dword [0x5b8128]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0x2710
call dword [fcn.005b8010]
push 0
call fcn.005a88e1
int3