Function at 0x405170
Capabilities:
Extract resource via kernel32 functions
Shutdown system
Write file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41d776
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2d8
mov eax, dword [0x429040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xb4], esi
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0
push eax
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.004044f0
push 0x41
test eax, eax
je 0x40526f
call dword [sym.imp.USER32.dll_CharLowerW]
movzx edx, ax
mov ecx, 0x425fc0
lea eax, [ebp - 0x1c0]
push eax
call fcn.00406530
mov esi, eax
lea edi, [ebp - 0x290]
mov ecx, 0x1c
add esp, 4
rep movsd dword es:[edi], dword [esi]
push 0x41
movsw word es:[edi], word [esi]
call dword [sym.imp.USER32.dll_CharLowerW]
movzx edx, ax
mov ecx, 0x426034
lea eax, [ebp - 0xf8]
push eax
call fcn.00401aa0
add esp, 4
movq xmm0, qword [eax]
movq qword [ebp - 0xe8], xmm0
mov eax, dword [eax + 8]
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0x290]
push eax
push 0x10
lea eax, [ebp - 0xe8]
push eax
mov eax, dword [ebp - 0xb4]
push dword [eax]
call fcn.00401190
add esp, 0x10
jmp 0x4064dc
call dword [sym.imp.USER32.dll_CharLowerW]
movzx edx, ax
mov ecx, 0x425f94
lea eax, [ebp - 0x130]
push eax
call fcn.004050f0
add esp, 4
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x174], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x164], xmm0
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x154], ecx
mov ax, word [eax + 0x24]
mov word [ebp - 0x150], ax
lea eax, [ebp - 0x174]
push eax
push esi
call fcn.00403670
add esp, 8
lea ecx, [ebp - 0xac]
call fcn.00403320
mov byte [ebp - 4], 1
call fcn.0040a1e0
test eax, eax
je 0x405326
push pe_nt_image_headers32
movzx eax, ax
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x405326
push esi
push 0x400000
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0x400000
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test edi, edi
je 0x405326
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xb8], eax
jmp 0x40532e
xor esi, esi
mov dword [ebp - 0xb8], esi
cmp dword [ebp - 0x98], 7
lea eax, [ebp - 0xac]
mov dword [ebp - 0xe0], esi
cmova eax, dword [ebp - 0xac]
xor edi, edi
push edi
push 0x80
push 2
push edi
push 7
push 2
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xb0], eax
cmp eax, 0xffffffff
je 0x40539e
push edi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x74], edi
push ecx
push esi
push dword [ebp - 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x405388
cmp dword [ebp - 0x74], esi
je 0x405390
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push dword [ebp - 0xb0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4053a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov esi, dword [sym.imp.USER32.dll_CharLowerW]
push 0x41
call esi
movzx edx, ax
mov ecx, 0x425f58
lea eax, [ebp - 0x140]
push eax
call fcn.004023b0
add esp, 4
movups xmm0, xmmword [eax]
push edi
movups xmmword [ebp - 0x188], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x178], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ebp - 0x168], xmm0
movq xmm0, qword [eax + 0x30]
movq qword [ebp - 0x158], xmm0
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x188]
push eax
mov eax, dword [ebp - 0xb4]
push eax
call fcn.00403670
add esp, 0xc
test edi, edi
je 0x4055c0
mov edx, edi
lea ecx, [ebp - 0x11c]
call fcn.0040ab90
mov byte [ebp - 4], 2
movups xmm0, xmmword [eax]
push 0x41
movups xmmword [ebp - 0xd0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xe8], xmm0
call esi
movzx eax, ax
push 0x52
mov edi, eax
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0x270]
push 0
push eax
call fcn.0040d270
add esp, 0xc
xor esi, esi
test esi, esi
jne 0x405482
mov ax, word [esi*2 + 0x425ef8]
xor ax, di
mov word [ebp + esi*2 - 0x270], ax
inc esi
jmp 0x405468
mov ecx, dword [ebp - 0xb0]
lea edx, [esi - 1]
call fcn.00402c50
imul ecx, eax, 0x19660d
mov ax, word [esi*2 + 0x425ef8]
add ecx, 0x3c6ef35f
xor ax, cx
mov word [ebp + esi*2 - 0x270], ax
inc esi
cmp esi, 0x29
jb 0x405468
movups xmm0, xmmword [ebp - 0x270]
mov ax, word [ebp - 0x220]
mov word [ebp - 0x150], ax
mov eax, dword [sym.imp.USER32.dll_CharLowerW]
movups xmmword [ebp - 0x1a0], xmm0
push 0x41
movups xmm0, xmmword [ebp - 0x260]
movups xmmword [ebp - 0x190], xmm0
movups xmm0, xmmword [ebp - 0x250]
movups xmmword [ebp - 0x180], xmm0
movups xmm0, xmmword [ebp - 0x240]
movups xmmword [ebp - 0x170], xmm0
movups xmm0, xmmword [ebp - 0x230]
movups xmmword [ebp - 0x160], xmm0
call eax
movzx edx, ax
mov ecx, 0x425f4c
lea eax, [ebp - 0x88]
push eax
call fcn.00401aa0
sub esp, 0x14
movq xmm0, qword [eax]
movq qword [ebp - 0xf8], xmm0
mov eax, dword [eax + 8]
movups xmm0, xmmword [ebp - 0xd0]
mov dword [ebp - 0xf0], eax
mov eax, esp
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0xe8]
movq qword [eax + 0x10], xmm0
lea eax, [ebp - 0x1a0]
push eax
push 0x10
lea eax, [ebp - 0xf8]
push eax
mov eax, dword [ebp - 0xb4]
push dword [eax]
call fcn.00401190
mov ecx, dword [ebp - 0x108]
add esp, 0x28
cmp ecx, 7
jbe 0x40647f
mov edx, dword [ebp - 0x11c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4055b1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406506
push ecx
push edx
call fcn.0040b482
add esp, 8
jmp 0x40647f
push 0x41
call esi
movzx edx, ax
mov ecx, 0x425ed8
lea eax, [ebp - 0xd8]
push eax
call fcn.00403e70
add esp, 4
lea ecx, [ebp - 0x120]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x120], xmm0
movq xmm0, qword [eax + 0x10]
mov ax, word [eax + 0x18]
movq qword [ebp - 0x110], xmm0
mov word [ebp - 0x108], ax
call fcn.00403ee0
push 0x41
mov dword [ebp - 0x74], eax
call esi
movzx ecx, ax
lea eax, [ebp - 0x288]
push 0x66
push 0
push eax
mov edi, ecx
mov dword [ebp - 0xb0], ecx
call fcn.0040d270
add esp, 0xc
xor esi, esi
nop
test esi, esi
jne 0x40564a
mov ax, word [esi*2 + 0x425e70]
xor ax, di
mov word [ebp + esi*2 - 0x288], ax
inc esi
jmp 0x405630
mov ecx, dword [ebp - 0xb0]
lea edx, [esi - 1]
call fcn.00402c50
imul ecx, eax, 0x19660d
mov ax, word [esi*2 + 0x425e70]
add ecx, 0x3c6ef35f
xor ax, cx
movzx eax, ax
mov word [ebp + esi*2 - 0x288], ax
inc esi
cmp esi, 0x33
jb 0x405630
mov ecx, 0x19
lea esi, [ebp - 0x288]
lea edi, [ebp - 0x1b8]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x1b8]
movsw word es:[edi], word [esi]
mov esi, dword [ebp - 0x74]
push esi
push eax
push dword [ebp - 0xb4]
call fcn.00403670
add esp, 0xc
test esi, esi
je 0x4057ad
mov edx, esi
lea ecx, [ebp - 0x11c]
call fcn.0040ab90
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 7
jbe 0x4056d5
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
mov eax, dword [sym.imp.USER32.dll_CharLowerW]
push 0x41
call eax
movzx edx, ax
mov ecx, 0x425e10
lea eax, [ebp - 0x1a0]
push eax
call fcn.00402490
mov esi, eax
lea edi, [ebp - 0x270]
mov ecx, 0x13
add esp, 4
rep movsd dword es:[edi], dword [esi]
push 0x41
movsw word es:[edi], word [esi]
call dword [sym.imp.USER32.dll_CharLowerW]
movzx edx, ax
mov ecx, 0x425e60
lea eax, [ebp - 0x88]
push eax
call fcn.00401aa0
mov esi, dword [ebp - 0xb4]
add esp, 4
movq xmm0, qword [eax]
push dword [ebp - 0x74]
movq qword [ebp - 0xf8], xmm0
mov eax, dword [eax + 8]
mov dword [ebp - 0xf0], eax
lea eax, [ebp - 0x270]
push eax
push 0x10
lea eax, [ebp - 0xf8]
push eax
push dword [esi]
call fcn.00401190
mov byte [ebp - 4], 1
add esp, 0x14
mov ecx, dword [ebp - 0x108]
cmp ecx, 7
jbe 0x4057a1
mov edx, dword [ebp - 0x11c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405797
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40650b
push ecx
push edx
call fcn.0040b482
add esp, 8
mov ecx, esi
call fcn.004044f0
jmp 0x40647f
mov esi, dword [sym.imp.USER32.dll_CharLowerW]
push 0x41
call esi
movzx edx, ax
mov ecx, 0x425df4
lea eax, [ebp - 0xd8]
push eax
call fcn.00403e70
lea ecx, [ebp - 0x120]
add esp, 4
lea edx, [ecx + 2]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x120], xmm0
movq xmm0, qword [eax + 0x10]
mov ax, word [eax + 0x18]
movq qword [ebp - 0x110], xmm0
xorps xmm0, xmm0
mov word [ebp - 0x108], ax
movups xmmword [ebp - 0xd8], xmm0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405817
sub ecx, edx
lea eax, [ebp - 0x120]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xd8]
call fcn.00409b10
xorps xmm0, xmm0
mov dword [ebp - 0x70], 0x1c
movups xmmword [ebp - 0x6c], xmm0
movups xmm0, xmmword [ebp - 0xd8]
movups xmmword [ebp - 0x6c], xmm0
movq xmm0, qword [ebp - 0xc8]
movq qword [ebp - 0x5c], xmm0
push 0x41
mov byte [ebp - 4], 4
call esi
movzx eax, ax
xorps xmm0, xmm0
mov edi, eax
mov dword [ebp - 0x74], eax
movups xmmword [ebp - 0xd8], xmm0
xor esi, esi
movq qword [ebp - 0xc8], xmm0
test esi, esi
jne 0x4058a0
mov ax, word [esi*2 + 0x425ddc]
xor ax, di
mov word [ebp + esi*2 - 0xd8], ax
inc esi
mov eax, dword [ebp - 0x74]
jmp 0x405883
lea edx, [esi - 1]
mov ecx, eax
call fcn.00402c50
imul ecx, eax, 0x19660d
mov ax, word [esi*2 + 0x425ddc]
add ecx, 0x3c6ef35f
xor ax, cx
movzx eax, ax
mov word [ebp + esi*2 - 0xd8], ax
inc esi
mov eax, dword [ebp - 0x74]
cmp esi, 0xc
jb 0x405883
movups xmm0, xmmword [ebp - 0xd8]
lea ecx, [ebp - 0x90]
lea edx, [ecx + 2]
movups xmmword [ebp - 0x90], xmm0
movq xmm0, qword [ebp - 0xc8]
movq qword [ebp - 0x80], xmm0
xorps xmm0, xmm0
movups xmmword [ebp - 0xd8], xmm0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405917
sub ecx, edx
lea eax, [ebp - 0x90]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xd8]
call fcn.00409b10
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0x34
movups xmmword [ebp - 0x50], xmm0
movups xmm0, xmmword [ebp - 0xd8]
movups xmmword [ebp - 0x50], xmm0
movq xmm0, qword [ebp - 0xc8]
movq qword [ebp - 0x40], xmm0
push 0x41
mov byte [ebp - 4], 5
call dword [sym.imp.USER32.dll_CharLowerW]
movzx edx, ax
mov ecx, 0x425db4
lea eax, [ebp - 0x130]
push eax
call fcn.004050f0
add esp, 4
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
movups xmm0, xmmword [eax]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x154], ecx
lea ecx, [ebp - 0x174]
movups xmmword [ebp - 0x174], xmm0
lea edx, [ecx + 2]
movups xmm0, xmmword [eax + 0x10]
mov ax, word [eax + 0x24]
mov word [ebp - 0x150], ax
movups xmmword [ebp - 0x164], xmm0
xorps xmm0, xmm0
movups xmmword [ebp - 0xd8], xmm0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4059d2
sub ecx, edx
lea eax, [ebp - 0x174]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xd8]
call fcn.00409b10
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0x38
movups xmmword [ebp - 0x34], xmm0
movups xmm0, xmmword [ebp - 0xd8]
movups xmmword [ebp - 0x34], xmm0
movq xmm0, qword [ebp - 0xc8]
movq qword [ebp - 0x24], xmm0
mov esi, dword [ebp - 0xb4]
lea edi, [ebp - 0x6c]
mov byte [ebp - 4], 6
mov dword [ebp - 0xb0], edi
nop dword [eax]
mov eax, dword [edi - 4]
push 0
push 0
push 0xf0
push dword [eax + esi]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
jne 0x405c9d
cmp dword [edi + 0x14], 7
mov ecx, edi
jbe 0x405a58
mov ecx, dword [edi]
call fcn.00403ee0
cmp dword [edi + 0x14], 7
mov esi, eax
mov dword [ebp - 0x74], edi
jbe 0x405a6d
mov eax, dword [edi]
mov dword [ebp - 0x74], eax
push 0x41
call dword [sym.imp.USER32.dll_CharLowerW]
movzx edx, ax
mov ecx, 0x425d60
lea eax, [ebp - 0x1a0]
push eax
call fcn.004019c0
add esp, 4
movups xmm0, xmmword [eax]
push esi
push dword [ebp - 0x74]
movups xmmword [ebp - 0x270], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x260], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ebp - 0x250], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [ebp - 0x240], xmm0
movups xmm0, xmmword [eax + 0x40]
movups xmmword [ebp - 0x230], xmm0
mov ax, word [eax + 0x50]
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x270]
push eax
push dword [ebp - 0xb4]
call fcn.00403670
add esp, 0x10
test esi, esi
je 0x405c97
mov edx, esi
lea ecx, [ebp - 0x11c]
call fcn.0040ab90
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 7
jbe 0x405b0d
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
cmp dword [edi + 0x14], 7
mov dword [ebp - 0xb8], edi
jbe 0x405b21
mov eax, dword [edi]
mov dword [ebp - 0xb8], eax
push 0x41
call dword [sym.imp.USER32.dll_CharLowerW]
movzx eax, ax
mov ecx, eax
mov dword [ebp - 0xe0], eax
push 0x4c
lea eax, [ebp - 0x198]
mov dword [ebp - 0xfc], ecx
push 0
push eax
call fcn.0040d270
mov edi, dword [ebp - 0xfc]
add esp, 0xc
xor esi, esi
test esi, esi
jne 0x405b6f
mov ax, word [esi*2 + 0x425d00]
xor ax, di
mov word [ebp + esi*2 - 0x198], ax
inc esi
jmp 0x405b55
mov ecx, dword [ebp - 0xe0]
lea edx, [esi - 1]
call fcn.00402c50
imul ecx, eax, 0x19660d
mov ax, word [esi*2 + 0x425d00]
add ecx, 0x3c6ef35f
xor ax, cx
movzx eax, ax
mov word [ebp + esi*2 - 0x198], ax
inc esi
cmp esi, 0x26
jb 0x405b55
movups xmm0, xmmword [ebp - 0x198]
mov eax, dword [ebp - 0x150]
mov edi, dword [ebp - 0xb0]
movups xmmword [ebp - 0x268], xmm0
push 0x41
movups xmm0, xmmword [ebp - 0x188]
mov dword [ebp - 0x220], eax
movups xmmword [ebp - 0x258], xmm0
movups xmm0, xmmword [ebp - 0x178]
movups xmmword [ebp - 0x248], xmm0
movups xmm0, xmmword [ebp - 0x168]
movups xmmword [ebp - 0x238], xmm0
movq xmm0, qword [ebp - 0x158]
movq qword [ebp - 0x228], xmm0
call dword [sym.imp.USER32.dll_CharLowerW]
movzx edx, ax
mov ecx, 0x425d4c
lea eax, [ebp - 0x88]
push eax
call fcn.00401a30
mov esi, dword [ebp - 0xb4]
add esp, 4
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x268]
push dword [ebp - 0x74]
movups xmmword [ebp - 0xd0], xmm0
push dword [ebp - 0xb8]
push eax
push 0x30
lea eax, [ebp - 0xd0]
push eax
push dword [esi]
call fcn.00401190
mov byte [ebp - 4], 6
add esp, 0x18
mov ecx, dword [ebp - 0x108]
cmp ecx, 7
jbe 0x405c9d
mov edx, dword [ebp - 0x11c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405c8b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406506
push ecx
push edx
call fcn.0040b482
add esp, 8
jmp 0x405c9d
mov esi, dword [ebp - 0xb4]
add edi, 0x1c
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xb0], edi
lea eax, [edi - 4]
cmp eax, ecx
jne 0x405a30
push 0
push 0
push 0xf0
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
jne 0x406095
mov esi, dword [sym.imp.USER32.dll_CharLowerW]
push 0x41
call esi
movzx edx, ax
mov ecx, 0x426784
lea eax, [ebp - 0x168]
push eax
call fcn.00402340
add esp, 4
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x120], xmm0
movq xmm0, qword [eax + 0x10]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x108], eax
lea eax, [ebp - 0x2a8]
push eax
movq qword [ebp - 0x110], xmm0
call fcn.004031a0
mov edx, eax
mov dword [ebp - 0xc8], 0
mov ecx, edx
mov dword [ebp - 0xc4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xd8], xmm0
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405d41
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xd8]
call fcn.00409b10
lea eax, [ebp - 0x120]
mov byte [ebp - 4], 8
push eax
lea edx, [ebp - 0xd8]
lea ecx, [ebp - 0x90]
call fcn.00409730
add esp, 4
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0xc4]
cmp ecx, 7
jbe 0x405dc0
mov edx, dword [ebp - 0xd8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405db6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406510
push ecx
push edx
call fcn.0040b482
add esp, 8
xor eax, eax
mov dword [ebp - 0xc8], 0
push 0x41
mov dword [ebp - 0xc4], 7
mov word [ebp - 0xd8], ax
call esi
movzx edx, ax
mov ecx, 0x426758
lea eax, [ebp - 0x130]
push eax
call fcn.00403260
add esp, 4
lea ecx, [ebp - 0x90]
cmp dword [ebp - 0x7c], 7
lea edx, [ebp - 0x178]
movups xmm0, xmmword [eax]
cmova ecx, dword [ebp - 0x90]
movups xmmword [ebp - 0x178], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x168], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [ebp - 0x158], xmm0
mov ax, word [eax + 0x28]
mov word [ebp - 0x150], ax
call fcn.0040a7f0
mov byte [ebp - 4], 6
mov esi, eax
mov ecx, dword [ebp - 0x7c]
cmp ecx, 7
jbe 0x405e84
mov edx, dword [ebp - 0x90]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405e7a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406515
push ecx
push edx
call fcn.0040b482
add esp, 8
mov edi, dword [sym.imp.USER32.dll_CharLowerW]
push 0x41
call edi
movzx edx, ax
mov ecx, 0x425cb8
lea eax, [ebp - 0x148]
push eax
call fcn.004065a0
add esp, 4
movups xmm0, xmmword [eax]
push esi
movups xmmword [ebp - 0x190], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x180], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ebp - 0x170], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [ebp - 0x160], xmm0
mov eax, dword [eax + 0x40]
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x190]
push eax
push dword [ebp - 0xb4]
call fcn.00403670
add esp, 0xc
test esi, esi
je 0x406095
cmp esi, 3
je 0x406095
mov edx, esi
lea ecx, [ebp - 0x11c]
call fcn.0040ab90
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 7
jbe 0x405f1f
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
push 0x41
call edi
movzx eax, ax
push 0xcc
mov edi, eax
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0x2e8]
push 0
push eax
call fcn.0040d270
add esp, 0xc
xor esi, esi
test esi, esi
jne 0x405f60
mov ax, word [esi*2 + 0x425bd8]
xor ax, di
mov word [ebp + esi*2 - 0x2e8], ax
inc esi
jmp 0x405f46
mov ecx, dword [ebp - 0xe0]
lea edx, [esi - 1]
call fcn.00402c50
imul ecx, eax, 0x19660d
mov ax, word [esi*2 + 0x425bd8]
add ecx, 0x3c6ef35f
xor ax, cx
movzx eax, ax
mov word [ebp + esi*2 - 0x2e8], ax
inc esi
cmp esi, 0x66
jb 0x405f46
mov ecx, 0x33
lea esi, [ebp - 0x2e8]
lea edi, [ebp - 0x218]
rep movsd dword es:[edi], dword [esi]
push 0x41
call dword [sym.imp.USER32.dll_CharLowerW]
movzx eax, ax
xorps xmm0, xmm0
mov edi, eax
mov dword [ebp - 0xb0], eax
movups xmmword [ebp - 0x88], xmm0
xor esi, esi
test esi, esi
jne 0x405fe8
mov ax, word [esi*2 + 0x425ca4]
xor ax, di
mov word [ebp + esi*2 - 0x88], ax
inc esi
mov eax, dword [ebp - 0xb0]
jmp 0x405fc8
lea edx, [esi - 1]
mov ecx, eax
call fcn.00402c50
imul ecx, eax, 0x19660d
mov ax, word [esi*2 + 0x425ca4]
add ecx, 0x3c6ef35f
xor ax, cx
movzx eax, ax
mov word [ebp + esi*2 - 0x88], ax
inc esi
mov eax, dword [ebp - 0xb0]
cmp esi, 8
jb 0x405fc8
push dword [ebp - 0x74]
movups xmm0, xmmword [ebp - 0x88]
lea eax, [ebp - 0x218]
push eax
push 0x30
lea eax, [ebp - 0xd0]
push eax
mov eax, dword [ebp - 0xb4]
movups xmmword [ebp - 0xd0], xmm0
push dword [eax]
call fcn.00401190
mov byte [ebp - 4], 6
add esp, 0x14
mov ecx, dword [ebp - 0x108]
cmp ecx, 7
jbe 0x406095
mov edx, dword [ebp - 0x11c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40608b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40651a
push ecx
push edx
call fcn.0040b482
add esp, 8
push 0x41
call dword [sym.imp.USER32.dll_CharLowerW]
movzx edx, ax
mov ecx, 0x425b20
lea eax, [ebp - 0x1f8]
push eax
call fcn.00406610
mov esi, eax
lea edi, [ebp - 0x2c8]
mov ecx, 0x29
add esp, 4
rep movsd dword es:[edi], dword [esi]
push 0x41
movsw word es:[edi], word [esi]
call dword [sym.imp.USER32.dll_CharLowerW]
movzx eax, ax
xorps xmm0, xmm0
mov edi, eax
mov dword [ebp - 0xb0], eax
movups xmmword [ebp - 0x88], xmm0
xor esi, esi
test esi, esi
jne 0x406104
mov ax, word [esi*2 + 0x425bc8]
xor ax, di
mov word [ebp + esi*2 - 0x88], ax
inc esi
mov eax, dword [ebp - 0xb0]
jmp 0x4060e4
lea edx, [esi - 1]
mov ecx, eax
call fcn.00402c50
imul ecx, eax, 0x19660d
mov ax, word [esi*2 + 0x425bc8]
add ecx, 0x3c6ef35f
xor ax, cx
movzx eax, ax
mov word [ebp + esi*2 - 0x88], ax
inc esi
mov eax, dword [ebp - 0xb0]
cmp esi, 8
jb 0x4060e4
movups xmm0, xmmword [ebp - 0x88]
lea eax, [ebp - 0x2c8]
push eax
push 4
lea eax, [ebp - 0xd0]
push eax
mov eax, dword [ebp - 0xb4]
movups xmmword [ebp - 0xd0], xmm0
push dword [eax]
call fcn.00401190
add esp, 0x10
cmp eax, 6
jne 0x406469
lea eax, [ebp - 0x75]
mov byte [ebp - 0x75], 0
push eax
push 0
push 1
push 0x13
call dword [sym.imp.ntdll.dll_RtlAdjustPrivilege]
push 0x41
mov dword [ebp - 0xfc], eax
call dword [sym.imp.USER32.dll_CharLowerW]
movzx ecx, ax
lea eax, [ebp - 0x190]
push 0x42
push 0
push eax
mov edi, ecx
mov dword [ebp - 0xe0], ecx
call fcn.0040d270
add esp, 0xc
xor esi, esi
test esi, esi
jne 0x4061cf
mov ax, word [esi*2 + 0x425ad8]
xor ax, di
mov word [ebp + esi*2 - 0x190], ax
inc esi
jmp 0x4061b5
mov ecx, dword [ebp - 0xe0]
lea edx, [esi - 1]
call fcn.00402c50
imul ecx, eax, 0x19660d
mov ax, word [esi*2 + 0x425ad8]
add ecx, 0x3c6ef35f
xor ax, cx
movzx eax, ax
mov word [ebp + esi*2 - 0x190], ax
inc esi
cmp esi, 0x21
jb 0x4061b5
movups xmm0, xmmword [ebp - 0x190]
mov ax, word [ebp - 0x150]
mov esi, dword [ebp - 0xfc]
mov edi, dword [ebp - 0xb4]
movups xmmword [ebp - 0x148], xmm0
mov word [ebp - 0x108], ax
lea eax, [ebp - 0x148]
movups xmm0, xmmword [ebp - 0x180]
push esi
push eax
movups xmmword [ebp - 0x138], xmm0
push edi
movups xmm0, xmmword [ebp - 0x170]
movups xmmword [ebp - 0x128], xmm0
movups xmm0, xmmword [ebp - 0x160]
movups xmmword [ebp - 0x118], xmm0
call fcn.00403670
add esp, 0xc
test esi, esi
jns 0x4063ca
push esi
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
lea ecx, [ebp - 0x11c]
call fcn.0040ab90
mov dword [ebp - 0xb0], eax
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x14], 7
jbe 0x40629c
mov eax, dword [eax]
mov dword [ebp - 0xb0], eax
push 0x41
call dword [sym.imp.USER32.dll_CharLowerW]
movzx eax, ax
push 0x5e
mov edi, eax
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0x280]
push 0
push eax
call fcn.0040d270
add esp, 0xc
xor esi, esi
test esi, esi
jne 0x4062de
mov ax, word [esi*2 + 0x425a68]
xor ax, di
mov word [ebp + esi*2 - 0x280], ax
inc esi
jmp 0x4062c4
mov ecx, dword [ebp - 0xe0]
lea edx, [esi - 1]
call fcn.00402c50
imul ecx, eax, 0x19660d
mov ax, word [esi*2 + 0x425a68]
add ecx, 0x3c6ef35f
xor ax, cx
movzx eax, ax
mov word [ebp + esi*2 - 0x280], ax
inc esi
cmp esi, 0x2f
jb 0x4062c4
mov ecx, 0x17
lea esi, [ebp - 0x280]
lea edi, [ebp - 0x1b0]
rep movsd dword es:[edi], dword [esi]
push 0x41
movsw word es:[edi], word [esi]
call dword [sym.imp.USER32.dll_CharLowerW]
movzx edx, ax
mov ecx, 0x425ac8
lea eax, [ebp - 0x88]
push eax
call fcn.00401aa0
add esp, 4
movq xmm0, qword [eax]
push dword [ebp - 0xb0]
movq qword [ebp - 0xf8], xmm0
mov eax, dword [eax + 8]
mov dword [ebp - 0xf0], eax
lea eax, [ebp - 0x1b0]
push eax
push 0x10
lea eax, [ebp - 0xf8]
push eax
mov eax, dword [ebp - 0xb4]
push dword [eax]
call fcn.00401190
mov byte [ebp - 4], 6
add esp, 0x14
mov ecx, dword [ebp - 0x108]
cmp ecx, 7
jbe 0x406469
mov edx, dword [ebp - 0x11c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40645f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40651f
jmp 0x40645f
push 0
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x406469
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [ebp - 0x280]
push eax
call fcn.00406680
push esi
push eax
push edi
call fcn.00403670
add esp, 0xc
lea ecx, [ebp - 0x11c]
mov edx, esi
call fcn.0040ab90
mov edi, eax
mov byte [ebp - 4], 0xd
cmp dword [edi + 0x14], 7
jbe 0x406416
mov edi, dword [edi]
lea eax, [ebp - 0x184]
push eax
call fcn.00406750
push 0x41
mov esi, eax
call dword [sym.imp.USER32.dll_CharLowerW]
movzx edx, ax
mov ecx, 0x4259f8
lea eax, [ebp - 0x88]
push eax
call fcn.00401aa0
add esp, 4
movq xmm0, qword [eax]
movq qword [ebp - 0xf8], xmm0
mov eax, dword [eax + 8]
push edi
mov dword [ebp - 0xf0], eax
push esi
jmp 0x40636a
push ecx
push edx
call fcn.0040b482
add esp, 8
push 0x406810
push 3
push 0x1c
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 1
push eax
call fcn.0040b733
mov ecx, dword [ebp - 0x98]
cmp ecx, 7
jbe 0x4064bf
mov edx, dword [ebp - 0xac]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4064b5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40651f
push ecx
push edx
call fcn.0040b482
add esp, 8
xor eax, eax
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 7
mov word [ebp - 0xac], ax
push dword [ebp - 0x94]
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040b474
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0040ecac
call fcn.0040ecac
call fcn.0040ecac
call fcn.0040ecac
call fcn.0040ecac
call fcn.0040ecac
int3