Function at 0x404fd0
Capabilities:
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 0x41c486
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x330
mov eax, dword [0x428014]
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 - 0xb8], esi
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0
push eax
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00404250
push 0x41
test eax, eax
je 0x4050cf
call dword [sym.imp.USER32.dll_CharLowerW]
movzx edx, ax
mov ecx, 0x425720
lea eax, [ebp - 0x218]
push eax
call fcn.00406350
mov esi, eax
lea edi, [ebp - 0x2e8]
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, 0x4244f8
lea eax, [ebp - 0x108]
push eax
call fcn.004018f0
add esp, 4
movq xmm0, qword [eax]
movq qword [ebp - 0xf8], xmm0
mov eax, dword [eax + 8]
mov dword [ebp - 0xf0], eax
lea eax, [ebp - 0x2e8]
push eax
push 0x10
lea eax, [ebp - 0xf8]
push eax
mov eax, dword [ebp - 0xb8]
push dword [eax]
call fcn.00401170
add esp, 0x10
jmp 0x4062fa
mov edi, dword [sym.imp.USER32.dll_CharLowerW]
call edi
movzx edx, ax
mov ecx, 0x4256f8
lea eax, [ebp - 0x138]
push eax
call fcn.00404f60
add esp, 4
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x178], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x168], xmm0
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x158], ecx
mov ax, word [eax + 0x24]
mov word [ebp - 0x154], ax
lea eax, [ebp - 0x178]
push eax
push esi
call fcn.004032b0
add esp, 8
lea ecx, [ebp - 0xb4]
call fcn.00402f90
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 1
call fcn.00409bf0
cmp dword [ebp - 0xa0], 8
lea eax, [ebp - 0xb4]
cmovae eax, dword [ebp - 0xb4]
xor esi, esi
push esi
push 0x80
push 2
push esi
push 7
push 2
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xbc], eax
cmp eax, 0xffffffff
je 0x4051b7
mov edi, dword [ebp - 0xf0]
lea ecx, [ebp - 0x74]
push esi
push ecx
push edi
push dword [ebp - 0xf4]
mov dword [ebp - 0x74], esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40519b
cmp dword [ebp - 0x74], edi
je 0x4051a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push dword [ebp - 0xbc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [sym.imp.USER32.dll_CharLowerW]
jmp 0x4051bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push 0x41
call edi
movzx edx, ax
mov ecx, 0x4256bc
lea eax, [ebp - 0x148]
push eax
call fcn.00402150
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
movq xmm0, qword [eax + 0x30]
movq qword [ebp - 0x160], xmm0
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x190]
push eax
push dword [ebp - 0xb8]
call fcn.004032b0
add esp, 0xc
test esi, esi
je 0x4053b0
mov edx, esi
lea ecx, [ebp - 0x124]
call fcn.0040a530
mov byte [ebp - 4], 2
movups xmm0, xmmword [eax]
push 0x41
movups xmmword [ebp - 0xd8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xf8], xmm0
call edi
push 0x52
movzx edi, ax
lea eax, [ebp - 0x1f8]
push 0
push eax
call fcn.0040cde0
add esp, 0xc
xor esi, esi
mov ecx, edi
test esi, esi
je 0x40528c
lea edx, [esi - 1]
call fcn.004029d0
imul ecx, eax, 0x19660d
add ecx, 0x3c6ef35f
mov ax, word [esi*2 + 0x425668]
xor ax, cx
mov word [ebp + esi*2 - 0x1f8], ax
inc esi
cmp esi, 0x29
jb 0x405272
movups xmm0, xmmword [ebp - 0x1f8]
mov ax, word [ebp - 0x1a8]
mov word [ebp - 0x278], ax
mov eax, dword [sym.imp.USER32.dll_CharLowerW]
movups xmmword [ebp - 0x2c8], xmm0
push 0x41
movups xmm0, xmmword [ebp - 0x1e8]
movups xmmword [ebp - 0x2b8], xmm0
movups xmm0, xmmword [ebp - 0x1d8]
movups xmmword [ebp - 0x2a8], xmm0
movups xmm0, xmmword [ebp - 0x1c8]
movups xmmword [ebp - 0x298], xmm0
movups xmm0, xmmword [ebp - 0x1b8]
movups xmmword [ebp - 0x288], xmm0
call eax
movzx edx, ax
mov ecx, 0x4244f8
lea eax, [ebp - 0x90]
push eax
call fcn.004018f0
sub esp, 0x14
movq xmm0, qword [eax]
movq qword [ebp - 0x108], xmm0
mov eax, dword [eax + 8]
movups xmm0, xmmword [ebp - 0xd8]
mov dword [ebp - 0x100], eax
mov eax, esp
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0xf8]
movq qword [eax + 0x10], xmm0
lea eax, [ebp - 0x2c8]
push eax
push 0x10
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 0xb8]
push dword [eax]
call fcn.00401170
mov edx, dword [ebp - 0x110]
add esp, 0x28
cmp edx, 8
jb 0x4062a1
mov ecx, dword [ebp - 0x124]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4053a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406324
push edx
push ecx
call fcn.0040b069
add esp, 8
jmp 0x4062a1
push 0x41
call edi
xorps xmm0, xmm0
movzx edi, ax
movups xmmword [ebp - 0x128], xmm0
xor esi, esi
mov word [ebp - 0x110], 0
movq qword [ebp - 0x118], xmm0
mov ecx, edi
test esi, esi
je 0x4053ee
lea edx, [esi - 1]
call fcn.004029d0
imul ecx, eax, 0x19660d
add ecx, 0x3c6ef35f
mov ax, word [esi*2 + 0x4251dc]
xor ax, cx
movzx eax, ax
mov word [ebp + esi*2 - 0x128], ax
inc esi
cmp esi, 0xd
jb 0x4053d4
movups xmm0, xmmword [ebp - 0x128]
mov ax, word [ebp - 0x110]
lea ecx, [ebp - 0xe0]
mov word [ebp - 0xc8], ax
movups xmmword [ebp - 0xe0], xmm0
movq xmm0, qword [ebp - 0x118]
movq qword [ebp - 0xd0], xmm0
call fcn.00403a30
mov dword [ebp - 0xbc], eax
mov eax, dword [sym.imp.USER32.dll_CharLowerW]
push 0x41
call eax
push 0x66
movzx edi, ax
lea eax, [ebp - 0x2e0]
push 0
push eax
call fcn.0040cde0
add esp, 0xc
xor esi, esi
mov ecx, edi
test esi, esi
je 0x405482
lea edx, [esi - 1]
call fcn.004029d0
imul ecx, eax, 0x19660d
add ecx, 0x3c6ef35f
mov ax, word [esi*2 + 0x425600]
xor ax, cx
movzx eax, ax
mov word [ebp + esi*2 - 0x2e0], ax
inc esi
cmp esi, 0x33
jb 0x405468
mov ecx, 0x19
lea esi, [ebp - 0x2e0]
lea edi, [ebp - 0x210]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x210]
movsw word es:[edi], word [esi]
mov esi, dword [ebp - 0xbc]
push esi
push eax
push dword [ebp - 0xb8]
call fcn.004032b0
add esp, 0xc
test esi, esi
je 0x4055cd
mov edx, esi
lea ecx, [ebp - 0x124]
call fcn.0040a530
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x4054f6
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
push 0x41
call dword [sym.imp.USER32.dll_CharLowerW]
movzx edx, ax
mov ecx, 0x4255b0
lea eax, [ebp - 0x1a0]
push eax
call fcn.00402210
mov esi, eax
lea edi, [ebp - 0x1f8]
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, 0x4244f8
lea eax, [ebp - 0x90]
push eax
call fcn.004018f0
mov esi, dword [ebp - 0xb8]
add esp, 4
movq xmm0, qword [eax]
push dword [ebp - 0x74]
movq qword [ebp - 0x108], xmm0
mov eax, dword [eax + 8]
mov dword [ebp - 0x100], eax
lea eax, [ebp - 0x1f8]
push eax
push 0x10
lea eax, [ebp - 0x108]
push eax
push dword [esi]
call fcn.00401170
mov byte [ebp - 4], 1
add esp, 0x14
mov edx, dword [ebp - 0x110]
cmp edx, 8
jb 0x4055c1
mov ecx, dword [ebp - 0x124]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4055b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406329
push edx
push ecx
call fcn.0040b069
add esp, 8
mov ecx, esi
call fcn.00404250
jmp 0x4062a1
push 0x41
call dword [sym.imp.USER32.dll_CharLowerW]
xorps xmm0, xmm0
movzx edi, ax
movups xmmword [ebp - 0x128], xmm0
xor esi, esi
mov word [ebp - 0x110], 0
movq qword [ebp - 0x118], xmm0
mov ecx, edi
test esi, esi
je 0x40560f
lea edx, [esi - 1]
call fcn.004029d0
imul ecx, eax, 0x19660d
add ecx, 0x3c6ef35f
mov ax, word [esi*2 + 0x4251c0]
xor ax, cx
movzx eax, ax
mov word [ebp + esi*2 - 0x128], ax
inc esi
cmp esi, 0xd
jb 0x4055f5
movups xmm0, xmmword [ebp - 0x128]
mov ax, word [ebp - 0x110]
lea ecx, [ebp - 0x98]
mov word [ebp - 0x80], ax
lea edx, [ecx + 2]
movups xmmword [ebp - 0x98], xmm0
mov dword [ebp - 0xe0], 0
movq xmm0, qword [ebp - 0x118]
movq qword [ebp - 0x88], xmm0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 7
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405680
sub ecx, edx
lea eax, [ebp - 0x98]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xe0]
call fcn.004096e0
movups xmm0, xmmword [ebp - 0xe0]
mov dword [ebp - 0x70], 0x1c
movups xmmword [ebp - 0x6c], xmm0
movq xmm0, qword [ebp - 0xd0]
movq qword [ebp - 0x5c], xmm0
push 0x41
mov byte [ebp - 4], 4
call dword [sym.imp.USER32.dll_CharLowerW]
xorps xmm0, xmm0
movzx edi, ax
movups xmmword [ebp - 0xe0], xmm0
xor esi, esi
movq qword [ebp - 0xd0], xmm0
mov ecx, edi
test esi, esi
je 0x4056fe
lea edx, [esi - 1]
call fcn.004029d0
imul ecx, eax, 0x19660d
add ecx, 0x3c6ef35f
mov ax, word [esi*2 + 0x425180]
xor ax, cx
movzx eax, ax
mov word [ebp + esi*2 - 0xe0], ax
inc esi
cmp esi, 0xc
jb 0x4056e4
movups xmm0, xmmword [ebp - 0xe0]
lea ecx, [ebp - 0x98]
mov dword [ebp - 0xe0], 0
lea edx, [ecx + 2]
movups xmmword [ebp - 0x98], xmm0
movq xmm0, qword [ebp - 0xd0]
movq qword [ebp - 0x88], xmm0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 7
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405760
sub ecx, edx
lea eax, [ebp - 0x98]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xe0]
call fcn.004096e0
movups xmm0, xmmword [ebp - 0xe0]
mov dword [ebp - 0x54], 0x34
movups xmmword [ebp - 0x50], xmm0
movq xmm0, qword [ebp - 0xd0]
movq qword [ebp - 0x40], xmm0
mov byte [ebp - 4], 5
mov esi, dword [sym.imp.USER32.dll_CharLowerW]
push 0x41
call esi
movzx edx, ax
mov ecx, 0x425198
lea eax, [ebp - 0x138]
push eax
call fcn.00404f60
add esp, 4
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 7
movups xmm0, xmmword [eax]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x158], ecx
lea ecx, [ebp - 0x178]
movups xmmword [ebp - 0x178], xmm0
lea edx, [ecx + 2]
movups xmm0, xmmword [eax + 0x10]
mov ax, word [eax + 0x24]
mov word [ebp - 0x154], ax
movups xmmword [ebp - 0x168], xmm0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405816
sub ecx, edx
lea eax, [ebp - 0x178]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xe0]
call fcn.004096e0
movups xmm0, xmmword [ebp - 0xe0]
mov dword [ebp - 0x38], 0x38
movups xmmword [ebp - 0x34], xmm0
movq xmm0, qword [ebp - 0xd0]
movq qword [ebp - 0x24], xmm0
lea edi, [ebp - 0x6c]
mov byte [ebp - 4], 6
mov dword [ebp - 0x74], edi
mov eax, dword [edi - 4]
mov ecx, dword [ebp - 0xb8]
push 0
push 0
push 0xf0
push dword [eax + ecx]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
jne 0x405b50
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x40588f
mov ecx, dword [edi]
call fcn.00403a30
cmp dword [edi + 0x14], 8
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xe4], edi
jb 0x4058ae
mov eax, dword [edi]
mov dword [ebp - 0xe4], eax
push 0x41
call esi
movzx eax, ax
push 0x52
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c8]
push 0
push eax
call fcn.0040cde0
mov edi, dword [ebp - 0xbc]
add esp, 0xc
xor esi, esi
mov ecx, edi
test esi, esi
je 0x4058f0
lea edx, [esi - 1]
call fcn.004029d0
imul ecx, eax, 0x19660d
add ecx, 0x3c6ef35f
mov ax, word [esi*2 + 0x425558]
xor ax, cx
movzx eax, ax
mov word [ebp + esi*2 - 0x2c8], ax
inc esi
cmp esi, 0x29
jb 0x4058d6
movups xmm0, xmmword [ebp - 0x2c8]
mov ax, word [ebp - 0x278]
mov esi, dword [ebp - 0xf0]
mov edi, dword [ebp - 0x74]
movups xmmword [ebp - 0x1f8], xmm0
push esi
movups xmm0, xmmword [ebp - 0x2b8]
mov word [ebp - 0x1a8], ax
lea eax, [ebp - 0x1f8]
push dword [ebp - 0xe4]
movups xmmword [ebp - 0x1e8], xmm0
push eax
movups xmm0, xmmword [ebp - 0x2a8]
push dword [ebp - 0xb8]
movups xmmword [ebp - 0x1d8], xmm0
movups xmm0, xmmword [ebp - 0x298]
movups xmmword [ebp - 0x1c8], xmm0
movups xmm0, xmmword [ebp - 0x288]
movups xmmword [ebp - 0x1b8], xmm0
call fcn.004032b0
add esp, 0x10
test esi, esi
je 0x405b4a
mov edx, esi
lea ecx, [ebp - 0x124]
call fcn.0040a530
mov dword [ebp - 0xe4], eax
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
jb 0x4059b2
mov eax, dword [eax]
mov dword [ebp - 0xe4], eax
cmp dword [edi + 0x14], 8
mov dword [ebp - 0xbc], edi
jb 0x4059c6
mov eax, dword [edi]
mov dword [ebp - 0xbc], eax
push 0x41
call dword [sym.imp.USER32.dll_CharLowerW]
movzx eax, ax
push 0x4c
mov dword [ebp - 0xf0], eax
lea eax, [ebp - 0x1a0]
push 0
push eax
call fcn.0040cde0
mov edi, dword [ebp - 0xf0]
add esp, 0xc
xor esi, esi
mov ecx, edi
test esi, esi
je 0x405a0c
lea edx, [esi - 1]
call fcn.004029d0
imul ecx, eax, 0x19660d
add ecx, 0x3c6ef35f
mov ax, word [esi*2 + 0x425508]
xor ax, cx
movzx eax, ax
mov word [ebp + esi*2 - 0x1a0], ax
inc esi
cmp esi, 0x26
jb 0x4059f2
movups xmm0, xmmword [ebp - 0x1a0]
mov eax, dword [ebp - 0x158]
push 0x41
movups xmmword [ebp - 0x1f0], xmm0
mov dword [ebp - 0x1a8], eax
movups xmm0, xmmword [ebp - 0x190]
movups xmmword [ebp - 0x1e0], xmm0
movups xmm0, xmmword [ebp - 0x180]
movups xmmword [ebp - 0x1d0], xmm0
movups xmm0, xmmword [ebp - 0x170]
movups xmmword [ebp - 0x1c0], xmm0
movq xmm0, qword [ebp - 0x160]
movq qword [ebp - 0x1b0], xmm0
call dword [sym.imp.USER32.dll_CharLowerW]
xorps xmm0, xmm0
movzx edi, ax
movups xmmword [ebp - 0x90], xmm0
xor esi, esi
mov ecx, edi
test esi, esi
je 0x405aad
lea edx, [esi - 1]
call fcn.004029d0
imul ecx, eax, 0x19660d
add ecx, 0x3c6ef35f
mov ax, word [esi*2 + 0x423c80]
xor ax, cx
movzx eax, ax
mov word [ebp + esi*2 - 0x90], ax
inc esi
cmp esi, 8
jb 0x405a93
push dword [ebp - 0xe4]
movups xmm0, xmmword [ebp - 0x90]
mov edi, dword [ebp - 0x74]
lea eax, [ebp - 0x1f0]
push dword [ebp - 0xbc]
movups xmmword [ebp - 0xd8], xmm0
push eax
push 0x30
lea eax, [ebp - 0xd8]
push eax
mov eax, dword [ebp - 0xb8]
push dword [eax]
call fcn.00401170
mov byte [ebp - 4], 6
add esp, 0x18
mov edx, dword [ebp - 0x110]
cmp edx, 8
jb 0x405b4a
mov ecx, dword [ebp - 0x124]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405b40
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406324
push edx
push ecx
call fcn.0040b069
add esp, 8
mov esi, dword [sym.imp.USER32.dll_CharLowerW]
add edi, 0x1c
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x74], edi
lea eax, [edi - 4]
cmp eax, ecx
jne 0x405861
mov eax, dword [ebp - 0xb8]
push 0
push 0
push 0xf0
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
jne 0x405f1e
push 0x41
call esi
movzx edx, ax
mov ecx, 0x425b4c
lea eax, [ebp - 0x170]
push eax
call fcn.004020f0
add esp, 4
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x128], xmm0
movq xmm0, qword [eax + 0x10]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x300]
push eax
movq qword [ebp - 0x118], xmm0
call fcn.00402e80
mov edx, eax
mov dword [ebp - 0xe0], 0
mov ecx, edx
mov dword [ebp - 0xd0], 0
xor eax, eax
mov dword [ebp - 0xcc], 7
mov word [ebp - 0xe0], ax
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405c00
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xe0]
call fcn.004096e0
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 8
push eax
lea edx, [ebp - 0xe0]
lea ecx, [ebp - 0x98]
call fcn.00409380
add esp, 4
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0xcc]
cmp edx, 8
jb 0x405c7f
mov ecx, dword [ebp - 0xe0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405c75
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40632e
push edx
push ecx
call fcn.0040b069
add esp, 8
mov edi, dword [sym.imp.USER32.dll_CharLowerW]
xor eax, eax
push 0x41
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 7
mov word [ebp - 0xe0], ax
call edi
movzx edx, ax
mov ecx, 0x425b68
lea eax, [ebp - 0x138]
push eax
call fcn.00402f30
add esp, 4
lea ecx, [ebp - 0x98]
cmp dword [ebp - 0x84], 8
lea edx, [ebp - 0x17c]
movups xmm0, xmmword [eax]
cmovae ecx, dword [ebp - 0x98]
movups xmmword [ebp - 0x17c], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x16c], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [ebp - 0x15c], xmm0
mov ax, word [eax + 0x28]
mov word [ebp - 0x154], ax
call fcn.0040a230
mov byte [ebp - 4], 6
mov esi, eax
mov edx, dword [ebp - 0x84]
cmp edx, 8
jb 0x405d4f
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405d45
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406333
push edx
push ecx
call fcn.0040b069
add esp, 8
push 0x41
call edi
movzx edx, ax
mov ecx, 0x4254c0
lea eax, [ebp - 0x150]
push eax
call fcn.004063b0
add esp, 4
movups xmm0, xmmword [eax]
push esi
movups xmmword [ebp - 0x198], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x188], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ebp - 0x178], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [ebp - 0x168], xmm0
mov eax, dword [eax + 0x40]
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x198]
push eax
push dword [ebp - 0xb8]
call fcn.004032b0
add esp, 0xc
test esi, esi
je 0x405f1e
cmp esi, 3
je 0x405f1e
mov edx, esi
lea ecx, [ebp - 0x124]
call fcn.0040a530
mov dword [ebp - 0xbc], eax
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 8
jb 0x405dea
mov eax, dword [eax]
mov dword [ebp - 0xbc], eax
push 0x41
call edi
push 0xcc
movzx edi, ax
lea eax, [ebp - 0x340]
push 0
push eax
call fcn.0040cde0
add esp, 0xc
xor esi, esi
nop dword [eax]
mov ecx, edi
test esi, esi
je 0x405e2a
lea edx, [esi - 1]
call fcn.004029d0
imul ecx, eax, 0x19660d
add ecx, 0x3c6ef35f
mov ax, word [esi*2 + 0x4253f0]
xor ax, cx
movzx eax, ax
mov word [ebp + esi*2 - 0x340], ax
inc esi
cmp esi, 0x66
jb 0x405e10
mov ecx, 0x33
lea esi, [ebp - 0x340]
lea edi, [ebp - 0x270]
rep movsd dword es:[edi], dword [esi]
push 0x41
call dword [sym.imp.USER32.dll_CharLowerW]
xorps xmm0, xmm0
movzx edi, ax
movups xmmword [ebp - 0x90], xmm0
xor esi, esi
mov ecx, edi
test esi, esi
je 0x405e8a
lea edx, [esi - 1]
call fcn.004029d0
imul ecx, eax, 0x19660d
add ecx, 0x3c6ef35f
mov ax, word [esi*2 + 0x423c80]
xor ax, cx
movzx eax, ax
mov word [ebp + esi*2 - 0x90], ax
inc esi
cmp esi, 8
jb 0x405e70
push dword [ebp - 0xbc]
movups xmm0, xmmword [ebp - 0x90]
lea eax, [ebp - 0x270]
push eax
push 0x30
lea eax, [ebp - 0xd8]
push eax
mov eax, dword [ebp - 0xb8]
movups xmmword [ebp - 0xd8], xmm0
push dword [eax]
call fcn.00401170
mov byte [ebp - 4], 6
add esp, 0x14
mov edx, dword [ebp - 0x110]
cmp edx, 8
jb 0x405f1e
mov ecx, dword [ebp - 0x124]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405f14
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406338
push edx
push ecx
call fcn.0040b069
add esp, 8
push 0x41
call dword [sym.imp.USER32.dll_CharLowerW]
movzx edx, ax
mov ecx, 0x425338
lea eax, [ebp - 0x250]
push eax
call fcn.00406410
mov esi, eax
lea edi, [ebp - 0x320]
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]
xorps xmm0, xmm0
movzx edi, ax
movups xmmword [ebp - 0x90], xmm0
xor esi, esi
mov ecx, edi
test esi, esi
je 0x405f7f
lea edx, [esi - 1]
call fcn.004029d0
imul ecx, eax, 0x19660d
add ecx, 0x3c6ef35f
mov ax, word [esi*2 + 0x4253e0]
xor ax, cx
movzx eax, ax
mov word [ebp + esi*2 - 0x90], ax
inc esi
cmp esi, 8
jb 0x405f65
movups xmm0, xmmword [ebp - 0x90]
lea eax, [ebp - 0x320]
push eax
push 4
lea eax, [ebp - 0xd8]
push eax
mov eax, dword [ebp - 0xb8]
movups xmmword [ebp - 0xd8], xmm0
push dword [eax]
call fcn.00401170
add esp, 0x10
cmp eax, 6
jne 0x40628b
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 - 0xf0], eax
call dword [sym.imp.USER32.dll_CharLowerW]
push 0x42
movzx edi, ax
lea eax, [ebp - 0x198]
push 0
push eax
call fcn.0040cde0
add esp, 0xc
xor esi, esi
nop dword [eax]
mov ecx, edi
test esi, esi
je 0x40602a
lea edx, [esi - 1]
call fcn.004029d0
imul ecx, eax, 0x19660d
add ecx, 0x3c6ef35f
mov ax, word [esi*2 + 0x4252f0]
xor ax, cx
movzx eax, ax
mov word [ebp + esi*2 - 0x198], ax
inc esi
cmp esi, 0x21
jb 0x406010
movups xmm0, xmmword [ebp - 0x198]
mov ax, word [ebp - 0x158]
mov esi, dword [ebp - 0xf0]
mov edi, dword [ebp - 0xb8]
movups xmmword [ebp - 0x150], xmm0
mov word [ebp - 0x110], ax
lea eax, [ebp - 0x150]
movups xmm0, xmmword [ebp - 0x188]
push esi
push eax
movups xmmword [ebp - 0x140], xmm0
push edi
movups xmm0, xmmword [ebp - 0x178]
movups xmmword [ebp - 0x130], xmm0
movups xmm0, xmmword [ebp - 0x168]
movups xmmword [ebp - 0x120], xmm0
call fcn.004032b0
add esp, 0xc
test esi, esi
jns 0x4061ec
push esi
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
lea ecx, [ebp - 0x124]
call fcn.0040a530
mov dword [ebp - 0xbc], eax
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x14], 8
jb 0x4060dd
mov eax, dword [eax]
mov dword [ebp - 0xbc], eax
push 0x41
call dword [sym.imp.USER32.dll_CharLowerW]
push 0x5e
movzx edi, ax
lea eax, [ebp - 0x2d8]
push 0
push eax
call fcn.0040cde0
add esp, 0xc
xor esi, esi
nop dword [eax]
mov ecx, edi
test esi, esi
je 0x40611a
lea edx, [esi - 1]
call fcn.004029d0
imul ecx, eax, 0x19660d
add ecx, 0x3c6ef35f
mov ax, word [esi*2 + 0x425290]
xor ax, cx
movzx eax, ax
mov word [ebp + esi*2 - 0x2d8], ax
inc esi
cmp esi, 0x2f
jb 0x406100
mov ecx, 0x17
lea esi, [ebp - 0x2d8]
lea edi, [ebp - 0x208]
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, 0x4244f8
lea eax, [ebp - 0x90]
push eax
call fcn.004018f0
add esp, 4
movq xmm0, qword [eax]
push dword [ebp - 0xbc]
movq qword [ebp - 0x108], xmm0
mov eax, dword [eax + 8]
mov dword [ebp - 0x100], eax
lea eax, [ebp - 0x208]
push eax
push 0x10
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 0xb8]
push dword [eax]
call fcn.00401170
mov byte [ebp - 4], 6
add esp, 0x14
mov edx, dword [ebp - 0x110]
cmp edx, 8
jb 0x40628b
mov ecx, dword [ebp - 0x124]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x406281
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40633d
jmp 0x406281
push 0
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x40628b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [ebp - 0x2d8]
push esi
push eax
call fcn.00406470
push eax
push edi
call fcn.004032b0
add esp, 0xc
lea ecx, [ebp - 0x124]
mov edx, esi
call fcn.0040a530
mov edi, eax
mov byte [ebp - 4], 0xd
cmp dword [edi + 0x14], 8
jb 0x406238
mov edi, dword [edi]
lea eax, [ebp - 0x18c]
push eax
call fcn.00406530
push 0x41
mov esi, eax
call dword [sym.imp.USER32.dll_CharLowerW]
movzx edx, ax
mov ecx, 0x4244f8
lea eax, [ebp - 0x90]
push eax
call fcn.004018f0
add esp, 4
movq xmm0, qword [eax]
movq qword [ebp - 0x108], xmm0
mov eax, dword [eax + 8]
push edi
mov dword [ebp - 0x100], eax
push esi
jmp 0x40618c
push edx
push ecx
call fcn.0040b069
add esp, 8
push 0x4065d0
push 3
push 0x1c
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 1
push eax
call fcn.0040b31b
mov edx, dword [ebp - 0xa0]
cmp edx, 8
jb 0x4062dd
mov ecx, dword [ebp - 0xb4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4062d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40633d
push edx
push ecx
call fcn.0040b069
add esp, 8
xor eax, eax
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 7
mov word [ebp - 0xb4], ax
push dword [ebp - 0x9c]
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.0040b05b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0040e6bc
call fcn.0040e6bc
call fcn.0040e6bc
call fcn.0040e6bc
call fcn.0040e6bc
call fcn.0040e6bc
int3