Function at 0x100e39f
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x103b018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x238], edi
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
mov esi, 0x103c4e0
push esi
call fcn.0100dd79
push 0x1001850
mov dword [0x103c500], 0x100145c
mov dword [0x103b010], esi
call fcn.0100de4a
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
mov esi, 0x10014b8
test eax, eax
jne 0x100e463
mov eax, dword [0x103b010]
cmp eax, 0x103b010
je 0x100e463
test byte [eax + 0x1c], 4
je 0x100e463
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x103b010]
push esi
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100dce0
push edi
lea ecx, [ebp - 0x234]
call fcn.0100df56
cmp eax, ebx
jge 0x100e4a8
mov ecx, dword [0x103b010]
cmp ecx, 0x103b010
je 0x100e73e
test byte [ecx + 0x1c], 4
je 0x100e73e
push eax
push 0x1001810
push esi
push 0xb
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01020599
jmp 0x100e73e
push 0x10017e8
lea ecx, [ebp - 0x220]
call fcn.0100df03
cmp eax, ebx
jge 0x100e4e3
mov ecx, dword [0x103b010]
cmp ecx, 0x103b010
je 0x100e73e
test byte [ecx + 0x1c], 4
je 0x100e73e
push eax
push 0x1001798
push esi
push 0xc
jmp 0x100e498
call fcn.0100e095
cmp eax, ebx
jge 0x100e513
mov ecx, dword [0x103b010]
cmp ecx, 0x103b010
je 0x100e73e
test byte [ecx + 0x1c], 4
je 0x100e73e
push eax
push 0x100175c
push esi
push 0xd
jmp 0x100e498
xor eax, eax
inc eax
push eax
push 0x64
mov dword [ebp - 0x224], eax
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
push 2
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, ebx
jge 0x100e55c
mov ecx, dword [0x103b010]
cmp ecx, 0x103b010
je 0x100e73e
test byte [ecx + 0x1c], 4
je 0x100e73e
push eax
push 0x100172c
push esi
push 0xe
jmp 0x100e498
mov edi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
call edi
push ebx
push dword [ebp - 0x238]
mov ecx, 0x103c448
push ebx
call fcn.0100e1b3
cmp eax, ebx
jge 0x100e5a4
mov ecx, dword [0x103b010]
cmp ecx, 0x103b010
je 0x100e73e
test byte [ecx + 0x1c], 4
je 0x100e73e
push eax
push 0x1001700
push esi
push 0xf
jmp 0x100e498
lea eax, [ebp - 0x214]
push eax
mov dword [ebp - 0x21c], 1
call edi
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
mov dword [ebp - 0x218], edi
cmp edi, ebx
je 0x100e718
cmp dword [ebp - 0x214], 2
jne 0x100e718
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
jne 0x100e625
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov eax, dword [0x103b010]
cmp eax, 0x103b010
je 0x100e73e
test byte [eax + 0x1c], 4
je 0x100e73e
call edi
push eax
mov eax, dword [0x103b010]
push esi
push 0x11
jmp 0x100e733
push dword [edi + 4]
lea eax, [ebp - 0x20c]
push dword [ebp - 0x228]
push 0x100148c
push 0x104
push eax
call fcn.0101f0a7
add esp, 0x14
cmp eax, 0x8007007a
jne 0x100e650
xor eax, eax
cmp eax, ebx
jge 0x100e67e
mov ecx, dword [0x103b010]
cmp ecx, 0x103b010
je 0x100e73e
test byte [ecx + 0x1c], 4
je 0x100e73e
push eax
push 0x10016a8
push esi
push 0x12
jmp 0x100e498
mov eax, dword [0x103b010]
cmp eax, 0x103b010
je 0x100e6a5
test byte [eax + 0x1c], 4
je 0x100e6a5
lea ecx, [ebp - 0x20c]
push ecx
push esi
push 0x13
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100dd0c
lea eax, [ebp - 0x210]
push eax
push dword [edi + 4]
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x230]
call fcn.010231f0
cmp eax, ebx
jge 0x100e6e7
mov ecx, dword [0x103b010]
cmp ecx, 0x103b010
je 0x100e73e
test byte [ecx + 0x1c], 4
je 0x100e73e
push eax
push 0x1001670
push esi
push 0x14
jmp 0x100e498
mov ecx, dword [ebp - 0x210]
mov eax, dword [ecx]
call dword [eax + 0x14]
cmp eax, ebx
jge 0x100e73e
mov ecx, dword [0x103b010]
cmp ecx, 0x103b010
je 0x100e73e
test byte [ecx + 0x1c], 4
je 0x100e73e
push eax
push 0x1001638
push esi
push 0x15
jmp 0x100e498
mov eax, dword [0x103b010]
cmp eax, 0x103b010
je 0x100e73e
test byte [eax + 0x1c], 4
je 0x100e73e
push dword [ebp - 0x214]
push esi
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100dce0
mov ecx, dword [ebp - 0x210]
cmp ecx, ebx
je 0x100e759
mov eax, dword [ecx]
call dword [eax + 0x18]
push ebx
lea ecx, [ebp - 0x210]
call fcn.01024217
cmp dword [ebp - 0x218], ebx
je 0x100e76d
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x21c], ebx
je 0x100e780
push 0x103c448
call dword [sym.imp.ATL.DLL_AtlModuleTerm]
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [ebp - 0x224], ebx
je 0x100e7b7
mov eax, dword [0x103b010]
cmp eax, 0x103b010
je 0x100e7ae
test byte [eax + 0x1c], 4
je 0x100e7ae
push esi
push 0x16
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100dedd
push ebx
push 0xffffffffffffffff
push ebx
call sub.WTSAPI32.dll_WTSLogoffSession
lea ecx, [ebp - 0x234]
call fcn.0100e353
call fcn.0100de98
lea ecx, [ebp - 0x234]
call fcn.0100e31c
lea ecx, [ebp - 0x220]
call fcn.0100dc95
mov eax, dword [ebp - 0x210]
cmp eax, ebx
je 0x100e7f3
mov dword [ebp - 0x210], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 0xd3d
pop ebx
call fcn.0100eb9a
leave
ret 0x10