joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c0d62
Capabilities:
Get geographical location

Disassembly:
mov ebx, ebx
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x4ef1f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4fe5f0]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push esi
push ebx
xor ebx, ebx
xor esi, esi
inc ebx
cmp eax, esi
jne 0x4c0db6
push esi
push esi
push ebx
push esi
call edi
test eax, eax
je 0x4c0d9c
mov dword [0x4fe5f0], ebx
jmp 0x4c0dcb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x4c0db1
push 2
pop eax
mov dword [0x4fe5f0], eax
jmp 0x4c0db6
mov eax, dword [0x4fe5f0]
cmp eax, 2
je 0x4c0e7d
cmp eax, esi
je 0x4c0e7d
cmp eax, ebx
jne 0x4c0dee
cmp dword [ebp + 0x1c], esi
jne 0x4c0ddb
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 0x1c], eax
push esi
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call edi
mov ecx, eax
cmp ecx, esi
mov dword [ebp - 8], ecx
jne 0x4c0df5
xor eax, eax
jmp 0x4c0e8f
jle 0x4c0e3c
push 0xffffffffffffffe0
xor edx, edx
pop eax
div ecx
cmp eax, 2
jb 0x4c0e3c
lea eax, [ecx + ecx + 8]
cmp eax, 0x400
ja 0x4c0e24
call fcn.004c03c0
mov ebx, esp
cmp ebx, esi
je 0x4c0dee
mov dword [ebx], 0xcccc
add ebx, 8
jmp 0x4c0e3e
push eax
call fcn.004a8093
cmp eax, esi
pop ecx
je 0x4c0e38
mov dword [eax], 0xdddd
add eax, 8
mov ebx, eax
jmp 0x4c0e3e
xor ebx, ebx
cmp ebx, esi
je 0x4c0dee
push dword [ebp - 8]
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call edi
or eax, eax
je 0x4c0e72
push esi
push esi
cmp dword [ebp + 0x18], esi
jne 0x4c0e5d
push esi
push esi
jmp 0x4c0e63
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 0xffffffffffffffff
push ebx
push esi
push dword [ebp + 0x1c]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
push ebx
call fcn.004b2603
pop eax
mov eax, esi
jmp 0x4c0e8f
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esp, [ebp - 0x14]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
pop edi
call fcn.004b7a8b
leave
ret
Function at 0x4c0f75
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4ef1f0]
jne 0x4b7a95
repz ret
jmp 0x4c0f75
mov edi, edi
push ebp
mov dword [0x4fe700], eax
mov ebp, esp
add esp, 0xfffffcd8
mov dword [0x4fe6fc], ecx
mov dword [0x4fe6f8], edx
mov dword [0x4fe6f4], ebx
mov dword [0x4fe6f0], esi
mov dword [0x4fe6ec], edi
mov word [0x4fe718], ss
mov word [0x4fe70c], cs
mov word [0x4fe6e8], ds
mov word [0x4fe6e4], es
mov word [0x4fe6e0], fs
mov word [0x4fe6dc], gs
pushfd
pop dword [0x4fe710]
mov eax, dword [ebp]
mov dword [0x4fe704], eax
mov eax, dword [ebp + 4]
mov dword [0x4fe708], eax
lea eax, [ebp + 8]
mov dword [0x4fe714], eax
mov esi, dword [ebp - 0x320]
mov dword [0x4fe650], 0x10001
mov eax, dword [0x4fe708]
mov dword [0x4fe604], eax
mov dword [0x4fe5f8], 0xc0000409
mov dword [0x4fe5fc], 1
mov eax, dword [0x4ef1f0]
mov dword [ebp - 0x328], eax
mov eax, dword [0x4ef1f4]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x4fe648], eax
push 1
call fcn.004b7a83
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x4ce43c
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x4fe648], 0
jne 0x4c1067
push 1
call fcn.004b7a83
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret

Function at 0x4c2d7f
Capabilities:
Query environment variable

