joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47079b5b
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
lea edx, [ecx + eax*2]
cmp ecx, edx
mov eax, dword [ebp + 0x10]
jae 0x47079b80
push esi
movzx esi, word [ecx]
imul eax, eax, 0x21
xor eax, esi
inc ecx
inc ecx
cmp ecx, edx
jb 0x47079b71
pop esi
pop ebp
ret 0xc

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x402480
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.2__DefaultHighPerformancePpmPerfIncreasePolicyACSetting______________DefaultHighPerformancePpmPerfIncreasePolicyDCSetting_2_

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x401ae3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401b22
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401b22
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401b22
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401b22
cmp dword [ecx + 0x74], 0xe
jbe 0x401b22
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x401182
Capabilities:
Read file on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x405014]
sub eax, 4
mov dword [0x405018], eax
push 0x3ff
push str.C:UsersAdministratorDesktop_bee7c8.exe
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4011b6
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [0x405018]
shl eax, 1
mov dword [0x405014], eax
push str.C:UsersAdministratorDesktop_bee7c8.exe
call section..text
pop ecx
mov dword [ebp - 4], eax
mov eax, dword [0x405014]
mov ecx, dword [0x405018]
lea eax, [ecx + eax - 9]
mov dword [0x405014], eax
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push str.C:UsersAdministratorDesktop_bee7c8.exe
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xac], eax
mov eax, dword [0x405014]
sub eax, 4
mov dword [0x405018], eax
cmp dword [ebp - 0xac], 0xffffffff
je 0x401392
mov eax, dword [0x405018]
shl eax, 1
mov dword [0x405014], eax
push 2
push 0
push 0xfffffffffffffff0
push dword [ebp - 0xac]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [0x405018]
add eax, 8
mov dword [0x405018], eax
push 0
lea eax, [ebp - 8]
push eax
push 4
push 0x40ba90
push dword [ebp - 0xac]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 0x98]
push eax
push dword [ebp - 0xac]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x405018]
shl eax, 1
mov dword [0x405014], eax
push 0
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 0x94]
push eax
push dword [ebp - 0xac]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x405018]
add eax, 7
mov dword [0x405014], eax
push 0
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xac]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x405014]
imul eax, eax, 0x63
mov dword [0x405014], eax
push dword [ebp - 0xc]
push dword [ebp - 0x94]
push dword [ebp - 0x98]
push dword [0x40ba90]
push 0x40501c
lea eax, [ebp - 0x8c]
push eax
call fcn.00403724
add esp, 0x18
cmp dword [ebp - 0xc], 0x221c
jne 0x40134f
push 0x40ba98
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x94]
mov dword [0x40500c], eax
mov eax, dword [0x405014]
mov ecx, dword [0x405018]
lea eax, [ecx + eax - 9]
mov dword [0x405014], eax
mov eax, dword [ebp - 0x98]
mov dword [0x405008], eax
mov eax, dword [0x405018]
add eax, 7
mov dword [0x405014], eax
jmp 0x40136b
mov eax, dword [0x405014]
mov ecx, dword [0x405018]
lea eax, [ecx + eax - 9]
mov dword [0x405014], eax
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [0x405018]
shl eax, 1
mov dword [0x405014], eax
push dword [ebp - 0xac]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x405018]
shl eax, 3
mov dword [0x405018], eax
jmp 0x4013a7
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [0x405018]
add eax, 7
mov dword [0x405014], eax
leave
ret
Function at 0x10007120
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100520e8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1006a070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x1000724f
cmp byte [ebx + 0x3d], 0
je 0x1000724f
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x10007179
xor al, al
jmp 0x10007251
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10006c30
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x100071e7
sub eax, 1
je 0x100071eb
sub eax, 2
je 0x10007241
lea ecx, [ebp - 0x28]
xor bl, bl
call fcn.10002e80
mov al, bl
jmp 0x10007251
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x10007223
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.10034c2f
add esp, 0x10
cmp esi, eax
jne 0x100071d9
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x3d], 0
je 0x10007241
test esi, esi
jne 0x100071a4
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.10006d00
jmp 0x1000719e
lea ecx, [ebp - 0x28]
mov bl, 1
call fcn.10002e80
mov al, bl
jmp 0x10007251
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002c8c0
mov esp, ebp
pop ebp
ret

