Function at 0x116f850
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
push esi
push edi
xor edi, edi
push 0x20a
lea eax, [ebp - 0x218]
push edi
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], edi
call sub.msvcrt.dll_memset
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi + 0x14]
add esp, 0xc
push ecx
push edi
push edi
mov edi, dword [ebp + 8]
mov edx, dword [edi + 0x60]
lea eax, [esi + 0x468]
push eax
push 0x101bc34
mov dword [ebp + 0xc], eax
mov eax, dword [edi]
push edx
push eax
call fcn.010ef100
cmp dword [esi + 0x18c], 0
mov ebx, eax
jne 0x116fad9
test ebx, ebx
jne 0x116f8bf
mov dword [ebp - 0xc], eax
cmp dword [esi + 8], 0
jne 0x116fad3
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x218]
push eax
push 0x1015b3c
push edi
call fcn.010cb190
test eax, eax
je 0x116fa89
cmp dword [ebp - 8], 0x9000d3e
jae 0x116f907
lea ecx, [ebp - 0x218]
push ecx
push esi
push edi
call fcn.0116eed0
jmp 0x116fae0
test ebx, ebx
je 0x116f982
cmp dword [ebp - 4], 0
jne 0x116f964
mov ebx, dword [ebp + 0xc]
mov edx, dword [edi + 8]
mov eax, dword [ebx]
mov ecx, dword [edx + 0x1c4]
push eax
call ecx
lea edx, [ebp - 0x218]
mov dword [ebx], 0
mov eax, dword [edi]
push edx
push eax
call fcn.011096f0
test eax, eax
jne 0x116f949
lea ecx, [ebp - 0x218]
push ecx
push esi
push edi
call fcn.0116eed0
mov edx, dword [esi]
mov ecx, dword [edi]
push 5
push 0
push edx
lea eax, [ebp - 0x218]
push eax
push ecx
call fcn.0102e5e0
jmp 0x116fae0
push esi
push edi
call fcn.0114a6c0
test eax, eax
jne 0x116fae0
mov dword [esi + 0x464], 1
jmp 0x116fad3
cmp dword [ebp - 4], 0
jne 0x116f9c8
cmp dword [esi + 0x460], 0
jne 0x116f9c8
cmp dword [esi + 0x24], 0
jne 0x116f9c8
cmp dword [esi + 0x30], 0
jne 0x116f9c8
cmp dword [esi + 0x34], 0
jne 0x116f9c8
cmp dword [esi + 0x174], 0
jne 0x116f9c8
cmp dword [esi + 0x28], 0
jne 0x116f9c8
cmp dword [esi + 0x178], 0
jne 0x116f9c8
cmp dword [esi + 0x54], 0
jne 0x116f9c8
mov dword [esi + 0x24], 1
push 0xf51
push 8
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x116fa5a
push 0
push 0xfa0
push ebx
mov dword [ebx], 1
mov edx, dword [edi + 0x5c]
push 0x1013fd4
push edi
mov dword [ebx + 8], edx
call fcn.0109b170
test eax, eax
je 0x116fa54
cmp dword [esi + 0x6c4], 0
je 0x116fa29
mov eax, dword [edi]
push eax
call fcn.010ba030
test eax, eax
jne 0x116fa25
mov ecx, dword [esi]
push ecx
push edi
call fcn.010e7d00
jmp 0x116fa54
push 1
jmp 0x116fa4e
cmp dword [esi + 0x6c8], 0
je 0x116fa36
push 2
jmp 0x116fa4e
cmp dword [esi + 0x6cc], 0
je 0x116fa43
push 3
jmp 0x116fa4e
cmp dword [esi + 0x6d0], 0
je 0x116fa54
push 4
push edi
call fcn.010fb2a0
push ebx
call fcn.0102add0
push esi
push edi
call fcn.0114a6c0
cmp dword [ebp - 4], 0
je 0x116fad3
cmp dword [esi + 0x460], 0
je 0x116fad3
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
push eax
push edi
call fcn.010fa170
mov dword [esi + 0x460], 0
jmp 0x116fad3
test ebx, ebx
je 0x116facc
push 0xb
push edi
call fcn.01058660
test eax, eax
jne 0x116fad3
push 7
push edi
mov dword [esi + 0x10], 1
call fcn.010dfa70
cmp eax, 1
jne 0x116fad3
mov edx, dword [edi]
push edx
call fcn.010ba030
test eax, eax
jne 0x116fad3
push edi
call fcn.010e0430
test eax, eax
je 0x116fad3
push esi
push edi
call fcn.01070dd0
jmp 0x116fae0
push esi
push edi
call fcn.0114a6c0
cmp dword [ebp - 0xc], 0
je 0x116fae0
push esi
push edi
call fcn.0116ece0
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
test eax, eax
je 0x116fb00
cmp eax, 0xffffffff
je 0x116fb00
mov ecx, dword [edi + 8]
mov edx, dword [ecx + 0x1c4]
push eax
call edx
mov dword [esi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8