Disassembly:
mov esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ecx, ecx
mov edi, eax
cmp edi, ecx
jne 0x4c2d94
xor eax, eax
pop edi
ret
cmp word [edi], cx
je 0x4c2da7
inc eax
inc eax
cmp word [eax], cx
jne 0x4c2d99
inc eax
inc eax
cmp word [eax], cx
jne 0x4c2d99
push ebx
push esi
sub eax, edi
inc eax
inc eax
mov esi, eax
push esi
call fcn.004b7cbe
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x4c2dc9
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop esi
pop ebx
pop edi
ret
push esi
push edi
push ebx
call fcn.004a86b0
add esp, 0xc
jmp 0x4c2dbc
Function at 0x4092fc
Capabilities:
Encode data using xor

Disassembly:
pop esi
push esi
xor dword [esi], ebx
lodsd eax, dword [esi]
add ebx, eax
test eax, eax
jne 0x4092fe
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ed0
nop
nop
mov ecx, 0x7e6d008f
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x584612d4
nop
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x4018ee
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
lea eax, [ebp - 0x24]
push edi
push eax
call fcn.004018d6
lea eax, [ebp - 0x24]
push eax
call fcn.0040100f
pop ecx
mov ebx, eax
pop ecx
call fcn.00401752
test al, al
je 0x4019b0
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, 0x40c2f0
lea eax, [ebp - 4]
push 0
push eax
push 0x800
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4019b0
cmp dword [ebp - 4], 0
jbe 0x4019b0
movsx eax, byte [ebp - 0x24]
push dword [ebp - 4]
push eax
push esi
call fcn.004010b5
add esp, 0xc
test eax, eax
je 0x4019a3
sub eax, dword [ebp - 4]
push 1
push 0
sub eax, esi
push eax
push dword [ebp + 8]
call edi
lea eax, [ebp - 4]
push 0
push eax
push ebx
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4019b0
cmp dword [ebp - 4], ebx
jl 0x4019b0
lea eax, [ebp - 0x24]
push ebx
push eax
push esi
call fcn.004010dc
add esp, 0xc
test eax, eax
push 1
push 0
je 0x4019b7
push 1
pop eax
sub eax, ebx
push eax
push dword [ebp + 8]
call edi
call fcn.00401752
test al, al
jne 0x401925
xor al, al
pop edi
pop esi
pop ebx
leave
ret
neg ebx
push ebx
push dword [ebp + 8]
call edi
mov al, 1
jmp 0x4019b2

Function at 0x401aae
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
push 1
pop esi
lea eax, [ebp - 0x208]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x104]
push eax
push esi
lea eax, [ebp - 0x208]
push 0x40c0a0
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x401b04
inc esi
cmp esi, 0x63
jl 0x401abb
xor al, al
pop esi
leave
ret
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
call fcn.00401000
pop ecx
mov al, 1
pop ecx
jmp 0x401b01
Function at 0x401b19
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 0xc]
mov byte [ebp - 1], bl
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x401c09
mov eax, dword [ebp + 0x10]
push esi
shr eax, 0xb
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push edi
push eax
push ebx
mov edi, 0x3e9
push 0x406
push edi
push dword [0x40c2ec]
call esi
push ebx
push ebx
push 0x402
push edi
push dword [0x40c2ec]
call esi
push ebx
push 1
push 0x404
push edi
push dword [0x40c2ec]
call esi
call fcn.00401752
test al, al
je 0x401bfe
mov ecx, dword [ebp + 0x10]
cmp ecx, ebx
jle 0x401bfa
mov eax, 0x800
mov dword [ebp + 0xc], ecx
cmp ecx, eax
jb 0x401bac
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0xc]
push ebx
push eax
push dword [ebp + 0xc]
push 0x40c2f0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x401bfe
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0xc], eax
jne 0x401bfe
lea ecx, [ebp - 0x10]
push ebx
push ecx
push eax
push 0x40c2f0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x401bfe
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0x10], eax
jne 0x401bfe
sub dword [ebp + 0x10], eax
push ebx
push ebx
push 0x405
jmp 0x401b84
mov byte [ebp - 1], 1
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, byte [ebp - 1]
pop ebx
leave
ret