Function at 0x100076e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10051eb6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1006a070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1002ce51
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.10019510
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000bae0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], ecx
push edi
call fcn.10009e30
push eax
call fcn.10007f30
add esp, 4
xor ecx, ecx
nop dword [eax]
mov eax, ecx
test cl, 1
je 0x1000bb0a
xor eax, 2
shr eax, 1
test al, 1
je 0x1000bb13
xor eax, 2
shr eax, 1
test al, 1
je 0x1000bb1c
xor eax, 2
shr eax, 1
test al, 1
je 0x1000bb25
xor eax, 2
shr eax, 1
test al, 1
je 0x1000bb2e
xor eax, 2
shr eax, 1
test al, 1
je 0x1000bb37
xor eax, 2
shr eax, 1
test al, 1
je 0x1000bb40
xor eax, 2
shr eax, 1
test al, 1
je 0x1000bb49
xor eax, 2
shr eax, 1
mov dword [ecx*4 + 0x1006d980], eax
inc ecx
cmp ecx, 0x100
jb 0x1000bb00
mov esi, 0x10c
or ebx, 0xffffffff
cmp edi, esi
jbe 0x1000bb98
mov eax, dword [ebp - 4]
movsx eax, byte [esi + eax]
push eax
call fcn.10009e30
push eax
call fcn.10007f30
mov eax, dword [ebp - 4]
add esp, 4
movzx ecx, bl
shr ebx, 8
movzx eax, byte [esi + eax]
inc esi
xor ecx, eax
xor ebx, dword [ecx*4 + 0x1006d980]
cmp esi, edi
jb 0x1000bb67
pop edi
not ebx
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000d3f0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1006c57c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10074b6c]
cmp eax, dword [ecx + 4]
jle 0x1000d448
push 0x10074b6c
call fcn.1002c9ec
add esp, 4
cmp dword [0x10074b6c], 0xffffffff
jne 0x1000d448
push 0x40
push 0x1000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0x10074b6c
mov dword [0x10074b68], eax
call fcn.1002c9ad
add esp, 4
mov edx, dword [0x10074b68]
push esi
lea esi, [edx + 0x1000]
cmp edx, esi
je 0x1000d473
nop dword [eax]
lea ecx, [edx + 0x1c]
call fcn.1000d3e0
test eax, eax
je 0x1000d477
add edx, 0x20
cmp edx, esi
jne 0x1000d460
xor eax, eax
pop esi
ret
mov eax, edx
pop esi
ret

