Function at 0x76b892
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x54
mov ebx, 0x789408
mov dword [ebp - 0x40], 0
lea eax, [ebp - 0x40]
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.0076b7f4
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.0076b7f4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x76b952
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.0076b5b6
mov byte [ebp - 0x1d], al
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
cmp byte [ebp - 0x1d], al
je 0x76b91b
mov eax, dword [ebp - 0x1c]
add eax, 1
movzx eax, byte [eax]
cmp byte [ebp - 0x1d], al
je 0x76b91b
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.DLL_ExitProcess]
call eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.0076b75d
mov dword [ebp - 0x24], eax
add dword [ebp - 0x1c], 4
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
cmp dword [ebp - 0x24], eax
je 0x76b952
mov eax, dword [ebp - 0x1c]
add eax, 4
mov eax, dword [eax]
cmp dword [ebp - 0x24], eax
je 0x76b952
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.DLL_ExitProcess]
call eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x48], 0
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
call eax
sub esp, 8
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0xc], 0
mov edx, dword [ebx]
mov eax, dword [ebp - 0xc]
cmp edx, eax
seta al
test al, al
je 0x76b9df
mov edx, dword [ebx + 0x3c]
mov eax, dword [ebp - 0xc]
add eax, edx
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x28]
add eax, edx
mov edx, dword [ebp - 0x38]
add edx, ecx
mov dword [eax], edx
mov edx, dword [ebx + 0x24]
mov eax, dword [ebp - 0xc]
add eax, edx
mov dword [ebp - 0xc], eax
jmp 0x76b9ab
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.0076b63a
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x76bad4
mov eax, dword [ebx + 8]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x20]
lea eax, [ebp - 0x48]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
call eax
sub esp, 0x10
mov eax, dword [ebx + 0xc]
mov edx, eax
mov eax, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0xc], 8
mov edx, dword [ebx + 0x20]
mov eax, dword [ebp - 0xc]
cmp edx, eax
seta al
test al, al
je 0x76ba78
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x30]
add eax, edx
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x2c]
add eax, edx
mov edx, dword [ebp - 0x38]
add edx, ecx
mov dword [eax], edx
mov edx, dword [ebx + 0x24]
mov eax, dword [ebp - 0xc]
add eax, edx
mov dword [ebp - 0xc], eax
jmp 0x76ba43
mov edx, dword [ebx + 0x38]
mov eax, dword [ebp - 0x2c]
add eax, 8
mov dword [eax], edx
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebx + 0x20]
lea eax, [ebp - 0x48]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
call eax
sub esp, 0x10
mov edx, dword [ebx + 0x18]
mov eax, dword [ebp - 0x2c]
add eax, 0xc
mov eax, dword [eax]
add edx, eax
mov eax, dword [ebp - 0x2c]
add eax, edx
mov dword [ebp - 0x44], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
call eax
jmp 0x76bad5
nop
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.DLL_ExitProcess]
call eax
nop
nop
nop