Function at 0x401d5c
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
xor ebx, ebx
push ebp
mov byte [esp + 0xf], bl
call fcn.00402dbe
test eax, eax
pop ecx
jne 0x401dea
push edi
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x401de2
push esi
call fcn.00401752
test al, al
je 0x401dda
mov esi, 0x40c2f0
push 0x800
push esi
push ebp
call fcn.00402dd1
add esp, 0xc
cmp eax, ebx
je 0x401dd5
lea ecx, [esp + 0x18]
push ebx
push ecx
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x401dda
call fcn.00401752
test al, al
jne 0x401da4
jmp 0x401dda
mov byte [esp + 0x13], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
push ebp
call fcn.00402fc7
pop ecx
pop edi
mov al, byte [esp + 0xb]
pop ebp
pop ebx
pop ecx
ret

Function at 0x401df2
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push dword [ebp + 0xc]
lea eax, [ebp - 0x124]
push eax
call fcn.00401000
lea eax, [ebp - 0x124]
push eax
call fcn.0040100f
xor ecx, ecx
add esp, 0xc
mov byte [ebp + eax - 0x123], cl
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x124]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x14], ecx
mov word [ebp - 0x10], 0x94
mov dword [ebp - 0xe], 1
mov dword [ebp - 0xa], ecx
mov dword [ebp - 6], ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
leave
ret
Function at 0x401e5a
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x402b68
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov ecx, dword [esp + 4]
push ebx
push esi
mov edx, 0xff
mov esi, dword [ecx]
push edi
mov edi, dword [esp + 0x14]
mov eax, esi
xor eax, dword [esp + 0x18]
shr esi, 8
and eax, edx
mov eax, dword [edi + eax*4]
xor eax, esi
mov esi, dword [ecx + 8]
mov dword [ecx], eax
and eax, edx
add eax, dword [ecx + 4]
mov ebx, esi
and ebx, edx
imul eax, eax, 0x8088405
inc eax
mov dword [ecx + 4], eax
shr eax, 0x18
xor eax, ebx
shr esi, 8
mov eax, dword [edi + eax*4]
pop edi
xor eax, esi
pop esi
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x10]
pop ebx
ret
Function at 0x40356c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0x24]
mov ebx, dword [esi + 0x34]
mov ecx, dword [esi + 0x24]
sub ebx, dword [esi + 0x6c]
mov eax, dword [esi + 0x64]
lea ecx, [edi + ecx - 0x106]
sub ebx, eax
cmp eax, ecx
jb 0x4035f4
mov eax, dword [esi + 0x30]
push edi
lea ecx, [eax + edi]
push ecx
push eax
call fcn.0040101a
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x3c]
sub dword [esi + 0x68], edi
sub dword [esi + 0x64], edi
add esp, 0xc
sub dword [esi + 0x54], edi
mov dword [ebp + 8], eax
lea eax, [ecx + eax*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, edi
cmp ecx, edi
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp + 8]
mov word [eax], cx
jne 0x4035b7
mov eax, dword [esi + 0x38]
mov dword [ebp + 8], edi
lea eax, [eax + edi*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, edi
cmp ecx, edi
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp + 8]
mov word [eax], cx
jne 0x4035d9
add ebx, edi
mov eax, dword [esi]
cmp dword [eax + 4], 0
je 0x40364f
mov ecx, dword [esi + 0x6c]
push ebx
add ecx, dword [esi + 0x64]
add ecx, dword [esi + 0x30]
push ecx
push eax
call fcn.00403654
add dword [esi + 0x6c], eax
mov ebx, dword [esi + 0x6c]
add esp, 0xc
cmp ebx, 3
jb 0x40363b
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x30]
lea edx, [eax + ecx]
mov ecx, dword [esi + 0x50]
movzx eax, byte [edx]
mov dword [esi + 0x40], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x4c]
mov dword [esi + 0x40], eax
cmp ebx, 0x106
jae 0x40364f
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x403578
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10006089
Capabilities:
Resume thread