Function at 0x1000d480
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0xc], edx
mov edi, ecx
call fcn.1000d3f0
mov ebx, eax
xor esi, esi
mov dword [ebp - 4], ebx
nop word [eax + eax]
lea ecx, [esi + edi]
call fcn.1000d1a0
add esi, eax
cmp esi, 5
jl 0x1000d4a0
test esi, esi
jle 0x1000d4d1
mov ecx, ebx
mov edx, esi
mov ebx, edi
sub ebx, ecx
nop dword [eax + eax]
mov al, byte [ebx + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub edx, 1
jne 0x1000d4c0
mov ebx, dword [ebp - 4]
lea ecx, [esi + ebx]
lea eax, [edi - 5]
mov byte [ecx], 0xe9
sub esi, ecx
add eax, esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ecx + 1], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push edi
call esi
mov eax, dword [ebp - 0xc]
sub eax, edi
mov byte [edi], 0xe9
sub eax, 5
mov dword [edi + 1], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push edi
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000dd90
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push 0x40
push 0
lea eax, [esi + 1]
push eax
call fcn.1002fb90
add esp, 0xc
xorps xmm0, xmm0
movq qword [esi + 0x44], xmm0
mov ecx, esi
movups xmmword [esi + 0x4c], xmm0
push dword [ebp + 0xc]
movups xmmword [esi + 0x5c], xmm0
mov byte [esi], 0
push dword [ebp + 8]
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0x67452301
mov dword [esi + 0x50], 0xefcdab89
mov dword [esi + 0x54], 0x98badcfe
mov dword [esi + 0x58], 0x10325476
call fcn.10012260
mov ecx, esi
call fcn.10012310
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x1000e510
Capabilities:
Contain obfuscated stackstrings
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100529e0
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x1006a070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x28], 0x64005c
push 0x2800
push eax
push 0x10071de0
mov dword [ebp - 0x24], 0x650073
mov dword [ebp - 0x20], 0x750074
mov dword [ebp - 0x1c], 0x2e0070
mov dword [ebp - 0x18], 0x6c0064
mov dword [ebp - 0x14], 0x6c
call fcn.1002fb90
add esp, 0xc
push 0x10071de0
call fcn.1000ed60
test al, al
je 0x1000e788
mov ecx, 0x10071de0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000e591
sub ecx, edx
sar ecx, 1
je 0x1000e788
push 0x100725e0
call fcn.1000e920
test al, al
je 0x1000e788
mov ecx, 0x100725e0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000e5c0
sub ecx, edx
sar ecx, 1
je 0x1000e788
push 0x10072de0
call fcn.1000ef90
test al, al
je 0x1000e788
mov ecx, 0x10072de0
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000e5f0
sub ecx, edx
sar ecx, 1
je 0x1000e788
push 0x100735e0
call fcn.1000f0e0
test al, al
je 0x1000e788
mov ecx, 0x100735e0
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000e620
sub ecx, edx
sar ecx, 1
je 0x1000e788
push 0x10073de0
lea eax, [ebp - 0x28]
push eax
call fcn.1000e370
test al, al
je 0x1000e788
mov eax, 0x10073de0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000e653
sub eax, edx
sar eax, 1
je 0x1000e788
push 0x10071de0
lea ecx, [ebp - 0x40]
call fcn.1000c410
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.1000de80
push eax
mov ecx, 0x100745e0
call fcn.10002ef0
lea ecx, [ebp - 0x58]
call fcn.10002e80
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.1000c3d0
push 0x100725e0
lea ecx, [ebp - 0x40]
call fcn.1000c410
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.1000de80
push eax
mov ecx, 0x100745f8
call fcn.10002ef0
lea ecx, [ebp - 0x58]
call fcn.10002e80
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.1000c3d0
push 0x10072de0
lea ecx, [ebp - 0x40]
call fcn.1000c410
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.1000de80
push eax
mov ecx, 0x10074610
call fcn.10002ef0
lea ecx, [ebp - 0x58]
call fcn.10002e80
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.1000c3d0
push 0x100735e0
lea ecx, [ebp - 0x70]
call fcn.1000c410
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.1000de80
push eax
mov ecx, 0x10074628
call fcn.10002ef0
lea ecx, [ebp - 0x88]
call fcn.10002e80
lea ecx, [ebp - 0x70]
call fcn.1000c3d0
push 0
push 0
push 0x1000e490
call fcn.100380f6
add esp, 0xc
mov al, 1
jmp 0x1000e78a
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002c8c0
mov esp, ebp
pop ebp
ret
Function at 0x10010cc0
Capabilities:
Create thread
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
sub dword [ebp + 0xc], 1
jne 0x10010dd9
push esi
mov esi, dword [ebp + 8]
mov dword [0x1006dd8c], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x10010c70
mov dword [ebp - 4], 1
call dword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
jne 0x10010d13
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x10010d13
mov eax, dword [ebp - 8]
test eax, eax
jne 0x10010d15
xor eax, eax
push esi
mov dword [0x1006dd90], eax
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
mov esi, eax
mov dword [ebp - 0xc], 0xc
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
push 1
push str.D:P_D_OICI_GA___BG__D_OICI_GA___AN_
call dword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
je 0x10010d6c
push dword [ebp - 8]
push 4
push esi
call dword [sym.imp.ADVAPI32.dll_SetKernelObjectSecurity]
test eax, eax
jne 0x10010d74
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_Sleep]
push str._GL2UseGameGuard__3HA
push str.core.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x10010dbb
lea eax, [ebp + 0xc]
push eax
push 4
push 1
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10010dbb
lea eax, [ebp + 0xc]
mov byte [esi], 0
push eax
push dword [ebp + 0xc]
push 1
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10010dc3
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 0
push 0x10002090
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10010ef0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10052b78
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x1006a070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, str.Initializing_extender
mov ecx, 0x1006bda0
call fcn.10007a10
push eax
call fcn.10007f30
add esp, 4
cmp dword [0x1006dd88], 0
jne 0x10011136
mov dword [0x1006dd88], 1
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
call fcn.100117e0
mov dword [ebp - 0x60], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 8
push str.dsetup.u
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10003100
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x60]
call fcn.10004a40
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
mov bl, al
call fcn.10002e80
test bl, bl
je 0x1001104d
push 9
push str.server_ip
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10003100
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x60]
call fcn.10005090
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.10002e80
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
mov ecx, 0x10074790
push eax
call fcn.10003200
lea eax, [ebp - 0x40]
push eax
call fcn.10012770
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 5
call fcn.10011870
lea edx, [ebp - 0x7c]
mov byte [ebp - 4], 6
mov ecx, 0x1006bda0
call fcn.10007cc0
push eax
call fcn.10007f30
add esp, 8
lea ecx, [ebp - 0x7c]
call fcn.10002e80
lea ecx, [ebp - 0x40]
call fcn.10002e80
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.10002e80
jmp 0x10011065
mov edx, str.Failed_to_load_configuration.
mov ecx, 0x1006bda0
call fcn.10007a10
push eax
call fcn.10007f30
add esp, 4
call fcn.10015610
test al, al
je 0x10011119
mov edx, str.PHX_created
mov ecx, 0x1006bda0
call fcn.10007a10
push eax
call fcn.10007f30
add esp, 4
call fcn.1000e510
test al, al
je 0x10011119
mov edx, str.HWID_created
mov ecx, 0x1006bda0
call fcn.10007a10
push eax
call fcn.10007f30
add esp, 4
lea eax, [ebp - 0x40]
push eax
call fcn.100094b0
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0x10
jb 0x100110c4
mov eax, dword [eax]
push eax
call dword [0x100746d8]
lea ecx, [ebp - 0x40]
mov dword [0x1006dd80], eax
mov byte [ebp - 4], 0
call fcn.10002e80
cmp dword [0x1006dd80], 0
je 0x10011119
mov edx, str.ENGINE_created
mov ecx, 0x1006bda0
call fcn.10007a10
push eax
call fcn.10007f30
push 0
push 0
push 0x10010df0
call fcn.100380f6
push 0
push 0
push 0x10011180
call fcn.100380f6
add esp, 0x1c
mov eax, dword [ebp - 0x60]
lea ecx, [ebp - 0x60]
push eax
push dword [eax]
lea eax, [ebp - 0x64]
push eax
call fcn.100112b0
push dword [ebp - 0x60]
call fcn.1002c8bb
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002c8c0
mov esp, ebp
pop ebp
ret