Function at 0x401250
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18c
mov eax, dword [0x428014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0xc]
mov dword [ebp - 0x30], ecx
push eax
mov dword [ebp - 0xc], 8
mov dword [ebp - 8], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
test eax, eax
jne 0x4012e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x41
mov ebx, eax
call dword [sym.imp.USER32.dll_CharLowerW]
movzx edx, ax
mov ecx, 0x423bb8
lea eax, [ebp - 0x158]
push eax
call fcn.004017d0
mov esi, eax
lea edi, [ebp - 0xc8]
mov ecx, 0x17
lea eax, [ebp - 0xc8]
add esp, 4
rep movsd dword es:[edi], dword [esi]
push ebx
push eax
push 0x10
push str.Error
push 0
call fcn.00401170
add esp, 0x14
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b05b
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov esi, eax
test esi, esi
jns 0x40135f
push 0x41
call dword [sym.imp.USER32.dll_CharLowerW]
movzx edx, ax
mov ecx, 0x423b78
lea eax, [ebp - 0xb0]
push eax
call fcn.00401830
add esp, 4
movups xmm0, xmmword [eax]
push esi
movups xmmword [ebp - 0x13c], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x12c], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ebp - 0x11c], xmm0
movq xmm0, qword [eax + 0x30]
movq qword [ebp - 0x10c], xmm0
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x104], ecx
mov ax, word [eax + 0x3c]
mov word [ebp - 0x100], ax
lea eax, [ebp - 0x13c]
jmp 0x4012c2
push 0x4295a4
push 0x4236b4
push 0x17
push 0
push 0x423c14
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jns 0x4013e2
push 0x41
call dword [sym.imp.USER32.dll_CharLowerW]
movzx edx, ax
mov ecx, 0x423b30
lea eax, [ebp - 0x148]
push eax
call fcn.00401890
add esp, 4
movups xmm0, xmmword [eax]
push esi
movups xmmword [ebp - 0xb8], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0xa8], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ebp - 0x98], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [ebp - 0x88], xmm0
mov ecx, dword [eax + 0x40]
mov dword [ebp - 0x78], ecx
mov ax, word [eax + 0x44]
mov word [ebp - 0x74], ax
lea eax, [ebp - 0xb8]
jmp 0x4012c2
mov ecx, dword [0x4295a4]
push 0
push ecx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebx, eax
push 0x41
test ebx, ebx
jns 0x4014ac
call dword [sym.imp.USER32.dll_CharLowerW]
push 0x52
movzx edi, ax
lea eax, [ebp - 0xc0]
push 0
push eax
call fcn.0040cde0
add esp, 0xc
xor esi, esi
nop word [eax + eax]
mov ecx, edi
test esi, esi
je 0x40143a
lea edx, [esi - 1]
call fcn.004029d0
imul ecx, eax, 0x19660d
add ecx, 0x3c6ef35f
mov ax, word [esi*2 + 0x423ad8]
xor ax, cx
mov word [ebp + esi*2 - 0xc0], ax
inc esi
cmp esi, 0x29
jb 0x401420
movups xmm0, xmmword [ebp - 0xc0]
mov ax, word [ebp - 0x70]
mov word [ebp - 0x100], ax
lea eax, [ebp - 0x150]
movups xmmword [ebp - 0x150], xmm0
movups xmm0, xmmword [ebp - 0xb0]
movups xmmword [ebp - 0x140], xmm0
movups xmm0, xmmword [ebp - 0xa0]
movups xmmword [ebp - 0x130], xmm0
movups xmm0, xmmword [ebp - 0x90]
movups xmmword [ebp - 0x120], xmm0
movups xmm0, xmmword [ebp - 0x80]
movups xmmword [ebp - 0x110], xmm0
jmp 0x4012c1
mov ebx, dword [sym.imp.USER32.dll_CharLowerW]
call ebx
movzx edx, ax
mov ecx, 0x423ac0
lea eax, [ebp - 0xf8]
push eax
call fcn.00401030
add esp, 4
movups xmm0, xmmword [eax]
push 0x800
push 0
movups xmmword [ebp - 0x48], xmm0
mov ax, word [eax + 0x10]
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x41
call ebx
xorps xmm0, xmm0
movzx edi, ax
movups xmmword [ebp - 0x48], xmm0
xor esi, esi
nop dword [eax + eax]
mov ecx, edi
test esi, esi
je 0x40151a
lea edx, [esi - 1]
call fcn.004029d0
imul ecx, eax, 0x19660d
add ecx, 0x3c6ef35f
mov ax, word [esi*2 + 0x423ab0]
xor ax, cx
mov word [ebp + esi*2 - 0x48], ax
inc esi
cmp esi, 8
jb 0x401500
movups xmm0, xmmword [ebp - 0x48]
push 0x800
push 0
lea eax, [ebp - 0x48]
push eax
movups xmmword [ebp - 0x48], xmm0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x41
call ebx
movzx edx, ax
mov ecx, 0x423aa4
lea eax, [ebp - 0x48]
push eax
call fcn.004018f0
add esp, 4
movq xmm0, qword [eax]
movq qword [ebp - 0xf4], xmm0
mov eax, dword [eax + 8]
mov dword [ebp - 0xec], eax
lea eax, [ebp - 0xf4]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x401644
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x41
mov dword [ebp - 0x2c], eax
call ebx
push 0x4a
movzx edi, ax
lea eax, [ebp - 0xb8]
push 0
push eax
call fcn.0040cde0
add esp, 0xc
xor esi, esi
mov ecx, edi
test esi, esi
je 0x4015cd
lea edx, [esi - 1]
call fcn.004029d0
imul ecx, eax, 0x19660d
add ecx, 0x3c6ef35f
mov ax, word [esi*2 + 0x423a58]
xor ax, cx
mov word [ebp + esi*2 - 0xb8], ax
inc esi
cmp esi, 0x25
jb 0x4015b3
movups xmm0, xmmword [ebp - 0xb8]
mov ax, word [ebp - 0x70]
push dword [ebp - 0x2c]
movups xmmword [ebp - 0x148], xmm0
mov word [ebp - 0x100], ax
lea eax, [ebp - 0x148]
movups xmm0, xmmword [ebp - 0xa8]
movups xmmword [ebp - 0x138], xmm0
movups xmm0, xmmword [ebp - 0x98]
movups xmmword [ebp - 0x128], xmm0
movups xmm0, xmmword [ebp - 0x88]
movups xmmword [ebp - 0x118], xmm0
movq xmm0, qword [ebp - 0x78]
movq qword [ebp - 0x108], xmm0
jmp 0x4012c2
push 0x41
call ebx
xorps xmm0, xmm0
movzx edi, ax
movups xmmword [ebp - 0x68], xmm0
xor esi, esi
mov word [ebp - 0x50], 0
movq qword [ebp - 0x58], xmm0
nop
mov ecx, edi
test esi, esi
je 0x40167a
lea edx, [esi - 1]
call fcn.004029d0
imul ecx, eax, 0x19660d
add ecx, 0x3c6ef35f
mov al, byte [esi + str.__IeK5]
xor al, cl
mov byte [ebp + esi - 0x68], al
inc esi
cmp esi, 0x1a
jb 0x401660
mov ax, word [ebp - 0x50]
movups xmm0, xmmword [ebp - 0x68]
mov word [ebp - 0x174], ax
lea eax, [ebp - 0x18c]
push eax
push dword [ebp - 0x2c]
movups xmmword [ebp - 0x18c], xmm0
movq xmm0, qword [ebp - 0x58]
movq qword [ebp - 0x17c], xmm0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x40173c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x41
mov dword [ebp - 0x2c], eax
call ebx
push 0x74
movzx edi, ax
lea eax, [ebp - 0xe0]
push 0
push eax
call fcn.0040cde0
add esp, 0xc
xor esi, esi
mov ecx, edi
test esi, esi
je 0x401702
lea edx, [esi - 1]
call fcn.004029d0
imul ecx, eax, 0x19660d
add ecx, 0x3c6ef35f
mov ax, word [esi*2 + 0x4239c8]
xor ax, cx
mov word [ebp + esi*2 - 0xe0], ax
inc esi
cmp esi, 0x3a
jb 0x4016e8
push dword [ebp - 0x2c]
mov ecx, 0x1d
lea esi, [ebp - 0xe0]
lea edi, [ebp - 0x170]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x170]
jmp 0x4012c2
push 0
push 0x401950
push 0
call eax
push 0
push 0x4023e0
push 0
push 0x67
push dword [0x4295a0]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
push dword [ebp - 0x30]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0x28]
push 0
push 0
push 0
push eax
call edi
test eax, eax
je 0x4017b5
mov ebx, dword [sym.imp.USER32.dll_IsDialogMessageW]
lea eax, [ebp - 0x28]
push eax
push esi
call ebx
test eax, eax
jne 0x4017a5
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0x28]
push eax
call edi
test eax, eax
jne 0x401786
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x20]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0040b05b
mov esp, ebp
pop ebp
ret