Function at 0x4105dc
Capabilities:
Accept command line arguments

Disassembly:
push 0x468
mov eax, 0x41db5f
call fcn.0041d4e5
mov esi, dword [ebp + 8]
push 0x403344
mov dword [ebp - 0x438], esi
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
test eax, eax
je 0x410621
push 0x403358
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x410621
push 1
mov ecx, esi
call dword [0x420468]
call esi
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x470]
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x438]
xor ebx, ebx
push 0x402620
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x440], ebx
mov dword [0x41f804], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
jne 0x4106df
mov esi, 0x208
lea eax, [ebp - 0x420]
push esi
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
cmp dword [0x41f510], 4
mov esi, 0x103
push esi
push eax
jne 0x4106a4
push 0xbda
jmp 0x4106a6
push 2
push edi
call dword [sym.imp.USER32.dll_LoadStringW]
push esi
lea eax, [ebp - 0x420]
push eax
push 0x42
push edi
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x30
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
call fcn.0041d482
ret 0x10
call fcn.00413a7f
test eax, eax
je 0x4106d5
call fcn.004142d2
test eax, eax
je 0x4106d5
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x4106d5
lea edi, [ebp - 0x430]
mov esi, 0x402690
cmp dword [0x41f514], ebx
je 0x410714
mov esi, 0x4026b0
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x444]
push eax
push 0x4026a0
lea eax, [ebp - 0x430]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
inc edi
push edi
push ebx
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4109e4
push dword [ebp - 0x444]
lea ecx, [ebp - 0x44c]
call fcn.0041692e
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x410767
mov eax, dword [ecx]
push edi
push ecx
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x420468]
call esi
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x44c]
mov dword [ebp - 0x44c], 0x40184c
call fcn.00410af1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x454]
push dword [ebp - 0x444]
call fcn.00416990
xor ecx, ecx
mov word [ebp - 0x43c], cx
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4107c8
mov eax, dword [ecx]
mov esi, dword [eax + 0x18]
lea eax, [ebp - 0x43c]
push eax
push ecx
mov ecx, esi
call dword [0x420468]
call esi
test eax, eax
js 0x4107c8
mov si, word [ebp - 0x43c]
jmp 0x4107d1
xor esi, esi
mov word [ebp - 0x43c], si
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x454]
mov dword [ebp - 0x454], 0x40184c
call fcn.00410af1
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x444]
mov word [0x41f010], si
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x420468]
call esi
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
lea eax, [ebp - 0x440]
push eax
push 0x402578
push edi
push ebx
push 0x402598
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x41084e
mov ecx, dword [ebp - 0x440]
test ecx, ecx
je 0x41084e
mov eax, dword [ecx]
lea edx, [ebp - 0x474]
push edx
push ecx
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x420468]
call esi
mov eax, dword [0x41f510]
sub eax, 1
je 0x4109dc
sub eax, 1
je 0x4109bc
xor edx, edx
mov ecx, 0x41f57e
call fcn.00410563
test eax, eax
jne 0x4109d4
push 0xc
call fcn.0041ca14
mov edi, eax
pop ecx
test edi, edi
je 0x4109e4
mov esi, dword [ebp - 0x438]
mov ecx, edi
mov dword [edi + 4], ebx
mov dword [edi], esi
mov dword [edi + 8], ebx
push dword [0x41f514]
mov dword [ebp - 0x434], edi
push 0x41f57e
call fcn.00412ca7
test eax, eax
je 0x4109e6
lea eax, [edi + 4]
mov ecx, dword [eax]
mov dword [ebp - 0x438], eax
test ecx, ecx
je 0x4109e6
cmp dword [ecx + 8], 0
je 0x4108e4
push dword [ebp + 0x14]
push dword [ecx + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x438]
cmp dword [0x41f514], 1
jne 0x410901
cmp dword [0x41f510], 4
je 0x410901
mov ecx, dword [eax]
test ecx, ecx
je 0x410901
call fcn.00408a91
mov eax, dword [ebp - 0x438]
mov eax, dword [eax]
test eax, eax
je 0x410912
mov ecx, dword [eax + 8]
jmp 0x410914
mov ecx, ebx
call fcn.00412e80
push 0x7c
push esi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov esi, dword [ebp - 0x434]
mov edi, esi
push ebx
push ebx
mov dword [ebp - 0x448], eax
lea eax, [ebp - 0x470]
push ebx
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x4109ab
mov edi, dword [ebp - 0x438]
mov dword [ebp - 0x434], esi
mov esi, dword [ebp - 0x448]
mov eax, dword [edi]
test eax, eax
je 0x410977
cmp dword [eax + 8], 0
je 0x410977
lea ecx, [ebp - 0x470]
push ecx
push esi
push dword [eax + 8]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x410991
lea eax, [ebp - 0x470]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x470]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x470]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x410956
mov edi, dword [ebp - 0x434]
cmp dword [ebp - 0x46c], 0x12
jne 0x4109e6
mov ebx, dword [ebp - 0x468]
jmp 0x4109e6
call fcn.00413fa3
mov word [0x41f010], ax
xor edx, edx
mov ecx, dword [ebp - 0x438]
call fcn.0041448a
mov edi, dword [ebp - 0x434]
jmp 0x4109e6
mov edx, dword [0x41f538]
jmp 0x4109c9
mov edi, ebx
mov ecx, dword [ebp - 0x440]
test ecx, ecx
je 0x410a16
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x420468]
call esi
mov eax, dword [ebp - 0x440]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x420468]
call esi
test edi, edi
je 0x410a29
mov ecx, edi
call fcn.00412c5f
push edi
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void__]
pop ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
jmp 0x4106d7