Function at 0x403429
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
push esi
push edi
push str.4C2DB4FD_3F54_477b_B6B6_BE5D5C9271DD
xor edi, edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
xor ebx, ebx
mov dword [esp + 0x1c], eax
cmp eax, edi
je 0x40367c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x403672
call fcn.0040102e
mov ecx, eax
call fcn.00401080
test eax, eax
je 0x403672
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
cmp esi, edi
je 0x4035ae
test esi, 0xffff0000
jne 0x4035b2
movzx eax, si
mov esi, 0x40b430
push edi
mov ecx, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
call fcn.00407e00
mov dword [esp + 0x18], 1
jmp 0x403514
cmp dword [esp + 0x14], edi
jne 0x40351a
mov eax, dword [esp + 0x10]
shr eax, 4
inc eax
push edi
movzx eax, ax
push eax
push 6
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
cmp eax, edi
jne 0x4034f0
mov dword [esp + 0x14], edi
jmp 0x403505
push eax
mov eax, dword [esp + 0x14]
push ebx
call fcn.004038d6
pop ecx
pop ecx
mov dword [esp + 0x14], eax
cmp eax, edi
jne 0x40351c
push dword [esp + 0x18]
mov ecx, esi
call fcn.00407e00
inc dword [esp + 0x18]
mov ebx, eax
cmp ebx, edi
jne 0x4034ca
xor ebx, ebx
cmp ebx, edi
je 0x4035c6
mov eax, dword [esp + 0x10]
shr eax, 4
inc eax
movzx eax, ax
push 6
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, edi
je 0x4035c6
push eax
mov eax, dword [esp + 0x14]
push ebx
call fcn.004038d6
mov ebx, eax
pop ecx
pop ecx
cmp ebx, edi
je 0x4035c6
movzx edi, word [ebx]
push edi
lea esi, [esp + 0x10]
call fcn.004038a1
mov esi, eax
movzx eax, word [ebx]
add ebx, 2
cmp eax, 0xffffffff
jne 0x403577
push ebx
call dword [sym.imp.MSVCR100.dll_wcslen]
pop ecx
inc eax
push eax
push ebx
push edi
push esi
call dword [sym.imp.MSVCR100.dll_wmemcpy_s]
push eax
call fcn.0040377d
add esp, 0x14
test edi, edi
js 0x4035a4
mov eax, dword [esp + 0xc]
cmp edi, dword [eax - 8]
jg 0x4035a4
xor ecx, ecx
mov dword [eax - 0xc], edi
mov word [eax + edi*2], cx
xor edi, edi
jmp 0x4035c6
push 0x80070057
call fcn.004027b1
xor eax, eax
jmp 0x4035ba
push esi
call dword [sym.imp.MSVCR100.dll_wcslen]
pop ecx
mov ebx, eax
push esi
lea eax, [esp + 0x10]
call fcn.004036af
mov esi, dword [esp + 0xc]
cmp dword [esi - 0xc], edi
jl 0x4035f5
push str.delay
push esi
call dword [sym.imp.MSVCR100.dll_wcsstr]
pop ecx
pop ecx
cmp eax, edi
je 0x4035f5
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x4035f5
push 0x7530
call dword [sym.imp.KERNEL32.dll_Sleep]
lea esi, [esp + 0x20]
mov dword [esp + 0x20], 0x40972c
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
call fcn.004039d5
mov ebx, eax
call fcn.0040102e
push dword [eax + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, dword [sym.imp.MSVCR100.dll_free]
cmp dword [esp + 0x30], edi
je 0x403645
push dword [esp + 0x30]
call esi
pop ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
cmp dword [esp + 0x24], edi
je 0x40365e
push dword [esp + 0x24]
call esi
pop ecx
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.00403930
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x10