Function at 0x10010b7e
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Get system information on windows
Parse pe header
Read file on windows

Disassembly:
push ebp
sub esp, 0x5c
mov eax, 0x100201ad
call fcn.10011524
xor eax, eax
sub esp, 0x54
inc eax
cmp dword [ebp + 0x6c], eax
jne 0x10011509
push ebx
push esi
push dword [ebp + 0x68]
call dword [sym.imp.KERNEL32.DLL_DisableThreadLibraryCalls]
lea ecx, [ebp - 0x38]
call fcn.100010b9
mov al, 0x15
mov word [ebp - 0x10], 0x7767
mov byte [ebp - 0x38], al
xor ebx, ebx
movsx eax, al
push eax
mov dword [ebp - 4], ebx
mov byte [ebp - 0xe], bl
call fcn.10010b32
pop ecx
mov dword [ebp + 0x6c], eax
mov esi, ebx
push esi
lea eax, [ebp + 0x6c]
push 4
push eax
call section..text
add esp, 0xc
mov dword [ebp + esi*4 - 0x34], eax
inc esi
cmp esi, 8
jl 0x10010bd0
push 2
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x38]
call fcn.100010bf
mov dword [ebp - 0x14], eax
xor eax, eax
lea ecx, [ebp]
inc eax
mov dword [ebp - 4], eax
call fcn.100010b9
mov al, 0x53
mov byte [ebp - 4], 2
mov byte [ebp], al
movsx eax, al
push eax
mov dword [ebp + 0x28], 0x27207c7d
mov dword [ebp + 0x2c], 0x317d3126
mov word [ebp + 0x30], 0x3d3a
mov byte [ebp + 0x32], bl
call fcn.10010b32
pop ecx
mov dword [ebp + 0x68], eax
mov esi, ebx
push esi
lea eax, [ebp + 0x68]
push 4
push eax
call section..text
add esp, 0xc
mov dword [ebp + esi*4 + 4], eax
inc esi
cmp esi, 8
jl 0x10010c3b
push 0xa
lea eax, [ebp + 4]
push eax
lea eax, [ebp + 0x28]
push eax
lea ecx, [ebp]
call fcn.100010bf
mov dword [ebp + 0x24], eax
movsx eax, byte [ebp - 0x38]
push eax
mov byte [ebp - 4], 3
call fcn.10010b32
pop ecx
mov dword [ebp + 0x6c], eax
mov esi, ebx
push esi
lea eax, [ebp + 0x6c]
push 4
push eax
call section..text
add esp, 0xc
mov dword [ebp + esi*4 - 0x34], eax
inc esi
cmp esi, 8
jl 0x10010c7d
lea ecx, [ebp - 0x38]
call fcn.100011a3
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x38]
call fcn.10001136
mov esi, eax
test esi, esi
jne 0x10010cb8
mov esi, ebx
jmp 0x10010cc9
mov ecx, ebx
mov al, byte [ebp - 0x38]
xor byte [ecx + esi], al
inc ecx
cmp ecx, 2
jb 0x10010cba
mov byte [esi + 2], bl
movsx eax, byte [ebp]
push edi
push eax
call fcn.10010b32
pop ecx
mov dword [ebp + 0x40], eax
mov edi, ebx
push edi
lea eax, [ebp + 0x40]
push 4
push eax
call section..text
add esp, 0xc
mov dword [ebp + edi*4 + 4], eax
inc edi
cmp edi, 8
jl 0x10010cda
lea ecx, [ebp]
call fcn.100011a3
push eax
lea eax, [ebp + 4]
push eax
push dword [ebp + 0x24]
lea ecx, [ebp]
call fcn.10001136
mov ecx, eax
test ecx, ecx
jne 0x10010d15
mov ecx, ebx
jmp 0x10010d26
mov edx, ebx
mov al, byte [ebp]
xor byte [edx + ecx], al
inc edx
cmp edx, 0xa
jb 0x10010d17
mov byte [ecx + 0xa], bl
push esi
push ecx
call fcn.100148c7
pop ecx
pop ecx
lea ecx, [ebp]
mov esi, eax
call sym.out.dll_DirectXSetupShowEULA
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call sym.out.dll_DirectXSetupShowEULA
test esi, esi
je 0x10011503
push 2
push ebx
push esi
call fcn.10014edb
push esi
call fcn.1001553a
push 0
mov ebx, eax
push 0
push esi
mov dword [ebp + 0x58], ebx
call fcn.10014edb
push ebx
call fcn.1001151a
mov edi, eax
xor eax, eax
push esi
push ebx
inc eax
mov dword [ebp + 0x50], edi
push eax
push edi
call fcn.10014ab7
push esi
call fcn.100147e0
add esp, 0x34
xor esi, esi
cmp ebx, 0x40
jb 0x100114fb
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x100114f4
mov eax, dword [edi + 0x3c]
add eax, 0xf8
cmp ebx, eax
jb 0x100114fb
mov ebx, dword [edi + 0x3c]
add ebx, edi
mov dword [ebp + 0x68], ebx
cmp dword [ebx], 0x4550
jne 0x100114f4
mov eax, 0x14c
cmp word [ebx + 4], ax
jne 0x100114f4
mov eax, dword [ebx + 0x38]
mov dword [ebp + 0x6c], eax
test al, 1
jne 0x100114f4
movzx eax, word [ebx + 0x14]
movzx edx, word [ebx + 6]
add eax, 0x24
test edx, edx
je 0x10010e19
add eax, ebx
mov ebx, dword [ebp + 0x6c]
mov ecx, dword [eax + 4]
mov edi, dword [eax]
test ecx, ecx
jne 0x10010e07
lea ecx, [edi + ebx]
jmp 0x10010e09
add ecx, edi
cmp ecx, esi
cmova esi, ecx
add eax, 0x28
sub edx, 1
jne 0x10010df9
mov ebx, dword [ebp + 0x68]
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.DLL_GetNativeSystemInfo]
mov ecx, dword [ebp - 0x5c]
lea edx, [ecx - 1]
lea edi, [ecx - 1]
not edx
add edi, dword [ebx + 0x50]
lea eax, [ecx - 1]
add eax, esi
and edi, edx
and eax, edx
cmp edi, eax
jne 0x100114f4
mov esi, dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov eax, 0x3000
push 4
push eax
push edi
push dword [ebx + 0x34]
mov dword [ebp + 0x4c], eax
call esi
mov dword [ebp + 0x44], eax
test eax, eax
jne 0x10010e7b
push 4
mov eax, 0x3000
push eax
push edi
push 0
call esi
mov dword [ebp + 0x44], eax
test eax, eax
jne 0x10010e7b
push 0xe
jmp 0x100114fd
mov eax, dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push 0x34
push 8
mov dword [ebp + 0x34], eax
call eax
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov ecx, dword [ebp + 0x44]
mov edi, eax
mov dword [ebp + 0x3c], edi
test edi, edi
jne 0x10010eab
push 0x8000
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
jmp 0x10010e74
mov dword [edi + 4], ecx
xor edx, edx
movzx eax, word [ebx + 0x16]
inc edx
and dword [edi + 0x28], 0
shr eax, 0xd
and eax, edx
mov dword [edi + 0x1c], 0x100014bc
mov dword [edi + 0x14], eax
mov dword [edi + 0x20], 0x100014ad
mov dword [edi + 0x24], 0x100014a2
mov eax, dword [ebp - 0x5c]
mov dword [edi + 0x30], eax
mov eax, dword [ebp + 0x58]
cmp eax, dword [ebx + 0x54]
mov eax, dword [sym.imp.KERNEL32.DLL_VirtualFree]
mov dword [ebp + 0x40], eax
mov eax, dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov dword [ebp + 0x6c], eax
jae 0x10010efb
push 0xd
jmp 0x10011461
push 4
push 0x1000
push dword [ebx + 0x54]
push ecx
call esi
push dword [ebx + 0x54]
mov esi, eax
push dword [ebp + 0x50]
push esi
call fcn.100122c0
mov eax, dword [ebp + 0x50]
xor edx, edx
mov ecx, dword [ebp + 0x44]
add esp, 0xc
mov dword [ebp + 0x54], edx
mov eax, dword [eax + 0x3c]
add eax, esi
mov dword [edi], eax
mov dword [eax + 0x34], ecx
mov eax, dword [edi]
mov ecx, dword [edi + 4]
xor edi, edi
mov dword [ebp + 0x68], ecx
movzx esi, word [eax + 0x14]
add esi, 0x24
cmp di, word [eax + 6]
mov edi, dword [ebp + 0x3c]
jae 0x10011002
add esi, eax
mov dword [ebp + 0x5c], esi
cmp dword [esi + 4], 0
jne 0x10010f95
mov eax, dword [ebx + 0x38]
mov dword [ebp + 0x48], eax
test eax, eax
jle 0x10010fea
push 4
push 0x1000
push eax
mov eax, dword [esi]
add eax, ecx
push eax
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
test eax, eax
je 0x10011467
push dword [ebp + 0x48]
mov eax, dword [esi]
add eax, dword [ebp + 0x68]
push 0
push eax
mov dword [esi - 4], eax
call fcn.10012bf0
jmp 0x10010fe1
mov eax, dword [esi + 8]
add eax, dword [esi + 4]
cmp dword [ebp + 0x58], eax
jb 0x10010ef4
mov eax, dword [esi]
push 4
push 0x1000
push dword [esi + 4]
add eax, ecx
push eax
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
test eax, eax
je 0x10011467
mov eax, dword [ebp + 0x5c]
mov esi, dword [esi]
add esi, dword [ebp + 0x68]
push dword [eax + 4]
mov eax, dword [eax + 8]
add eax, dword [ebp + 0x50]
push eax
push esi
call fcn.100122c0
mov eax, dword [ebp + 0x5c]
mov dword [eax - 4], esi
mov esi, eax
mov edx, dword [ebp + 0x54]
add esp, 0xc
mov ecx, dword [ebp + 0x68]
mov eax, dword [edi]
inc edx
add esi, 0x28
mov dword [ebp + 0x54], edx
mov dword [ebp + 0x5c], esi
movzx eax, word [eax + 6]
cmp edx, eax
jl 0x10010f51
mov eax, dword [edi]
mov ecx, dword [eax + 0x34]
sub ecx, dword [ebx + 0x34]
mov dword [ebp + 0x68], ecx
je 0x10011086
cmp dword [eax + 0xa4], 0
mov ebx, dword [edi + 4]
mov dword [ebp + 0x58], ebx
jne 0x10011022
xor ecx, ecx
jmp 0x10011089
mov ecx, dword [eax + 0xa0]
add ecx, ebx
mov edx, dword [ecx]
test edx, edx
je 0x10011086
mov edi, dword [ebp + 0x68]
lea eax, [ebx + edx]
xor ebx, ebx
mov edx, dword [ecx + 4]
lea esi, [ecx + 8]
mov dword [ebp + 0x68], eax
lea eax, [edx - 8]
test eax, 0xfffffffe
jbe 0x10011076
movzx edx, word [esi]
mov eax, edx
and eax, 0xf000
cmp ax, word [ebp + 0x4c]
jne 0x10011066
and edx, 0xfff
add edx, dword [ebp + 0x68]
add dword [edx], edi
mov edx, dword [ecx + 4]
inc ebx
add esi, 2
lea eax, [edx - 8]
shr eax, 1
cmp ebx, eax
jb 0x1001104b
mov ebx, dword [ebp + 0x58]
add ecx, edx
mov edx, dword [ecx]
test edx, edx
jne 0x10011033
mov edi, dword [ebp + 0x3c]
mov eax, dword [edi]
xor ecx, ecx
inc ecx
mov dword [edi + 0x18], ecx
cmp dword [eax + 0x84], 0
mov ecx, dword [edi + 4]
mov dword [ebp + 0x68], ecx
je 0x100111fa
mov esi, dword [eax + 0x80]
mov eax, dword [sym.imp.KERNEL32.DLL_IsBadReadPtr]
add esi, ecx
push 0x14
push esi
mov dword [ebp + 0x54], eax
call eax
test eax, eax
jne 0x100111fa
mov edx, dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
lea ebx, [esi + 0x10]
mov eax, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x5c], edx
mov dword [ebp + 0x58], eax
mov eax, dword [ebx - 4]
test eax, eax
je 0x100111fa
add eax, dword [ebp + 0x68]
mov ecx, dword [edi + 0x1c]
cmp ecx, 0x100014bc
jne 0x100110f1
push eax
call edx
jmp 0x100110f9
push dword [edi + 0x28]
push eax
call ecx
pop ecx
pop ecx
mov esi, eax
test esi, esi
je 0x100111f3
mov eax, dword [edi + 0xc]
lea eax, [eax*4 + 4]
push eax
push dword [edi + 8]
call fcn.100145c9
pop ecx
pop ecx
test eax, eax
je 0x100111c9
mov ecx, dword [edi + 0xc]
mov edx, dword [ebp + 0x68]
mov dword [edi + 8], eax
mov dword [eax + ecx*4], esi
inc dword [edi + 0xc]
mov eax, dword [ebx - 0x10]
mov ecx, dword [ebx]
add ecx, edx
lea ebx, [eax + edx]
test eax, eax
jne 0x1001113f
mov ebx, ecx
mov eax, dword [ebx]
test eax, eax
je 0x1001118a
sub ecx, ebx
mov dword [ebp + 0x50], ecx
mov ecx, dword [edi + 0x20]
test eax, eax
jns 0x10011156
movzx eax, ax
jmp 0x1001115b
add eax, 2
add eax, edx
cmp ecx, 0x100014ad
jne 0x1001116a
push eax
push esi
call dword [ebp + 0x58]
jmp 0x10011174
push dword [edi + 0x28]
push eax
push esi
call ecx
add esp, 0xc
mov ecx, dword [ebp + 0x50]
mov dword [ebx + ecx], eax
test eax, eax
je 0x100111a8
mov edx, dword [ebp + 0x68]
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x1001114a
mov ebx, dword [ebp + 0x48]
add ebx, 0x14
push 0x14
mov dword [ebp + 0x48], ebx
lea eax, [ebx - 0x10]
push eax
call dword [ebp + 0x54]
test eax, eax
jne 0x100111fa
mov edx, dword [ebp + 0x5c]
jmp 0x100110d3
mov eax, dword [edi + 0x24]
cmp eax, 0x100014a2
jne 0x100111ba
mov ebx, dword [ebp + 0x6c]
push esi
call ebx
jmp 0x100111c5
push dword [edi + 0x28]
push esi
call eax
mov ebx, dword [ebp + 0x6c]
pop ecx
pop ecx
push 0x7f
jmp 0x100111e8
mov eax, dword [edi + 0x24]
cmp eax, 0x100014a2
jne 0x100111db
mov ebx, dword [ebp + 0x6c]
push esi
call ebx
jmp 0x100111e6
push dword [edi + 0x28]
push esi
call eax
mov ebx, dword [ebp + 0x6c]
pop ecx
pop ecx
push 0xe
call dword [sym.imp.KERNEL32.DLL_SetLastError]
jmp 0x1001146a
push 0x7e
jmp 0x10011461
mov ecx, dword [edi]
mov edx, dword [edi + 0x30]
dec edx
not edx
movzx ebx, word [ecx + 0x14]
mov eax, dword [ebx + ecx + 0x20]
and edx, eax
mov esi, dword [ebx + ecx + 0x28]
mov dword [ebp + 0x68], eax
mov dword [ebp + 0x50], edx
test esi, esi
jne 0x10011230
test byte [ebx + ecx + 0x3c], 0x40
je 0x10011226
mov esi, dword [ecx + 0x20]
jmp 0x10011230
test byte [ebx + ecx + 0x3c], 0x80
je 0x10011230
mov esi, dword [ecx + 0x24]
mov ebx, dword [ebx + ecx + 0x3c]
xor edi, edi
inc edi
mov dword [ebp + 0x58], 1
cmp di, word [ecx + 6]
mov edi, dword [ebp + 0x3c]
jae 0x1001139a
movzx eax, word [ecx + 0x14]
add eax, 0x64
add eax, ecx
mov dword [ebp + 0x5c], eax
mov edx, dword [ebp + 0x5c]
mov eax, dword [edx - 0x1c]
mov edx, dword [edx - 0x14]
mov dword [ebp + 0x48], eax
mov eax, dword [edi + 0x30]
mov dword [ebp + 0x4c], eax
neg dword [ebp + 0x4c]
mov eax, dword [ebp + 0x48]
and dword [ebp + 0x4c], eax
test edx, edx
mov eax, dword [ebp + 0x68]
mov dword [ebp + 0x54], edx
mov edx, dword [ebp + 0x50]
jne 0x100112a8
mov eax, dword [ebp + 0x5c]
mov eax, dword [eax]
test al, 0x40
mov dword [ebp + 0x38], eax
mov eax, dword [ebp + 0x68]
je 0x10011299
mov edx, dword [ecx + 0x20]
mov dword [ebp + 0x54], edx
mov edx, dword [ebp + 0x50]
jmp 0x100112a8
test byte [ebp + 0x38], 0x80
je 0x100112a8
mov eax, dword [ecx + 0x24]
mov dword [ebp + 0x54], eax
mov eax, dword [ebp + 0x68]
cmp edx, dword [ebp + 0x4c]
je 0x10011352
add eax, esi
cmp eax, dword [ebp + 0x4c]
ja 0x1001134f
test esi, esi
je 0x10011339
test ebx, 0x2000000
je 0x100112ee
mov ebx, dword [ebp + 0x68]
cmp ebx, edx
jne 0x10011339
mov eax, dword [edi + 0x30]
cmp dword [ecx + 0x38], eax
je 0x100112e2
xor edx, edx
mov eax, esi
div dword [edi + 0x30]
test edx, edx
jne 0x10011339
push 0x4000
push esi
push ebx
call dword [ebp + 0x40]
jmp 0x10011339
xor edx, edx
mov ecx, ebx
shr ecx, 0x1d
inc edx
mov eax, ebx
and ecx, edx
shr eax, 0x1e
and eax, edx
lea ecx, [eax + ecx*2]
mov eax, ebx
shr eax, 0x1f
lea eax, [eax + ecx*2]
mov ecx, dword [eax*4 + section..data]
lea eax, [ebp - 0x3c]
push eax
mov eax, ecx
or eax, 0x200
test ebx, 0x4000000
mov ebx, dword [ebp + 0x68]
cmove eax, ecx
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
test eax, eax
je 0x10011467
mov eax, dword [ebp + 0x5c]
mov ebx, dword [ebp + 0x48]
mov edx, dword [ebp + 0x4c]
mov esi, dword [ebp + 0x54]
mov dword [ebp + 0x68], ebx
mov ebx, dword [eax]
mov dword [ebp + 0x50], edx
jmp 0x1001137f
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x5c]
mov edx, ebx
mov esi, dword [ebp + 0x54]
sub esi, eax
add esi, dword [ebp + 0x48]
and ebx, dword [ecx]
or edx, dword [ecx]
bt ebx, 0x19
mov ecx, edx
mov ebx, edx
mov edx, dword [ebp + 0x50]
setb al
and ecx, 0xfdffffff
test al, al
mov eax, dword [ebp + 0x5c]
cmove ebx, ecx
mov ecx, dword [edi]
add eax, 0x28
inc dword [ebp + 0x58]
mov dword [ebp + 0x5c], eax
movzx eax, word [ecx + 6]
cmp dword [ebp + 0x58], eax
mov eax, dword [ebp + 0x68]
jl 0x10011257
test esi, esi
je 0x100113fd
test ebx, 0x2000000
je 0x100113b6
cmp eax, edx
jne 0x100113fd
push 0x4000
push esi
push eax
call dword [ebp + 0x40]
jmp 0x100113fd
xor edx, edx
mov ecx, ebx
shr ecx, 0x1d
inc edx
mov eax, ebx
and ecx, edx
shr eax, 0x1e
and eax, edx
lea ecx, [eax + ecx*2]
mov eax, ebx
shr eax, 0x1f
lea eax, [eax + ecx*2]
mov ecx, dword [eax*4 + section..data]
lea eax, [ebp + 0x38]
push eax
mov eax, ecx
or eax, 0x200
test ebx, 0x4000000
mov ebx, dword [ebp + 0x68]
cmove eax, ecx
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
test eax, eax
je 0x10011467
mov eax, dword [edi]
mov ebx, dword [edi + 4]
mov esi, dword [eax + 0xc0]
test esi, esi
je 0x1001142f
mov esi, dword [ebx + esi + 0xc]
test esi, esi
je 0x1001142f
mov eax, dword [esi]
test eax, eax
je 0x1001142f
xor edi, edi
inc edi
push 0
push edi
push ebx
call eax
lea esi, [esi + 4]
mov eax, dword [esi]
test eax, eax
jne 0x1001141d
mov edi, dword [ebp + 0x3c]
mov eax, dword [edi]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x100114ee
mov ecx, dword [ebp + 0x44]
add eax, ecx
cmp dword [edi + 0x14], 0
je 0x100114e9
xor edx, edx
push 0
inc edx
push edx
push ecx
call eax
test eax, eax
jne 0x100114e1
push 0x45a
call dword [sym.imp.KERNEL32.DLL_SetLastError]
mov ebx, dword [ebp + 0x6c]
cmp dword [edi + 0x10], 0
je 0x10011481
mov eax, dword [edi]
push 0
push 0
push dword [edi + 4]
mov eax, dword [eax + 0x28]
add eax, dword [edi + 4]
call eax
cmp dword [edi + 8], 0
je 0x100114bf
xor esi, esi
cmp dword [edi + 0xc], esi
jle 0x100114b6
mov eax, dword [edi + 8]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x100114b0
mov ecx, dword [edi + 0x24]
cmp ecx, 0x100014a2
jne 0x100114a8
push eax
call ebx
jmp 0x100114b0
push dword [edi + 0x28]
push eax
call ecx
pop ecx
pop ecx
inc esi
cmp esi, dword [edi + 0xc]
jl 0x1001148e
push dword [edi + 8]
call fcn.100145a3
pop ecx
cmp dword [edi + 4], 0
je 0x100114d2
push 0x8000
push 0
push dword [edi + 4]
call dword [ebp + 0x40]
push edi
push 0
call dword [ebp + 0x34]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
jmp 0x10011503
xor eax, eax
inc eax
mov dword [edi + 0x10], eax
jmp 0x10011506
mov dword [edi + 0x2c], eax
jmp 0x10011503
and dword [edi + 0x2c], 0
jmp 0x10011503
push 0xc1
jmp 0x100114fd
push 0xd
call dword [sym.imp.KERNEL32.DLL_SetLastError]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
add ebp, 0x60
leave
ret 0xc