Function at 0x40ff3c
Capabilities:
Accept command line arguments

Disassembly:
push 0x468
mov eax, 0x41bef9
call fcn.0041b992
mov esi, dword [ebp + 8]
push 0x403338
mov dword [ebp - 0x438], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40ff81
push 0x40334c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x40ff81
push 1
mov ecx, esi
call dword [0x41e42c]
call esi
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x470]
xor esi, esi
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x438]
mov ebx, esi
push 0x402bb8
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x444], esi
mov dword [0x41d7dc], 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 0x410041
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 [0x41d4e8], 4
mov esi, 0x103
push esi
push eax
jne 0x410006
push 0xbda
jmp 0x410008
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.0041b950
ret 0x10
call fcn.00413223
test eax, eax
je 0x410037
call fcn.00413a5c
test eax, eax
je 0x410037
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x410037
lea edi, [ebp - 0x430]
mov esi, 0x4025f4
cmp dword [0x41d4ec], ebx
je 0x410076
mov esi, 0x402614
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x440]
push eax
push 0x402604
push 1
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x430]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
push edi
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x410323
push dword [ebp - 0x440]
lea ecx, [ebp - 0x44c]
call fcn.00415ff7
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4100ca
mov eax, dword [ecx]
push 1
push ecx
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x41e42c]
call esi
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x44c]
mov dword [ebp - 0x44c], 0x401844
call fcn.00410436
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x454]
push dword [ebp - 0x440]
call fcn.00416051
xor ecx, ecx
mov word [ebp - 0x434], cx
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x41012b
mov eax, dword [ecx]
lea edx, [ebp - 0x434]
push edx
push ecx
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x41e42c]
call esi
test eax, eax
js 0x41012b
mov si, word [ebp - 0x434]
jmp 0x410134
xor esi, esi
mov word [ebp - 0x434], si
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x454]
mov dword [ebp - 0x454], 0x401844
call fcn.00410436
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x440]
mov word [0x41d010], si
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x41e42c]
call esi
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
lea eax, [ebp - 0x43c]
push eax
push 0x4031a8
push 1
push edi
push 0x4031c8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4101b6
mov ecx, dword [ebp - 0x43c]
test ecx, ecx
je 0x4101b6
mov eax, dword [ecx]
lea edx, [ebp - 0x474]
push edx
push ecx
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x41e42c]
call esi
mov eax, dword [0x41d4e8]
sub eax, 1
je 0x410312
sub eax, 1
je 0x410303
push edi
push 0x41d556
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x4101e6
mov ecx, eax
call fcn.0040fed7
jmp 0x4101e8
mov eax, edi
test eax, eax
jne 0x410323
push 0xc
call fcn.0041b020
mov esi, dword [ebp - 0x438]
mov ebx, eax
pop ecx
test ebx, ebx
je 0x41020e
mov dword [ebx + 4], edi
mov dword [ebx], esi
mov dword [ebx + 8], edi
jmp 0x410210
mov ebx, edi
test ebx, ebx
je 0x410323
push dword [0x41d4ec]
mov ecx, ebx
push 0x41d556
call fcn.004125c2
test eax, eax
je 0x410323
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x410323
mov eax, dword [ecx + 8]
test eax, eax
je 0x410251
push dword [ebp + 0x14]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebx + 4]
cmp dword [0x41d4ec], 1
mov eax, ecx
jne 0x410271
cmp dword [0x41d4e8], 4
je 0x410271
test ecx, ecx
je 0x410271
call fcn.00408547
mov eax, dword [ebx + 4]
test eax, eax
je 0x41027a
mov ecx, dword [eax + 8]
jmp 0x41027c
mov ecx, edi
call fcn.0041279a
push 0x7c
push esi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov esi, eax
jmp 0x4102d8
mov eax, dword [ebx + 4]
test eax, eax
je 0x41029a
mov ecx, dword [eax + 8]
jmp 0x41029c
mov ecx, edi
test ecx, ecx
je 0x4102be
test eax, eax
je 0x4102a9
mov eax, dword [eax + 8]
jmp 0x4102ab
mov eax, edi
lea ecx, [ebp - 0x470]
push ecx
push esi
push eax
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x4102d8
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 edi
push edi
push edi
lea eax, [ebp - 0x470]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x41028e
cmp dword [ebp - 0x46c], 0x12
jne 0x410323
mov eax, dword [ebp - 0x468]
mov dword [ebp - 0x444], eax
jmp 0x410323
call fcn.00413735
mov word [0x41d010], ax
xor edx, edx
jmp 0x410318
mov edx, dword [0x41d510]
mov ecx, dword [ebp - 0x438]
call fcn.00413c0e
mov ecx, dword [ebp - 0x43c]
test ecx, ecx
je 0x410353
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x41e42c]
call esi
mov eax, dword [ebp - 0x43c]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x41e42c]
call esi
test ebx, ebx
je 0x41038d
mov edi, dword [ebx + 4]
test edi, edi
je 0x410374
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x41e42c]
mov ecx, edi
call esi
and dword [ebx + 4], 0
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x410385
push ecx
call fcn.00412521
and dword [ebx + 8], 0
push ebx
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void__]
pop ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x444]
jmp 0x410039