Function at 0x6bac1740
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x214
mov eax, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
call eax
mov dword [ebp - 0x10], eax
mov dword [esp + 8], 0xff
lea eax, [ebp - 0x13b]
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call eax
sub esp, 0xc
mov dword [ebp - 0xc], 0
jmp 0x6bac17af
lea eax, [ebp - 0x13b]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov edx, dword [ebp - 0xc]
add eax, edx
sub eax, 0xf
movzx eax, byte [ebp + eax - 0x13b]
lea ecx, [ebp - 0x14a]
mov edx, dword [ebp - 0xc]
add edx, ecx
mov byte [edx], al
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0xe
jle 0x6bac1780
mov dword [ebp - 0x157], 0xf13281d
mov dword [ebp - 0x153], 0x765c1f1f
mov dword [ebp - 0x14f], 0x4207174b
mov byte [ebp - 0x14b], 0
mov dword [esp + 8], 0xc
lea eax, [ebp - 0x157]
mov dword [esp + 4], eax
lea eax, [ebp - 0x14a]
mov dword [esp], eax
call fcn.6bac14e0
mov dword [ebp - 0x167], 0x2d02290e
mov dword [ebp - 0x163], 0x300e131d
mov dword [ebp - 0x15f], 0x570e3800
mov dword [ebp - 0x15b], 0x320020
mov dword [esp + 8], 0xf
lea eax, [ebp - 0x167]
mov dword [esp + 4], eax
lea eax, [ebp - 0x14a]
mov dword [esp], eax
call fcn.6bac14e0
mov dword [ebp - 0x178], 0x3f02290e
mov dword [ebp - 0x174], 0x3d1d131a
mov dword [ebp - 0x170], 0x5b071233
mov dword [ebp - 0x16c], 0xb1d3d00
mov byte [ebp - 0x168], 0
mov dword [esp + 8], 0x10
lea eax, [ebp - 0x178]
mov dword [esp + 4], eax
lea eax, [ebp - 0x14a]
mov dword [esp], eax
call fcn.6bac14e0
mov dword [ebp - 0x188], 0x3d02290e
mov dword [ebp - 0x184], 0x2124020a
mov dword [ebp - 0x180], 0x420a251c
mov dword [ebp - 0x17c], 0x321d10
mov dword [esp + 8], 0xf
lea eax, [ebp - 0x188]
mov dword [esp + 4], eax
lea eax, [ebp - 0x14a]
mov dword [esp], eax
call fcn.6bac14e0
mov dword [ebp - 0x194], 0x2d02290e
mov dword [ebp - 0x190], 0x211c1903
mov dword [ebp - 0x18c], 0x12162e
mov dword [esp + 8], 0xb
lea eax, [ebp - 0x194]
mov dword [esp + 4], eax
lea eax, [ebp - 0x14a]
mov dword [esp], eax
call fcn.6bac14e0
lea eax, [ebp - 0x157]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call eax
sub esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x6bac1c4f
lea eax, [ebp - 0x167]
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 - 0x18], eax
lea eax, [ebp - 0x178]
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 - 0x1c], eax
lea eax, [ebp - 0x188]
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 - 0x20], eax
lea eax, [ebp - 0x194]
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 - 0x24], eax
cmp dword [ebp - 0x18], 0
jne 0x6bac19c7
cmp dword [ebp - 0x1c], 0
jne 0x6bac19c7
cmp dword [ebp - 0x20], 0
jne 0x6bac19c7
cmp dword [ebp - 0x24], 0
je 0x6bac1c4f
mov eax, esp
mov ebx, eax
mov dword [ebp - 0x1da], 0x1a03230f
mov dword [ebp - 0x1d6], 0x211d1718
mov dword [ebp - 0x1d2], 0x4d023e39
mov dword [ebp - 0x1ce], 0x33161717
mov dword [ebp - 0x1ca], 0x3832112a
mov dword [ebp - 0x1c6], 0xa20011f
mov dword [ebp - 0x1c2], 0x26721804
mov dword [ebp - 0x1be], 0x292e170d
mov dword [ebp - 0x1ba], 0x13391a0b
mov dword [ebp - 0x1b6], 0x1c0c371d
mov dword [ebp - 0x1b2], 0xd377205
mov word [ebp - 0x1ae], 0xb
mov dword [esp + 8], 0x2d
lea eax, [ebp - 0x1da]
mov dword [esp + 4], eax
lea eax, [ebp - 0x14a]
mov dword [esp], eax
call fcn.6bac14e0
mov dword [ebp - 0x28], 0x2e
mov eax, dword [ebp - 0x28]
mov edx, eax
sub edx, 1
mov dword [ebp - 0x2c], edx
lea edx, [eax + eax]
mov eax, 0x10
sub eax, 1
add eax, edx
mov ecx, 0x10
mov edx, 0
div ecx
imul eax, eax, 0x10
call fcn.6bac28b0
sub esp, eax
lea eax, [esp + 0x24]
add eax, 1
shr eax, 1
add eax, eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 8], eax
lea eax, [ebp - 0x1da]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call sub.msvcrt.dll_mbstowcs
mov dword [ebp - 0x1a3], 0x10b2910
mov dword [ebp - 0x19f], 0x212b1919
mov word [ebp - 0x19b], 0x1816
mov byte [ebp - 0x199], 0
mov dword [esp + 8], 0xa
lea eax, [ebp - 0x1a3]
mov dword [esp + 4], eax
lea eax, [ebp - 0x14a]
mov dword [esp], eax
call fcn.6bac14e0
mov dword [ebp - 0x28], 0xb
mov eax, dword [ebp - 0x28]
mov edx, eax
sub edx, 1
mov dword [ebp - 0x34], edx
lea edx, [eax + eax]
mov eax, 0x10
sub eax, 1
add eax, edx
mov ecx, 0x10
mov edx, 0
div ecx
imul eax, eax, 0x10
call fcn.6bac28b0
sub esp, eax
lea eax, [esp + 0x24]
add eax, 1
shr eax, 1
add eax, eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 8], eax
lea eax, [ebp - 0x1a3]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sub.msvcrt.dll_mbstowcs
mov dword [esp + 0x20], 0
lea eax, [ebp - 0x198]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x20006
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
mov dword [esp], 0x80000001
mov eax, dword [ebp - 0x18]
call eax
sub esp, 0x24
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x1ac], 0
mov eax, dword [ebp - 0x198]
lea edx, [ebp - 0x1ac]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], 0
lea edx, [ebp - 0x1a8]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov edx, dword [ebp - 0x38]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [ebp - 0x1c]
call eax
sub esp, 0x18
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x6bac1c4d
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sub.msvcrt.dll_wcslen
add eax, 1
lea edx, [eax + eax]
mov eax, dword [ebp - 0x198]
mov dword [esp + 0x14], edx
mov edx, dword [ebp - 0x10]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 1
mov edx, dword [ebp - 0x38]
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, dword [ebp - 0x20]
call eax
sub esp, 0x18
mov dword [ebp - 0x3c], eax
mov esp, ebx
mov dword [esp], 0x7530
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
jmp 0x6bac1c4f