Function at 0x56731d
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov dword [ebp - 0xa0], 0x61c8fc
mov dword [ebp - 0x9c], 0
mov eax, 0
lea edx, [ebp - 0x9c]
mov ecx, eax
call fcn.0056725d
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov edx, 0
mov ecx, eax
call fcn.0056725d
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax]
test eax, eax
je 0x567464
mov eax, dword [ebp - 0x84]
mov ecx, eax
call fcn.00566fe7
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov byte [ebp - 0xa4], al
movzx eax, byte [ebp - 0xa4]
movzx eax, al
mov edx, dword [ebp - 0x7c]
movzx edx, byte [edx]
movzx edx, dl
cmp eax, edx
je 0x567417
movzx eax, byte [ebp - 0xa4]
movzx eax, al
mov edx, 1
add edx, dword [ebp - 0x7c]
movzx edx, byte [edx]
movzx edx, dl
cmp eax, edx
je 0x567417
push eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_ExitProcess]
call eax
mov eax, dword [ebp - 0x84]
mov ecx, eax
call fcn.005671ac
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x44], eax
mov eax, 4
add eax, dword [ebp - 0x7c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x7c]
mov edx, dword [edx]
cmp eax, edx
je 0x567464
mov eax, dword [ebp - 0x44]
mov edx, 4
add edx, dword [ebp - 0x7c]
mov edx, dword [edx]
cmp eax, edx
je 0x567464
push eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_ExitProcess]
call eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 4
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x60], eax
add esp, 0xfffffff8
mov dword [esp], 0x40
mov eax, dword [ebp - 0x60]
mov dword [esp + 4], eax
mov eax, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
call eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x48]
cmp eax, edx
jae 0x56751b
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x6c]
add eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x50]
add edx, dword [eax]
mov eax, dword [ebp - 0x6c]
add eax, dword [ebp - 0x74]
mov dword [eax], edx
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x6c]
mov dword [ebp - 0x6c], eax
jmp 0x5674cf
mov eax, dword [ebp - 0x88]
mov edx, dword [ebp - 0x74]
mov ecx, eax
call fcn.00567086
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x56768f
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 4]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x54]
add esp, 0xfffffff0
mov edx, dword [ebp - 0x68]
mov dword [esp], edx
mov edx, dword [ebp - 0x30]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x2c]
mov dword [esp + 8], edx
lea edx, [ebp - 0x64]
mov dword [esp + 0xc], edx
call eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x94]
mov dword [ebp - 0x58], eax
mov eax, 4
add eax, dword [ebp - 0x58]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x6c], 8
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x20]
cmp eax, edx
jae 0x5675fb
mov eax, dword [ebp - 0x6c]
add eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x50]
add edx, dword [eax]
mov eax, dword [ebp - 0x6c]
add eax, dword [ebp - 0x68]
mov dword [eax], edx
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x6c]
mov dword [ebp - 0x6c], eax
jmp 0x5675bb
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov edx, 8
add edx, dword [ebp - 0x68]
mov dword [edx], eax
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x54]
add esp, 0xfffffff0
mov edx, dword [ebp - 0x68]
mov dword [esp], edx
mov edx, dword [ebp - 0x14]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x64]
mov dword [esp + 8], edx
lea edx, [ebp - 0x64]
mov dword [esp + 0xc], edx
call eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x68]
mov edx, 0xc
add edx, dword [ebp - 0x68]
add eax, dword [edx]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 0x34]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x68]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
mov edx, dword [ebp - 0x68]
mov dword [esp], edx
call eax
add esp, 4
push eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_ExitProcess]
call eax
nop
nop
mov al, 4
sub esp, 8
mov ebx, dword [ebp - 0x50]
cmp ebx, 0x18
jne 0x56759e
jmp 0x5676df
lea eax, [ebp - 0x4c]
mov dword [esp], eax
call fcn.004cf200
mov eax, dword [ebp - 0x54]
mov ebx, dword [ebp - 4]
leave
ret 4