Function at 0x4037c0
Capabilities:
Accept command line arguments
Hide graphical window
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, eax
lea ecx, [esp + 0x90]
call fcn.00401ba0
lea edx, [esp + 0x90]
lea ecx, [esp + 0xa8]
call fcn.004013a0
xor eax, eax
mov dword [esp + 0x20], 0
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [esp + 0x10], xmm0
vmovdqu xmmword [esp + 0x60], xmm0
mov word [esp + 0x10], ax
xor esi, esi
mov word [esp + 0x60], ax
mov edi, 7
mov dword [esp + 0x38], eax
lea eax, [esp + 0x38]
push eax
push dword [ebp + 0x10]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x38], esi
je 0x403962
mov edx, dword [eax]
mov ecx, edx
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [esp + 0x40], xmm0
mov dword [esp + 0x50], esi
lea eax, [ecx + 2]
mov dword [esp + 0x54], esi
mov dword [esp + 0x8c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403872
sub ecx, dword [esp + 0x8c]
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x48]
call fcn.00401670
mov ecx, dword [esp + 0x24]
cmp ecx, 8
jb 0x4038cd
mov edx, dword [esp + 0x10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4038c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403bfe
push ecx
push edx
call fcn.00403e54
add esp, 8
vmovdqu xmm0, xmmword [esp + 0x40]
vmovdqu xmmword [esp + 0x10], xmm0
vmovq xmm0, qword [esp + 0x50]
lea edx, [esp + 0x10]
lea ecx, [esp + 0x40]
vmovq qword [esp + 0x20], xmm0
call fcn.004013a0
lea ecx, [esp + 0x60]
cmp ecx, eax
je 0x403922
vmovdqu xmm0, xmmword [eax]
vmovdqu xmmword [esp + 0x60], xmm0
vmovq xmm0, qword [eax + 0x10]
vmovq qword [esp + 0x70], xmm0
xor ecx, ecx
mov dword [eax + 0x10], esi
mov esi, dword [esp + 0x70]
mov dword [eax + 0x14], edi
mov edi, dword [esp + 0x74]
mov word [eax], cx
mov ecx, dword [esp + 0x54]
cmp ecx, 8
jb 0x40395e
mov edx, dword [esp + 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403954
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403c03
push ecx
push edx
call fcn.00403e54
add esp, 8
mov eax, dword [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [esp + 0xa4], 8
lea eax, [esp + 0x90]
push dword [esp + 0xa0]
cmovae eax, dword [esp + 0x94]
mov ecx, 0x417a18
push eax
call fcn.00403c10
cmp dword [esp + 0xbc], 8
lea eax, [esp + 0xa8]
push dword [esp + 0xb8]
cmovae eax, dword [esp + 0xac]
mov ecx, 0x417a48
push eax
call fcn.00403c10
cmp dword [esp + 0x24], 8
lea eax, [esp + 0x10]
push dword [esp + 0x20]
cmovae eax, dword [esp + 0x14]
mov ecx, 0x417a00
push eax
call fcn.00403c10
cmp edi, 8
lea eax, [esp + 0x60]
push esi
cmovae eax, dword [esp + 0x64]
mov ecx, 0x417a30
push eax
call fcn.00403c10
mov esi, dword [esp + 0x20]
test esi, esi
je 0x403ad3
cmp dword [esp + 0xa4], 8
lea edx, [esp + 0x90]
lea edi, [esp + 0x10]
cmovae edx, dword [esp + 0x90]
cmp dword [esp + 0x24], 8
cmovae edi, dword [esp + 0x10]
cmp esi, dword [esp + 0xa0]
jne 0x403a48
test esi, esi
je 0x403a44
sub edi, edx
movzx ecx, word [edx + edi]
movzx eax, word [edx]
cmp cx, ax
jne 0x403a48
add edx, 2
sub esi, 1
jne 0x403a30
mov al, 1
jmp 0x403a4a
xor al, al
test al, al
jne 0x403ad3
push 0
push 0x403390
push 0
push 0x66
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [esp + 0x40]
push 0
push 0
vpxor xmm0, xmm0, xmm0
push 0
push eax
vmovdqu xmmword [esp + 0x50], xmm0
vmovq qword [esp + 0x60], xmm0
mov dword [esp + 0x68], 0
call esi
test eax, eax
je 0x403ae7
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
cmp eax, 0xffffffff
je 0x403ace
lea eax, [esp + 0x40]
push eax
call edi
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [esp + 0x4c]
push eax
call esi
test eax, eax
jne 0x403aa4
jmp 0x403ae7
or esi, 0xffffffff
jmp 0x403ae9
push 0
push 0x4150b0
push 0x4150d8
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor esi, esi
mov ecx, dword [esp + 0x74]
cmp ecx, 8
jb 0x403b25
mov edx, dword [esp + 0x60]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403b1b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403c08
push ecx
push edx
call fcn.00403e54
add esp, 8
mov ecx, dword [esp + 0x24]
cmp ecx, 8
jb 0x403b61
mov edx, dword [esp + 0x10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403b57
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403c08
push ecx
push edx
call fcn.00403e54
add esp, 8
mov ecx, dword [esp + 0xbc]
xor eax, eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 7
mov word [esp + 0x10], ax
cmp ecx, 8
jb 0x403bb6
mov edx, dword [esp + 0xa8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403bac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403c08
push ecx
push edx
call fcn.00403e54
add esp, 8
mov ecx, dword [esp + 0xa4]
cmp ecx, 8
jb 0x403bf4
mov edx, dword [esp + 0x90]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403bea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403c08
push ecx
push edx
call fcn.00403e54
add esp, 8
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x10
call fcn.00405c1c
call fcn.00405c1c
call fcn.00405c1c
int3