Function at 0x401280
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x17c
mov eax, dword [0x429040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0xc]
mov dword [ebp - 0x54], ecx
push eax
mov dword [ebp - 0xc], 8
mov dword [ebp - 8], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
test eax, eax
jne 0x401311
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x41
mov ebx, eax
call dword [sym.imp.USER32.dll_CharLowerW]
movzx edx, ax
mov ecx, 0x424338
lea eax, [ebp - 0x148]
push eax
call fcn.00401870
add esp, 4
lea edi, [ebp - 0xb8]
mov esi, eax
mov ecx, 0x17
mov eax, edi
push ebx
rep movsd dword es:[edi], dword [esi]
push eax
push 0x10
push str.Error
push 0
call fcn.00401190
add esp, 0x14
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b474
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov esi, eax
test esi, esi
jns 0x40138b
push 0x41
call dword [sym.imp.USER32.dll_CharLowerW]
movzx edx, ax
mov ecx, 0x4242f8
lea eax, [ebp - 0xa0]
push eax
call fcn.004018e0
add esp, 4
movups xmm0, xmmword [eax]
push esi
movups xmmword [ebp - 0x12c], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x11c], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ebp - 0x10c], xmm0
movq xmm0, qword [eax + 0x30]
movq qword [ebp - 0xfc], xmm0
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0xf4], ecx
mov ax, word [eax + 0x3c]
mov word [ebp - 0xf0], ax
lea eax, [ebp - 0x12c]
jmp 0x4012ee
push 0x42a584
push 0x423e34
push 0x17
push 0
push 0x424394
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jns 0x40140b
push 0x41
call dword [sym.imp.USER32.dll_CharLowerW]
movzx edx, ax
mov ecx, 0x4242b0
lea eax, [ebp - 0x138]
push eax
call fcn.00401950
add esp, 4
movups xmm0, xmmword [eax]
push esi
movups xmmword [ebp - 0xa8], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x98], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ebp - 0x88], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [ebp - 0x78], xmm0
mov ecx, dword [eax + 0x40]
mov dword [ebp - 0x68], ecx
mov ax, word [eax + 0x44]
mov word [ebp - 0x64], ax
lea eax, [ebp - 0xa8]
jmp 0x4012ee
mov ecx, dword [0x42a584]
push 0
push ecx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x2c], eax
push 0x41
test eax, eax
jns 0x4014ea
call dword [sym.imp.USER32.dll_CharLowerW]
movzx ecx, ax
lea eax, [ebp - 0xb0]
push 0x52
push 0
push eax
mov edi, ecx
mov ebx, ecx
call fcn.0040d270
add esp, 0xc
xor esi, esi
test esi, esi
jne 0x401462
mov ax, word [esi*2 + 0x424258]
xor ax, di
mov word [ebp + esi*2 - 0xb0], ax
inc esi
jmp 0x401448
lea edx, [esi - 1]
mov ecx, ebx
call fcn.00402c50
imul ecx, eax, 0x19660d
mov ax, word [esi*2 + 0x424258]
add ecx, 0x3c6ef35f
xor ax, cx
mov word [ebp + esi*2 - 0xb0], ax
inc esi
cmp esi, 0x29
jb 0x401448
movups xmm0, xmmword [ebp - 0xb0]
mov ax, word [ebp - 0x60]
push dword [ebp - 0x2c]
movups xmmword [ebp - 0x140], xmm0
mov word [ebp - 0xf0], ax
lea eax, [ebp - 0x140]
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
movups xmm0, xmmword [ebp - 0x70]
movups xmmword [ebp - 0x100], xmm0
jmp 0x4012ee
mov ebx, dword [sym.imp.USER32.dll_CharLowerW]
call ebx
movzx edx, ax
mov ecx, 0x424240
lea eax, [ebp - 0xe8]
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
movzx eax, ax
xorps xmm0, xmm0
mov edi, eax
mov ebx, eax
movups xmmword [ebp - 0x48], xmm0
xor esi, esi
nop dword [eax]
test esi, esi
jne 0x401557
mov ax, word [esi*2 + 0x424230]
xor ax, di
mov word [ebp + esi*2 - 0x48], ax
inc esi
jmp 0x401540
lea edx, [esi - 1]
mov ecx, ebx
call fcn.00402c50
imul ecx, eax, 0x19660d
mov ax, word [esi*2 + 0x424230]
add ecx, 0x3c6ef35f
xor ax, cx
mov word [ebp + esi*2 - 0x48], ax
inc esi
cmp esi, 8
jb 0x401540
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]
mov edi, dword [sym.imp.USER32.dll_CharLowerW]
push 0x41
call edi
movzx edx, ax
mov ecx, 0x424224
lea eax, [ebp - 0x48]
push eax
call fcn.00401aa0
add esp, 4
movq xmm0, qword [eax]
movq qword [ebp - 0xe4], xmm0
mov eax, dword [eax + 8]
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0xe4]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x4016b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x41
mov dword [ebp - 0x2c], eax
call edi
movzx ecx, ax
lea eax, [ebp - 0xa8]
push 0x4a
push 0
push eax
mov edi, ecx
mov ebx, ecx
call fcn.0040d270
add esp, 0xc
xor esi, esi
test esi, esi
jne 0x40162a
mov ax, word [esi*2 + 0x4241d8]
xor ax, di
mov word [ebp + esi*2 - 0xa8], ax
inc esi
jmp 0x401610
lea edx, [esi - 1]
mov ecx, ebx
call fcn.00402c50
imul ecx, eax, 0x19660d
mov ax, word [esi*2 + 0x4241d8]
add ecx, 0x3c6ef35f
xor ax, cx
mov word [ebp + esi*2 - 0xa8], ax
inc esi
cmp esi, 0x25
jb 0x401610
movups xmm0, xmmword [ebp - 0xa8]
mov ax, word [ebp - 0x60]
push dword [ebp - 0x2c]
movups xmmword [ebp - 0x138], xmm0
mov word [ebp - 0xf0], ax
lea eax, [ebp - 0x138]
movups xmm0, xmmword [ebp - 0x98]
movups xmmword [ebp - 0x128], xmm0
movups xmm0, xmmword [ebp - 0x88]
movups xmmword [ebp - 0x118], xmm0
movups xmm0, xmmword [ebp - 0x78]
movups xmmword [ebp - 0x108], xmm0
movq xmm0, qword [ebp - 0x68]
movq qword [ebp - 0xf8], xmm0
jmp 0x4012ee
push 0x41
call edi
xorps xmm0, xmm0
movzx ebx, ax
movups xmmword [ebp - 0x50], xmm0
xor esi, esi
mov word [ebp - 0x38], 0
movq qword [ebp - 0x40], xmm0
nop
test esi, esi
jne 0x4016e3
mov al, byte [esi + str.__IeK5]
xor al, bl
mov byte [ebp + esi - 0x50], al
inc esi
jmp 0x4016d0
lea edx, [esi - 1]
mov ecx, ebx
call fcn.00402c50
imul ecx, eax, 0x19660d
mov al, byte [esi + str.__IeK5]
add ecx, 0x3c6ef35f
xor al, cl
mov byte [ebp + esi - 0x50], al
inc esi
cmp esi, 0x1a
jb 0x4016d0
mov ax, word [ebp - 0x38]
movups xmm0, xmmword [ebp - 0x50]
mov word [ebp - 0x164], ax
lea eax, [ebp - 0x17c]
push eax
push dword [ebp - 0x2c]
movups xmmword [ebp - 0x17c], xmm0
movq xmm0, qword [ebp - 0x40]
movq qword [ebp - 0x16c], xmm0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x4017d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x41
mov dword [ebp - 0x2c], eax
call edi
movzx ecx, ax
lea eax, [ebp - 0xd0]
push 0x74
push 0
push eax
mov edi, ecx
mov ebx, ecx
call fcn.0040d270
add esp, 0xc
xor esi, esi
nop
test esi, esi
jne 0x40178a
mov ax, word [esi*2 + 0x424148]
xor ax, di
mov word [ebp + esi*2 - 0xd0], ax
inc esi
jmp 0x401770
lea edx, [esi - 1]
mov ecx, ebx
call fcn.00402c50
imul ecx, eax, 0x19660d
mov ax, word [esi*2 + 0x424148]
add ecx, 0x3c6ef35f
xor ax, cx
mov word [ebp + esi*2 - 0xd0], ax
inc esi
cmp esi, 0x3a
jb 0x401770
push dword [ebp - 0x2c]
lea edi, [ebp - 0x160]
mov ecx, 0x1d
lea esi, [ebp - 0xd0]
mov eax, edi
jmp 0x4012ec
push 0
push 0x401b10
push 0
call eax
push 0
push 0x402660
push 0
push 0x67
push dword [0x42a580]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
push dword [ebp - 0x54]
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 0x40184f
mov ebx, dword [sym.imp.USER32.dll_IsDialogMessageW]
nop
lea eax, [ebp - 0x28]
push eax
push esi
call ebx
test eax, eax
jne 0x40183f
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 0x401820
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x20]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0040b474
mov esp, ebp
pop ebp
ret