Function at 0x44a6c8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x50
mov ebx, 0x4f7ec4
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
call eax
sub esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call eax
sub esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_LocalAlloc]
call eax
sub esp, 8
mov dword [ebp - 0x18], eax
mov dword [esp + 8], 0x104
mov eax, dword [ebp - 0x18]
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call eax
sub esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.0044a5ff
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x44a7c0
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.0044a657
mov byte [ebp - 0x1d], al
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
cmp byte [ebp - 0x1d], al
je 0x44a789
mov eax, dword [ebp - 0x1c]
add eax, 1
movzx eax, byte [eax]
cmp byte [ebp - 0x1d], al
je 0x44a789
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.0044a682
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 0x44a7c0
mov eax, dword [ebp - 0x1c]
add eax, 4
mov eax, dword [eax]
cmp dword [ebp - 0x24], eax
je 0x44a7c0
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_ExitProcess]
call eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x44], 0
mov esi, dword [ebx + 0xc]
mov eax, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
call eax
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_HeapAlloc]
call eax
sub esp, 0xc
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
cmp dword [ebp - 0xc], 0x3f
jg 0x44a849
mov edx, dword [ebx + 0x2c]
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
retf 0x1089
add dword [ebp - 0xc], 4
jmp 0x44a824
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x44a938
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x2c], eax
mov edx, dword [ebx + 0x20]
lea eax, [ebp - 0x44]
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp + 4], 0x7000
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
call eax
sub esp, 0x10
mov eax, dword [ebx]
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
cmp dword [ebp - 0xc], 0x6fff
jg 0x44a8db
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
add dword [ebp - 0xc], 4
jmp 0x44a8b3
mov edx, dword [ebx + 0x44]
mov eax, dword [ebp - 0x2c]
add eax, 8
mov dword [eax], edx
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x44]
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp + 4], 0x7000
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
call eax
sub esp, 0x10
mov edx, dword [ebx + 0x24]
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 - 0x40], eax
mov eax, dword [ebx + 0x24]
add dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
call eax
jmp 0x44a939
nop
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_ExitProcess]
call eax