Function at 0x413c0e
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x634
mov eax, dword [0x41d0e8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x628], edx
push 0x20
mov dword [ebp - 0x624], ecx
mov ebx, esi
call fcn.0041b020
mov edi, eax
mov dword [ebp - 0x620], edi
pop ecx
test edi, edi
je 0x413c63
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], esi
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], esi
mov dword [edi], esi
jmp 0x413c65
mov edi, esi
test edi, edi
je 0x413e08
push dword [0x41d4ec]
mov ecx, edi
call fcn.0041295e
test eax, eax
je 0x413e08
mov ecx, edi
call fcn.00412f4c
push 0x44
mov dword [0x41d760], eax
call fcn.0041b020
mov dword [ebp - 0x620], eax
pop ecx
test eax, eax
je 0x413cb3
push ecx
push dword [edi + 0x10]
mov ecx, eax
push dword [edi + 0xc]
push dword [edi + 8]
call fcn.0041078f
mov ebx, eax
test ebx, ebx
je 0x413e6e
push 0x208
lea eax, [ebp - 0x20c]
push esi
push eax
call sub.msvcrt.dll_memset
push 0x208
lea eax, [ebp - 0x414]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
push 0x402f90
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.msvcrt.dll_wcsstr]
mov dword [ebp - 0x620], eax
pop ecx
pop ecx
test eax, eax
je 0x413d15
mov ecx, 0x402f90
call fcn.0040862a
mov ecx, dword [ebp - 0x620]
lea eax, [ecx + eax*2]
jmp 0x413d17
mov eax, esi
test eax, eax
je 0x413d3c
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x414]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_wcsncpy_s]
add esp, 0x10
cmp eax, 0x50
je 0x413e6e
push 0x103
lea eax, [ebp - 0x20c]
push eax
push 0x53
pop edx
call fcn.00412f67
lea eax, [ebp - 0x20c]
push eax
push 0x403138
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x413d71
mov ecx, eax
call fcn.0040fed7
mov edx, eax
jmp 0x413d73
mov edx, esi
test edx, edx
je 0x413dca
lea ecx, [ebp - 0x414]
lea eax, [ecx + 2]
mov dword [ebp - 0x620], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x413d86
sub ecx, dword [ebp - 0x620]
sar ecx, 1
je 0x413e03
lea eax, [ebp - 0x414]
mov dword [ebp - 0x634], esi
mov dword [ebp - 0x62c], eax
lea eax, [ebp - 0x634]
push eax
push esi
push 0x4a
push edx
mov dword [ebp - 0x630], 0x208
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x413e03
lea eax, [ebp - 0x414]
mov ecx, ebx
push eax
call fcn.00410908
push esi
mov ecx, ebx
call fcn.0041095e
push esi
mov ecx, ebx
call fcn.004109b8
push esi
push 0x83
push edi
push esi
push dword [ebp - 0x628]
mov ecx, ebx
push dword [ebp - 0x624]
call fcn.00410a12
xor esi, esi
inc esi
jmp 0x413e6e
push 0x208
lea eax, [ebp - 0x61c]
push esi
push eax
call sub.msvcrt.dll_memset
push 0x208
lea eax, [ebp - 0x20c]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0x103
push eax
push 2
pop edx
call fcn.00412f67
push 0x103
lea eax, [ebp - 0x61c]
push eax
push 0x2f
pop edx
call fcn.00412f67
push 0x30
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
test edi, edi
je 0x413e7a
push ecx
mov ecx, edi
call fcn.00412521
test ebx, ebx
je 0x413e8d
mov ecx, ebx
call fcn.004108cc
push ebx
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void__]
pop ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b570
leave
ret