Disassembly:
push 0x10
mov eax, 0x10011324
call fcn.10010dbc
mov ebx, ecx
mov dword [ebp - 0x18], ebx
cmp byte [ebx + 4], 0
jne 0x100061ed
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
cmp eax, dword [ebx]
jne 0x100061ed
push 0x1000334a
push 0xd008
call fcn.100062eb
mov edi, eax
mov dword [ebp - 0x1c], edi
pop ecx
pop ecx
test edi, edi
je 0x100061e6
push 0xc000
xor ebx, ebx
push ebx
push edi
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xc000], ebx
lea eax, [edi + 0xc004]
push 0x1000
push ebx
push eax
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xd004], ebx
test edi, edi
je 0x100061e6
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
lea ecx, [ebp - 0x1c]
call fcn.100062eb
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.100062eb
mov esi, eax
push esi
push 0x10003028
mov dword [ebp - 0x10], esi
call fcn.100062eb
pop ecx
pop ecx
test esi, esi
jne 0x1000619a
mov ecx, edi
call fcn.100062eb
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100061fa
mov eax, dword [eax]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10014250]
mov ecx, dword [ebp - 0x14]
call esi
call fcn.100062eb
test eax, eax
je 0x10006190
jg 0x10006175
mov esi, eax
mov dword [ebp - 0x10], eax
jmp 0x10006181
movzx esi, ax
or esi, 0x80070000
mov dword [ebp - 0x10], esi
push esi
push 0x10003050
call fcn.100062eb
pop ecx
pop ecx
jmp 0x1000619a
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov byte [eax + 4], 1
lea ecx, [ebp - 0x1c]
call fcn.1000704c
lea eax, [edi + 0xc000]
mov dword [ebp - 0x1c], eax
cmp dword [eax], ebx
jbe 0x100061ce
lea esi, [edi + 8]
test byte [esi - 4], 1
je 0x100061c3
push dword [esi]
call dword [sym.imp.kernel32.dll_ResumeThread]
mov eax, dword [ebp - 0x1c]
inc ebx
add esi, 0xc
cmp ebx, dword [eax]
jb 0x100061b2
mov esi, dword [ebp - 0x10]
mov ecx, edi
call fcn.100062eb
push 0xd008
push edi
call fcn.100062eb
pop ecx
pop ecx
mov eax, esi
jmp 0x100061f2
mov eax, 0x8007000e
jmp 0x100061f2
mov eax, 0x800710dd
call fcn.10010d85
ret 4
call fcn.100062eb
int3

