Function at 0x10040400
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10089e38
mov eax, dword fs:[0]
push eax
sub esp, 0x4e0
mov eax, dword [0x100b5540]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.debug::modloader::usingmods::check
mov dword [ebp - 0x4e8], 0
call fcn.10042160
add esp, 4
lea eax, [ebp - 0x214]
push 0x100
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
mov dword [ebp - 0x3a8], 0
movups xmmword [ebp - 0x3b8], xmm0
mov dword [ebp - 0x3a4], 0xf
mov byte [ebp - 0x3b8], 0
mov dword [ebp - 0x324], 0x50
mov eax, dword [ebp - 0x324]
xor al, 0x67
mov dword [ebp - 4], 0
mov byte [ebp - 0x320], al
mov eax, dword [ebp - 0x324]
inc al
xor al, 0x74
mov byte [ebp - 0x31f], al
mov eax, dword [ebp - 0x324]
add al, 2
xor al, 0x61
mov byte [ebp - 0x31e], al
mov eax, dword [ebp - 0x324]
add al, 3
xor al, 0x5f
mov byte [ebp - 0x31d], al
mov eax, dword [ebp - 0x324]
add al, 4
xor al, 0x73
mov byte [ebp - 0x31c], al
mov eax, dword [ebp - 0x324]
add al, 5
xor al, 0x61
mov byte [ebp - 0x31b], al
mov eax, dword [ebp - 0x324]
add al, 6
xor al, 0x2e
mov byte [ebp - 0x31a], al
mov eax, dword [ebp - 0x324]
add al, 7
xor al, 0x65
mov byte [ebp - 0x319], al
mov eax, dword [ebp - 0x324]
add al, 8
xor al, 0x78
mov byte [ebp - 0x318], al
mov eax, dword [ebp - 0x324]
add al, 9
mov byte [ebp - 0x316], 0
xor al, 0x65
xor edx, edx
mov byte [ebp - 0x317], al
mov al, byte [ebp - 0x320]
nop word [eax + eax]
mov al, byte [ebp + edx - 0x320]
mov ecx, dword [ebp - 0x324]
add cl, dl
xor cl, al
mov byte [ebp + edx - 0x320], cl
inc edx
cmp edx, 0xa
jb 0x10040540
xorps xmm0, xmm0
mov byte [ebp - 0x316], 0
lea ecx, [ebp - 0x320]
mov dword [ebp - 0x390], 0
movups xmmword [ebp - 0x3a0], xmm0
mov dword [ebp - 0x38c], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10040590
sub ecx, edx
lea eax, [ebp - 0x320]
push ecx
push eax
lea ecx, [ebp - 0x3a0]
call fcn.10004870
lea eax, [ebp - 0x3b8]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x3a0]
xorps xmm0, xmm0
push eax
sub esp, 0x18
lea ecx, [ebp - 0x214]
mov edx, esp
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100405e0
sub ecx, esi
lea eax, [ebp - 0x214]
push ecx
push eax
mov ecx, edx
call fcn.10004870
lea eax, [ebp - 0x3d0]
push eax
call fcn.1005d440
add esp, 0x24
mov ecx, dword [ebp - 0x38c]
mov byte [ebp - 4], 3
cmp ecx, 0x10
jb 0x10040645
mov edx, dword [ebp - 0x3a0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004063b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10040f01
push ecx
push edx
call fcn.1005f6d2
add esp, 8
mov dword [ebp - 0x390], 0
mov dword [ebp - 0x38c], 0xf
mov byte [ebp - 0x3a0], 0
mov ecx, dword [ebp - 0x3a4]
mov byte [ebp - 4], 4
cmp ecx, 0x10
jb 0x1004069e
mov edx, dword [ebp - 0x3b8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10040694
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10040f01
push ecx
push edx
call fcn.1005f6d2
add esp, 8
mov dword [ebp - 0x3a8], 0
xor edx, edx
mov dword [ebp - 0x3a4], 0xf
mov byte [ebp - 0x3b8], 0
mov dword [ebp - 0x340], 0x1d
mov byte [ebp - 0x33c], 0x38
mov byte [ebp - 0x33b], 0x6e
mov byte [ebp - 0x33a], 0x70
mov byte [ebp - 0x339], 0x72
mov byte [ebp - 0x338], 0x79
mov byte [ebp - 0x337], 0x71
mov byte [ebp - 0x336], 0x72
mov byte [ebp - 0x335], 0x7c
mov byte [ebp - 0x334], 0x79
mov byte [ebp - 0x333], 0x78
mov byte [ebp - 0x332], 0x6f
mov al, byte [ebp - 0x33c]
mov byte [ebp - 0x331], 0
nop
mov al, byte [ebp + edx - 0x33c]
mov ecx, dword [ebp - 0x340]
xor cl, al
mov byte [ebp + edx - 0x33c], cl
inc edx
cmp edx, 0xb
jb 0x10040720
movups xmm0, xmmword [ebp - 0x3d0]
sub esp, 0x18
mov byte [ebp - 0x331], 0
mov eax, esp
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x3c0]
movq qword [eax + 0x10], xmm0
lea eax, [ebp - 0x33c]
push eax
lea eax, [ebp - 0x314]
push eax
call fcn.1000f3f0
lea eax, [ebp - 0x314]
push eax
call fcn.1005ca40
add esp, 0x24
test eax, eax
je 0x10040eb1
mov byte [ebp - 0x330], 0x73
xor ecx, ecx
mov byte [ebp - 0x32f], 0x75
mov byte [ebp - 0x32e], 0x6a
mov byte [ebp - 0x32d], 0x72
mov byte [ebp - 0x32c], 0x75
mov byte [ebp - 0x32b], 0x67
mov byte [ebp - 0x32a], 0x6a
mov byte [ebp - 0x329], 0x6b
mov byte [ebp - 0x328], 0x78
mov byte [ebp - 0x327], 0x62
mov byte [ebp - 0x326], 0
mov al, byte [ebp - 0x330]
nop
mov al, byte [ebp + ecx - 0x330]
sub al, 6
mov byte [ebp + ecx - 0x330], al
inc ecx
cmp ecx, 0xa
jb 0x100407e0
lea ecx, [ebp - 0x330]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10040800
sub ecx, edx
mov eax, 0x7fffffff
mov edx, dword [ebp - 0x3c0]
sub eax, edx
cmp eax, ecx
jb 0x10040f06
cmp dword [ebp - 0x3bc], 0x10
lea eax, [ebp - 0x3d0]
push ecx
cmovae eax, dword [ebp - 0x3d0]
lea ecx, [ebp - 0x330]
push ecx
push edx
push eax
lea eax, [ebp - 0x3d0]
push eax
push dword [ebp - 0x4e8]
lea ecx, [ebp - 0x400]
call fcn.1000fd50
mov eax, 0x80
mov dword [ebp - 0x4e4], eax
lea eax, [ebp - 0x400]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x3e8]
call fcn.1003cea0
push 0
lea eax, [ebp - 0x3e8]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x4a8]
call fcn.1003ecd0
lea ecx, [ebp - 0x3e8]
mov byte [ebp - 4], 8
call fcn.10010ca0
lea eax, [ebp - 0x4a8]
push eax
lea ecx, [ebp - 0x458]
call fcn.1003ec30
lea eax, [ebp - 0x4a8]
push eax
lea eax, [ebp - 0x4e0]
push eax
call fcn.10048740
add esp, 8
mov byte [ebp - 4], 0xa
nop dword [eax + eax]
mov eax, dword [ebp - 0x4e0]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x458]
mov ecx, dword [ecx + 8]
mov eax, dword [eax]
mov eax, dword [eax + 8]
test eax, eax
je 0x100408f4
test ecx, ecx
je 0x100408fc
mov eax, dword [eax]
cmp eax, dword [ecx]
jmp 0x100408f6
test ecx, ecx
je 0x10040e2e
cmp dword [ebp - 0x43c], 8
lea ecx, [ebp - 0x4ec]
lea eax, [ebp - 0x450]
cmovae eax, dword [ebp - 0x450]
push ecx
push eax
call fcn.1005f16a
add esp, 8
cmp eax, 1
jne 0x10040e1e
xorps xmm0, xmm0
mov dword [ebp - 0x348], 0
movups xmmword [ebp - 0x358], xmm0
mov dword [ebp - 0x344], 0xf
mov byte [ebp - 0x358], 0
cmp dword [ebp - 0x43c], 8
lea ecx, [ebp - 0x114]
lea eax, [ebp - 0x450]
mov byte [ebp - 4], 0xb
cmovae eax, dword [ebp - 0x450]
push ecx
push eax
call fcn.1005f1fa
add esp, 8
test eax, eax
je 0x10040f0b
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10040987
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x358]
call fcn.10026430
mov dword [ebp - 0x378], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x388], xmm0
mov dword [ebp - 0x374], 0
movups xmm0, xmmword [eax]
mov byte [ebp - 4], 0xa
movups xmmword [ebp - 0x388], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x378], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov eax, dword [ebp - 0x4e4]
mov ecx, dword [ebp - 0x344]
or eax, 0x40
mov dword [ebp - 0x4e4], eax
mov dword [ebp - 0x4e8], eax
cmp ecx, 0x10
jb 0x10040a42
mov edx, dword [ebp - 0x358]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10040a32
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10040f01
push ecx
push edx
call fcn.1005f6d2
mov eax, dword [ebp - 0x4e4]
add esp, 8
mov ecx, dword [ebp - 0x440]
xorps xmm0, xmm0
test ecx, ecx
jne 0x10040a7b
movups xmmword [ebp - 0x358], xmm0
mov dword [ebp - 0x348], ecx
mov dword [ebp - 0x344], 7
mov word [ebp - 0x358], cx
lea ecx, [ebp - 0x358]
or eax, 2
jmp 0x10040b0b
lea eax, [ebp - 0x450]
mov dword [ebp - 0x40c], 0
mov dword [ebp - 0x420], eax
xor eax, eax
movups xmmword [ebp - 0x41c], xmm0
mov dword [ebp - 0x408], 7
mov word [ebp - 0x41c], ax
mov dword [ebp - 0x404], ecx
lea ecx, [ebp - 0x420]
mov dword [ebp - 4], 0xe
call fcn.100256c0
mov eax, dword [ebp - 0x4e4]
or eax, 0x20
or eax, 4
mov dword [ebp - 4], 0xf
lea ecx, [ebp - 0x420]
mov dword [ebp - 0x4e4], eax
mov dword [ebp - 0x4e8], eax
call fcn.10011740
add eax, 4
lea ecx, [ebp - 0x470]
push eax
call fcn.1000fdf0
mov eax, dword [ebp - 0x4e4]
lea ecx, [ebp - 0x470]
or eax, 8
movups xmm0, xmmword [ecx]
or eax, 0x10
xor edx, edx
mov dword [ebp - 0x4e4], eax
movups xmmword [ebp - 0x3e8], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x3d8], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], dx
test al, 8
je 0x10040b5c
and eax, 0xfffffff7
lea ecx, [ebp - 0x470]
mov dword [ebp - 0x4e4], eax
call fcn.10010ca0
mov eax, dword [ebp - 0x4e4]
test al, 4
je 0x10040b7a
and eax, 0xfffffffb
lea ecx, [ebp - 0x420]
mov dword [ebp - 0x4e4], eax
call fcn.10010a30
mov eax, dword [ebp - 0x4e4]
mov dword [ebp - 4], 0xc
test al, 2
je 0x10040bce
mov ecx, dword [ebp - 0x344]
and eax, 0xfffffffd
mov dword [ebp - 0x4e4], eax
cmp ecx, 8
jb 0x10040bce
mov edx, dword [ebp - 0x358]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10040bc4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10040f01
push ecx
push edx
call fcn.1005f6d2
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x348], 0
movups xmmword [ebp - 0x358], xmm0
mov dword [ebp - 0x344], 0xf
mov byte [ebp - 0x358], 0
cmp dword [ebp - 0x3d4], 8
lea ecx, [ebp - 0x114]
lea eax, [ebp - 0x3e8]
mov byte [ebp - 4], 0x11
cmovae eax, dword [ebp - 0x3e8]
push ecx
push eax
call fcn.1005f1fa
add esp, 8
test eax, eax
je 0x10040f0b
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10040c30
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x358]
call fcn.10026430
or dword [ebp - 0x4e4], 1
xorps xmm0, xmm0
movups xmmword [ebp - 0x370], xmm0
mov dword [ebp - 0x360], 0
mov dword [ebp - 0x35c], 0
movups xmm0, xmmword [eax]
mov byte [ebp - 4], 0x10
movups xmmword [ebp - 0x370], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x360], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x344]
cmp ecx, 0x10
jb 0x10040cd7
mov edx, dword [ebp - 0x358]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10040ccd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10040f01
push ecx
push edx
call fcn.1005f6d2
add esp, 8
mov ecx, dword [ebp - 0x3d4]
mov byte [ebp - 4], 0xc
cmp ecx, 8
jb 0x10040d1b
mov edx, dword [ebp - 0x3e8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10040d11
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10040f01
push ecx
push edx
call fcn.1005f6d2
add esp, 8
xor esi, esi
nop dword [eax]
cmp dword [ebp - 0x35c], 0x10
lea eax, [ebp - 0x370]
push dword [esi + 0x100b4e78]
cmovae eax, dword [ebp - 0x370]
push eax
call fcn.10069eff
add esp, 8
test eax, eax
jne 0x10040d83
cmp dword [ebp - 0x374], 0x10
lea eax, [ebp - 0x388]
cmovae eax, dword [ebp - 0x388]
push eax
call fcn.1006f68f
cmp dword [ebp - 0x374], 0x10
lea eax, [ebp - 0x388]
cmovae eax, dword [ebp - 0x388]
push eax
push str.debug::modloader::usingmods::delete::_s
call fcn.10042160
add esp, 0xc
add esi, 4
cmp esi, 0x44
jb 0x10040d20
mov ecx, dword [ebp - 0x35c]
cmp ecx, 0x10
jb 0x10040dc5
mov edx, dword [ebp - 0x370]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10040dbb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10040f01
push ecx
push edx
call fcn.1005f6d2
add esp, 8
mov ecx, dword [ebp - 0x374]
mov dword [ebp - 0x360], 0
mov dword [ebp - 0x35c], 0xf
mov byte [ebp - 0x370], 0
mov byte [ebp - 4], 0xa
cmp ecx, 0x10
jb 0x10040e1e
mov edx, dword [ebp - 0x388]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10040e14
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10040f01
push ecx
push edx
call fcn.1005f6d2
add esp, 8
lea ecx, [ebp - 0x458]
call fcn.100113f0
jmp 0x100408d0
lea ecx, [ebp - 0x4e0]
call fcn.10011230
lea ecx, [ebp - 0x458]
call fcn.10011230
lea ecx, [ebp - 0x4a8]
call fcn.10011230
push str.debug::modloader::usingmods::end
call fcn.10042160
mov ecx, dword [ebp - 0x3ec]
add esp, 4
cmp ecx, 0x10
jb 0x10040e96
mov edx, dword [ebp - 0x400]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10040e8c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10040f15
push ecx
push edx
call fcn.1005f6d2
add esp, 8
mov dword [ebp - 0x3f0], 0
mov dword [ebp - 0x3ec], 0xf
mov byte [ebp - 0x400], 0
mov ecx, dword [ebp - 0x3bc]
cmp ecx, 0x10
jb 0x10040ee7
mov edx, dword [ebp - 0x3d0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10040edd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10040f15
push ecx
push edx
call fcn.1005f6d2
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005f68b
mov esp, ebp
pop ebp
ret
call fcn.100648f1
call fcn.10005250
push str.invalid_wchar_t_filename_argument
call fcn.1005e525
call fcn.100648f1
int3