Function at 0x40fd00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49a7ac
mov eax, dword fs:[0]
push eax
sub esp, 0x328
mov eax, dword [0x4c3718]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
movaps xmm0, xmmword [str.RtlGetNtVersionN0_K]
lea eax, [ebp - 0x48]
mov edi, dword [ebp + 8]
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x31c], esi
push eax
mov dword [ebp - 0x30], 0x74006e
mov dword [ebp - 0x2c], 0x6c0064
mov dword [ebp - 0x28], 0x6c
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0x65626d75
mov word [ebp - 0x34], 0x7372
mov byte [ebp - 0x32], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40fd9c
push 0
lea ecx, [esi + 8]
push ecx
lea ecx, [esi + 4]
push ecx
call eax
xor eax, eax
mov word [esi + 6], ax
mov word [esi + 0xa], ax
test edi, edi
je 0x40fe33
xorps xmm0, xmm0
lea ecx, [ebp - 0x278]
movq qword [ebp - 0x278], xmm0
call fcn.004613c0
push edi
lea ecx, [ebp - 0x278]
mov dword [ebp - 4], 0
call fcn.00461770
lea eax, [esi + 0xa8]
mov dword [ebp - 0x27c], 0x74
push eax
lea eax, [ebp - 0x27c]
mov dword [ebp - 0x280], 0x6c
push eax
lea ecx, [ebp - 0x278]
call fcn.00461460
lea eax, [esi + 0xac]
push eax
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x278]
call fcn.00461460
lea ecx, [ebp - 0x278]
mov dword [ebp - 4], 0xffffffff
call fcn.00410860
push dword [ebp - 0x278]
call fcn.004729a5
add esp, 4
lea eax, [ebp - 0x2a8]
push eax
call fcn.0040fc20
push 0x70
lea eax, [ebp - 0x318]
mov dword [ebp - 4], 1
push 0
push eax
mov byte [ebp - 4], 2
call fcn.00474170
add esp, 0x10
lea ecx, [ebp - 0x318]
call fcn.004686f0
xorps xmm0, xmm0
mov byte [ebp - 4], 3
push 0
lea ecx, [ebp - 0x270]
movups xmmword [ebp - 0x270], xmm0
call fcn.00464700
push 0
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x318]
call fcn.0046b6c0
test al, al
je 0x410080
lea ecx, [ebp - 0x270]
call fcn.00467270
test al, al
jne 0x410080
mov byte [ebp - 0x256], al
lea ecx, [ebp - 0x270]
mov byte [ebp - 0x18], al
lea eax, [ebp - 0x25c]
push eax
mov dword [ebp - 0x25c], 0x707041
mov dword [ebp - 0x24], 0x696e6843
mov word [ebp - 0x20], 0x64
mov word [ebp - 0x258], 0x4549
mov dword [ebp - 0x260], 0x726556
mov dword [ebp - 0x1c], 0x72657643
call fcn.00464f40
mov ecx, eax
call fcn.00467270
test al, al
jne 0x40ff48
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x270]
call fcn.00464f40
lea ecx, [ebp - 0x334]
push ecx
mov ecx, eax
call fcn.00466450
push eax
lea ecx, [esi + 0x10]
call fcn.00408480
lea ecx, [ebp - 0x334]
call fcn.004018b0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x270]
call fcn.00464f40
mov ecx, eax
call fcn.00467270
test al, al
jne 0x40ff93
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x270]
call fcn.00464f40
lea ecx, [ebp - 0x334]
push ecx
mov ecx, eax
call fcn.00466450
push eax
lea ecx, [esi + 0x28]
call fcn.00408480
lea ecx, [ebp - 0x334]
call fcn.004018b0
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x270]
call fcn.00464f40
mov ecx, eax
call fcn.00467270
test al, al
jne 0x40ffe4
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x270]
call fcn.00464f40
lea ecx, [ebp - 0x334]
push ecx
mov ecx, eax
call fcn.00466450
push eax
lea ecx, [esi + 0x48]
call fcn.00408480
lea ecx, [ebp - 0x334]
call fcn.004018b0
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x270]
call fcn.00464f40
mov ecx, eax
call fcn.00467270
test al, al
jne 0x410035
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x270]
call fcn.00464f40
lea ecx, [ebp - 0x334]
push ecx
mov ecx, eax
call fcn.00466450
push eax
lea ecx, [esi + 0x60]
call fcn.00408480
lea ecx, [ebp - 0x334]
call fcn.004018b0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x270]
call fcn.00464f40
mov ecx, eax
call fcn.00467270
test al, al
jne 0x410080
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x270]
call fcn.00464f40
lea ecx, [ebp - 0x334]
push ecx
mov ecx, eax
call fcn.00466450
push eax
lea ecx, [esi + 0x78]
call fcn.00408480
lea ecx, [ebp - 0x334]
call fcn.004018b0
lea ecx, [ebp - 0x270]
call fcn.00464ad0
lea ecx, [ebp - 0x318]
call fcn.00408290
jmp 0x4100a4
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.004101c0
push 0x20a
lea eax, [ebp - 0x254]
push 0
push eax
call fcn.00474170
add esp, 0xc
lea eax, [ebp - 0x254]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
cmp word [ebp - 0x254], 0
jne 0x410104
xor ecx, ecx
jmp 0x41011f
lea ecx, [ebp - 0x254]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410110
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x254]
push eax
lea ecx, [esi + 0x90]
call fcn.00404000
push 0
lea eax, [ebp - 0x290]
xorps xmm0, xmm0
push eax
push 0
push 0x30
movups xmmword [ebp - 0x290], xmm0
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x410171
mov eax, dword [ebp - 0x288]
sub eax, dword [ebp - 0x290]
mov dword [esi + 0x40], eax
mov eax, dword [ebp - 0x284]
sub eax, dword [ebp - 0x28c]
mov dword [esi + 0x44], eax
mov eax, dword [ebp - 0x294]
cmp eax, 0x10
jb 0x41018f
inc eax
lea ecx, [ebp - 0x2a8]
push eax
push dword [ebp - 0x2a8]
call fcn.00404100
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00472961
mov esp, ebp
pop ebp
ret 4