Function at 0x100062eb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x100062fa
pop dword [ebp - 0x4c]
mov eax, 0x100062fa
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x3780c
push 0
mov eax, 0xa296a3c
sub eax, 0xfa2829d8
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0xf2df9b54
add ecx, 0xd20a698
xor edx, edx
add edx, eax
mov ebx, 0x10018600
add ebx, dword [ebp - 0x4c]
mov esi, 0x1a211ad3
sub dword [ebp - 0x18], 0xc8903704
mov edi, dword [ebx]
xor dword [ebp - 0x38], ecx
add edi, esi
add dword [ebp - 0x20], edi
mov dword [edx], edi
add dword [ebp - 0x3c], 0x37a0baa
add edx, 4
add ebx, 4
loop 0x1000634a
add eax, 0x95cd121b
add eax, 0x6a33e868
mov ebx, eax
add eax, 0x94a855e
add eax, 0xf6b57aa7
mov ecx, 0x10000000
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x805b0c
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x805b12
pop ebp
sub ebp, 6
sub ebp, 0x405b0c
jmp 0x805b70
jmp 0x805b79
mov eax, 0x405b0c
add eax, ebp
add eax, 0x93
mov ecx, 0x623
mov edx, 0xcf835d15
xor byte [eax], dl
inc eax
dec ecx
jne 0x805b90
jmp 0x805ba3
jg 0x805bfa
jge 0x805bbc
add eax, 0x157d1515
fnstcw word [ecx]
adc eax, 0xea45d526
adc byte [0x451523c4], 0x9e
fcomp dword [esi + 0x1515299c]
adc eax, 0x15edd494
adc eax, 0xadd81615
pushfd
sub dword [0xd4941515], edx
in eax, dx
adc eax, 0xd8161515
lodsd eax, dword [esi]
adc edx, dword [0x3daf1515]
adc eax, 0xf7e21515
push ss
fstp qword [esi + 0x15151994]
adc eax, 0x7d45d016
dec edx
sbb al, 0x15
jge 0x805ba5
xor ah, byte [edx]
adc eax, 0x7d313914
adc eax, 0xfd151515
adc byte [0x3dfc1515], dl
adc eax, 0x41401515
dec eax
adc eax, 0x48414015
sahf
nop
sbb eax, 0x9e151515
sbb byte [ecx], 0x15
adc eax, 0x5989e15
adc eax, 0xfcd41515
adc eax, 0x989e1515
add eax, 0xd4151515
cld
pop ss
and al, 0x17
xchg esi, eax
xlatb
adc dword [edx + ebx - 0x70], ebx
loope 0x805c08
ljmp 0x9e15:0x19d748ea
Function at 0x10001000
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x108
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push ebp
push edi
push 0x104
lea eax, [esp + 0x10]
push 0
push eax
call sub.MSVCR90.dll_memset
mov edi, dword [sym.imp.MSVCR90.dll_sprintf]
push esi
lea ecx, [esp + 0x1c]
push str._c_route_delete__s
push ecx
call edi
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteA]
add esp, 0x18
push 0
push 0
lea edx, [esp + 0x14]
push edx
push str.cmd.exe
push 0
push 0
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x7d0
call ebp
push str.mask_255.255.255.255_0.0.0.0
push esi
lea eax, [esp + 0x14]
push str._c_route_add__s__s
push eax
call edi
add esp, 0x10
push 0
push 0
lea ecx, [esp + 0x14]
push ecx
push str.cmd.exe
push 0
push 0
call ebx
push 0x7d0
call ebp
mov ecx, dword [0x1000f208]
shl ecx, 4
pop edi
lea ecx, [ecx + 0x10009178]
pop ebp
mov eax, esi
sub ecx, esi
pop ebx
jmp 0x100010b0
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x100010b0
mov ecx, dword [esp + 0x104]
inc dword [0x1000f208]
xor ecx, esp
call fcn.10005cdc
add esp, 0x108
ret
Function at 0x10001200
Capabilities:
List tcp connections and listeners

