Function at 0x10079ec
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4dc
mov eax, dword [0x100d608]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
call dword [sym.imp.USER32.dll_SetProcessDPIAware]
mov dword [0x100d908], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push edi
push 0x1001894
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_RegisterApplicationRestart]
cmp eax, edi
jl 0x1007e60
push 0x7b
push esi
call fcn.0100af33
push edi
mov dword [ebp - 0x20], edi
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x1007e58
push ebx
push 0x1001384
push esi
mov ebx, 0x100d878
push 0x100d018
mov ecx, ebx
call fcn.01003607
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, 0x1001950
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
mov dword [0x100d8fc], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x14]
movsw word es:[edi], word [esi]
xor esi, esi
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x1c], esi
call fcn.010028c9
mov dword [ebp - 0x14], eax
mov edi, 0x10017c8
cmp eax, esi
je 0x1007d6a
inc dword [ebp - 0x1c]
push 0x100193c
lea ecx, [ebp - 0x1ac]
call fcn.01005d94
push 0xffffffffffffffff
lea eax, [ebp - 0x1ac]
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x2bc]
call fcn.01005d94
mov ecx, eax
call fcn.010064d7
neg eax
sbb al, al
inc al
lea ecx, [ebp - 0x2bc]
mov byte [ebp - 0xd], al
mov dword [ebp - 0x2bc], edi
call fcn.01004813
lea ecx, [ebp - 0x1ac]
mov dword [ebp - 0x1ac], edi
call fcn.01004813
cmp byte [ebp - 0xd], 0
jne 0x1007c2c
push 0x1001924
lea ecx, [ebp - 0x1ac]
call fcn.01005d94
push 0xffffffffffffffff
lea eax, [ebp - 0x1ac]
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x2bc]
call fcn.01005d94
mov ecx, eax
call fcn.010064d7
neg eax
sbb al, al
inc al
lea ecx, [ebp - 0x2bc]
mov byte [ebp - 0xd], al
mov dword [ebp - 0x2bc], edi
call fcn.01004813
lea ecx, [ebp - 0x1ac]
mov dword [ebp - 0x1ac], edi
call fcn.01004813
cmp byte [ebp - 0xd], 0
jne 0x1007ca1
lea eax, [ebp - 0x2bc]
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x3cc]
call fcn.01005d94
mov ecx, eax
call fcn.010063c2
push 0xc
push esi
lea ecx, [ebp - 0x1ac]
push ecx
mov ecx, eax
call fcn.010063e6
push 0x1001908
lea ecx, [ebp - 0x4dc]
call fcn.01005d94
push eax
lea eax, [ebp - 0x1ac]
push eax
call fcn.01005d74
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 0xd], al
mov dword [ebp - 0x1ac], edi
call fcn.01004813
lea ecx, [ebp - 0x2bc]
mov dword [ebp - 0x2bc], edi
call fcn.01004813
lea ecx, [ebp - 0x3cc]
mov dword [ebp - 0x3cc], edi
call fcn.01004813
lea ecx, [ebp - 0x4dc]
mov dword [ebp - 0x4dc], edi
call fcn.01004813
cmp byte [ebp - 0xd], 0
jne 0x1007d6a
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x14]
call fcn.010028c9
mov dword [ebp - 0x14], eax
cmp eax, esi
jne 0x1007aac
jmp 0x1007d1c
push esi
push 1
push 0x65
push ebx
call fcn.010067a6
push esi
push 1
push 0xdf
push ebx
call fcn.010067a6
push esi
push 1
push ebx
call fcn.010054f4
push 1
push 1
push 0x67
push 0x66
push 0x65
push 0x1001a34
mov dword [ebp - 0x20], eax
mov esi, 0x1001394
push esi
xor eax, eax
call fcn.0100728f
push 1
push 1
push 0x67
push 0x66
push 0x65
push 0x1001a44
push esi
xor eax, eax
call fcn.0100728f
push 1
push 1
push 0x67
push 0x66
push 0x65
push 0x1001a54
push esi
xor eax, eax
call fcn.0100728f
push 1
push 1
jmp 0x1007d03
push esi
push esi
push 0x65
push ebx
call fcn.010067a6
push esi
push 1
push ebx
call fcn.010055a6
push esi
push esi
push 0x67
push 0x66
push 0x65
push 0x1001a34
mov dword [ebp - 0x20], eax
mov esi, 0x1001394
push esi
xor eax, eax
call fcn.0100728f
push 0
push 0
push 0x67
push 0x66
push 0x65
push 0x1001a44
push esi
xor eax, eax
call fcn.0100728f
push 0
push 0
push 0x67
push 0x66
push 0x65
push 0x1001a54
push esi
xor eax, eax
call fcn.0100728f
push 0
push 0
push 0x67
push 0x66
push 0x65
push 0x1001a64
push esi
xor eax, eax
call fcn.0100728f
and dword [ebp - 0x18], 0
xor esi, esi
cmp dword [ebp - 0x1c], esi
je 0x1007d6a
cmp dword [ebp - 0x18], esi
je 0x1007e4b
mov ecx, ebx
call fcn.010035bc
push esi
push 4
push ebx
call fcn.01003394
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x1007d4f
lea eax, [ebp - 0x9c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push esi
push esi
push esi
lea eax, [ebp - 0x9c]
push eax
call edi
test eax, eax
jne 0x1007d42
push ebx
call fcn.010033e9
jmp 0x1007e4b
push 0x10018b8
push esi
push esi
call fcn.0100abe7
cmp eax, esi
jge 0x1007e4b
mov ecx, 0x80070422
cmp eax, ecx
je 0x1007de1
push 0x5c
lea eax, [ebp - 0x7c]
push esi
push eax
call sub.msvcrt.dll_memset
mov eax, dword [0x100d908]
add esp, 0xc
push esi
push esi
mov dword [ebp - 0x78], eax
push esi
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x60
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x70], 0x20
mov dword [ebp - 0x6c], 0x79
mov dword [ebp - 0x68], 0xffff
mov dword [ebp - 0x64], 0x99
mov dword [ebp - 0x60], 0x98
call dword [0x1001d00]
jmp 0x1007e4b
push ecx
lea eax, [ebp - 0x3cc]
push eax
call fcn.0100a889
push dword [0x100d908]
mov eax, dword [eax + 0x104]
push 0x79
lea ecx, [ebp - 0x4dc]
mov dword [ebp - 0x18], eax
call fcn.01006328
push esi
push 0xfffe
push 0x20
push esi
push dword [ebp - 0x18]
push dword [eax + 0x104]
push dword [0x100d908]
push esi
call dword [fcn.01001cfc]
lea ecx, [ebp - 0x4dc]
mov dword [ebp - 0x4dc], edi
call fcn.01004813
lea ecx, [ebp - 0x3cc]
mov dword [ebp - 0x3cc], edi
call fcn.01004813
push ebx
call fcn.01004066
call dword [sym.imp.ole32.dll_CoUninitialize]
pop ebx
call fcn.0100b011
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0100a24f
leave
ret 0x10