Disassembly:
sub esp, 0x108
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push ebp
push esi
push edi
push 0
push 5
push 2
push 1
lea eax, [esp + 0x20]
push eax
push 0
mov dword [esp + 0x28], 0
call sub.IPHLPAPI.DLL_GetExtendedTcpTable
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 4
mov ebp, eax
push 0
push 5
push 2
push 1
lea edx, [esp + 0x20]
push edx
push ebp
call sub.IPHLPAPI.DLL_GetExtendedTcpTable
xor ebx, ebx
cmp dword [ebp], ebx
jbe 0x1000134e
lea edi, [ebp + 0x18]
cmp dword [edi - 0x14], 5
jne 0x10001341
mov eax, dword [edi]
push eax
call fcn.10001160
add esp, 4
lea edx, [esp + 0x14]
mov edi, edi
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x10001280
lea eax, [esp + 0x14]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10001291
sub eax, edx
mov edx, eax
xor ecx, ecx
test edx, edx
jle 0x100012b9
mov al, byte [esp + ecx + 0x14]
cmp al, 0x41
jl 0x100012b4
cmp al, 0x5f
jg 0x100012b4
add al, 0x20
mov byte [esp + ecx + 0x14], al
inc ecx
cmp ecx, edx
jl 0x100012a2
movzx ecx, word [edi - 4]
push ecx
call sub.WS2_32.dll_ntohs
movzx esi, ax
mov ecx, str.game.exe
lea eax, [esp + 0x14]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100012f0
test dl, dl
je 0x100012ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100012f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100012d0
xor eax, eax
jmp 0x100012f5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10001301
cmp esi, 0x1964
jmp 0x1000133f
mov ecx, str.poker.exe
lea eax, [esp + 0x14]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10001330
test dl, dl
je 0x1000132c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10001330
add eax, 2
add ecx, 2
test dl, dl
jne 0x10001310
xor eax, eax
jmp 0x10001335
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10001341
cmp esi, 0x3b63
je 0x1000135e
inc ebx
add edi, 0x18
cmp ebx, dword [ebp]
jb 0x10001265
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10001244
push ebp
call dword [sym.imp.MSVCR90.dll_free]
mov ecx, dword [esp + 0x118]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.10005cdc
add esp, 0x108
ret
Function at 0x10002140
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [0x1000f284]
lea eax, [esp]
push eax
push 0x1000f20c
push 0
push 0
push 0x10008078
push ecx
mov dword [esp + 0x18], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, 0x1000f20c
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10002170
sub eax, edx
mov ecx, eax
xor eax, eax
test ecx, ecx
jle 0x1000219d
mov edx, eax
and edx, 0x80000001
jns 0x10002190
dec edx
or edx, 0xfffffffe
inc edx
add dl, al
sub byte [eax + 0x1000f20c], dl
inc eax
cmp eax, ecx
jl 0x10002181
pop ecx
ret

Function at 0x100021a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [0x1000f284]
lea eax, [esp]
push eax
push 0x1000f21c
push 0
push 0
push 0x10008090
push ecx
mov dword [esp + 0x18], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, 0x1000f21c
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100021d0
sub eax, edx
mov ecx, eax
xor eax, eax
test ecx, ecx
jle 0x100021fd
mov edx, eax
and edx, 0x80000001
jns 0x100021f0
dec edx
or edx, 0xfffffffe
inc edx
add dl, al
sub byte [eax + 0x1000f21c], dl
inc eax
cmp eax, ecx
jl 0x100021e1
pop ecx
ret

Function at 0x10002200
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [0x1000f284]
lea eax, [esp]
push eax
push 0x1000f22c
push 0
push 0
push 0x100080a8
push ecx
mov dword [esp + 0x18], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, 0x1000f22c
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10002230
sub eax, edx
mov ecx, eax
xor eax, eax
test ecx, ecx
jle 0x1000225d
mov edx, eax
and edx, 0x80000001
jns 0x10002250
dec edx
or edx, 0xfffffffe
inc edx
add dl, al
sub byte [eax + 0x1000f22c], dl
inc eax
cmp eax, ecx
jl 0x10002241
pop ecx
ret

Function at 0x10002260
Capabilities:
Create thread

Disassembly:
sub esp, 0x14
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x10002310
push 0
push 0
mov byte [0x100080c8], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x10002293
push eax
call edi
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 0x100025d0
push 0
push 0
call esi
test eax, eax
je 0x100022ae
push eax
call edi
lea edx, [esp + 0x10]
push edx
push 0
push 0
push 0x100036a0
push 0
push 0
call esi
test eax, eax
je 0x100022c9
push eax
call edi
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0x10004650
push 0
push 0
call esi
test eax, eax
je 0x100022e4
push eax
call edi
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push 0x10001390
push 0
push 0
call esi
test eax, eax
je 0x100022ff
push eax
call edi
pop edi
pop esi
add esp, 0x14
ret