joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10034a8f
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x3f9c]
mov eax, 0x401c
call fcn.10039d10
mov eax, dword [0x10080f6c]
xor eax, ebp
mov dword [ebp + 0x3f98], eax
mov eax, dword [ebp + 0x3fa4]
push ebx
push esi
push edi
mov dword [ebp - 0x74], eax
xor esi, esi
xor eax, eax
mov ebx, 0xffe
mov dword [ebp - 0x78], esi
push ebx
mov word [ebp + 0x2f98], ax
lea eax, [ebp + 0x2f9a]
push esi
push eax
mov dword [ebp - 0x70], esi
call fcn.10039d40
xor eax, eax
push ebx
mov word [ebp - 0x68], ax
lea eax, [ebp - 0x66]
push esi
push eax
call fcn.10039d40
add esp, 0x18
lea eax, [ebp - 0x80]
push eax
push 0x20019
push esi
push 0x1006c9a0
mov edi, 0x800
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x6c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10034bf8
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x2f98]
push eax
push esi
jmp 0x10034be7
lea eax, [ebp + 0x2f98]
push eax
push 0x1006c9f8
push 0x1006c994
lea eax, [ebp - 0x68]
push edi
push eax
call fcn.1002b477
add esp, 0x14
lea eax, [ebp - 0x7c]
push eax
push 0x20019
push esi
lea eax, [ebp - 0x68]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10034bcf
push ebx
mov word [ebp + 0xf98], ax
lea eax, [ebp + 0xf9a]
push esi
push eax
call fcn.10039d40
add esp, 0xc
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0xf98]
push eax
lea eax, [ebp - 0x78]
push eax
push esi
push str.RuntimeLib
push dword [ebp - 0x7c]
mov dword [ebp - 0x6c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10034bcf
cmp dword [ebp - 0x6c], esi
jbe 0x10034bcf
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x1f98]
push eax
lea eax, [ebp - 0x78]
push eax
push esi
push 0x1006ca68
push dword [ebp - 0x7c]
mov dword [ebp - 0x6c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
inc dword [ebp - 0x70]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x2f98]
push eax
push dword [ebp - 0x70]
mov dword [ebp - 0x6c], edi
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x10034b31
mov ecx, dword [ebp - 0x74]
lea eax, [ebp + 0x1f98]
push eax
call fcn.10001309
mov ecx, dword [ebp + 0x3f98]
mov eax, dword [ebp - 0x74]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10039bc2
add ebp, 0x3f9c
leave
ret
Function at 0x1003626c
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3fc4]
mov eax, 0x4044
call fcn.10039d10
mov eax, dword [0x10080f6c]
xor eax, ebp
mov dword [ebp + 0x3fc0], eax
push ebx
push esi
push edi
xor eax, eax
mov edi, 0xffe
push edi
mov word [ebp + 0x2fc0], ax
xor ebx, ebx
lea eax, [ebp + 0x2fc2]
push ebx
push eax
call fcn.10039d40
push ebx
push 1
mov esi, 0x800
lea eax, [ebp + 0x2fc0]
push esi
push eax
call fcn.10024738
add esp, 0x1c
test eax, eax
jne 0x100362d0
xor eax, eax
inc eax
jmp 0x10036426
lea eax, [ebp + 0x2fc0]
push eax
push str.11.241.2
call fcn.1002b477
pop ecx
pop ecx
test eax, eax
jg 0x100362c8
xor eax, eax
push edi
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x3e]
push ebx
push eax
call fcn.10039d40
push ebx
lea eax, [ebp + 0x2fc0]
push eax
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.1001c257
add esp, 0x1c
test eax, eax
je 0x100362c8
xor eax, eax
push edi
mov word [ebp + 0xfc0], ax
lea eax, [ebp + 0xfc2]
push ebx
push eax
call fcn.10039d40
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp + 0xfc0]
push esi
push eax
call fcn.1002b477
push str._bin_ssvagent.exe
lea eax, [ebp + 0xfc0]
push esi
push eax
call fcn.1002b477
push 0x3c
lea eax, [ebp - 0x80]
push ebx
push eax
call fcn.10039d40
xor eax, eax
push edi
mov word [ebp + 0x1fc0], ax
lea eax, [ebp + 0x1fc2]
push ebx
push eax
mov dword [ebp - 0x80], 0x3c
call fcn.10039d40
push str._high__jpisetup__register
lea eax, [ebp + 0x1fc0]
push esi
push eax
call fcn.1002b477
add esp, 0x48
call fcn.1002d15b
mov dword [ebp - 0x74], str.runas
test eax, eax
jne 0x100363a1
mov dword [ebp - 0x74], str.open
lea eax, [ebp + 0xfc0]
mov dword [ebp - 0x70], eax
xor edi, edi
lea eax, [ebp + 0x2fc0]
inc edi
push eax
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x7c], 0x40
call fcn.1002debf
test eax, eax
pop ecx
lea eax, [ebp + 0x1fc0]
je 0x100363d5
push str.__new
jmp 0x100363da
push str.__old
push esi
push eax
call fcn.1002b477
lea eax, [ebp + 0x1fc0]
mov dword [ebp - 0x6c], eax
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x10036424
mov dword [ebp - 0x44], edi
cmp dword [ebp - 0x48], ebx
je 0x10036424
push 0xffffffffffffffff
push dword [ebp - 0x48]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x48]
call dword [sym.imp.kernel32.dll_GetExitCodeProcess]
push dword [ebp - 0x48]
call dword [sym.imp.kernel32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp + 0x3fc0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10039bc2
add ebp, 0x3fc4
leave
ret
Function at 0x10036629
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xf94]
mov eax, 0x1014
call fcn.10039d10
mov eax, dword [0x10080f6c]
xor eax, ebp
mov dword [ebp + 0xf90], eax
mov eax, dword [ebp + 0xf9c]
push esi
xor ecx, ecx
mov dword [ebp - 0x80], eax
mov word [eax], cx
lea eax, [ebp - 0x78]
push eax
push 0x20019
xor esi, esi
push esi
push 0x1006d208
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x78], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10036729
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x7c], esi
push esi
jmp 0x10036714
xor ecx, ecx
xor eax, eax
cmp dword [ebp - 0x74], esi
jbe 0x10036702
cmp word [ebp + eax*2 - 0x70], 0x2e
jne 0x100366ae
inc ecx
cmp ecx, 1
jg 0x100366b9
inc eax
cmp eax, dword [ebp - 0x74]
jb 0x100366a0
cmp ecx, 1
jle 0x10036702
lea eax, [ebp - 0x70]
push 0x1006d1fc
push eax
call fcn.1002b477
pop ecx
pop ecx
test eax, eax
js 0x10036702
lea eax, [ebp - 0x70]
push eax
call fcn.10036485
pop ecx
test al, al
je 0x10036702
push dword [ebp - 0x80]
lea eax, [ebp - 0x70]
push eax
call fcn.1002b477
pop ecx
pop ecx
test eax, eax
jle 0x10036702
lea eax, [ebp - 0x70]
push eax
push dword [ebp + 0xfa0]
push dword [ebp - 0x80]
call fcn.1002b477
add esp, 0xc
inc dword [ebp - 0x7c]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x7c]
push dword [ebp - 0x78]
mov dword [ebp - 0x74], 0x800
call edi
test eax, eax
je 0x10036697
pop edi
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0xf90]
xor ecx, ebp
pop esi
call fcn.10039bc2
add ebp, 0xf94
leave
ret
Function at 0x10036976
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
push 0x10
mov eax, 0x100596c7
call fcn.10039bd1
and dword [ebp - 0x10], 0
push dword [ebp + 8]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.10001309
mov edi, dword [ebp - 0x14]
xor eax, eax
mov byte [ebp - 4], 1
test edi, edi
je 0x100369a9
cmp dword [edi], eax
sete al
jmp 0x100369aa
inc eax
test al, al
je 0x100369b5
push 0x1006d109
jmp 0x100369da
test edi, edi
je 0x100369bd
mov eax, dword [edi]
jmp 0x100369bf
xor eax, eax
push eax
call fcn.1002b477
pop ecx
test eax, eax
jne 0x10036a15
test edi, edi
je 0x100369d7
mov ecx, edi
call fcn.10028aad
jmp 0x100369d9
xor eax, eax
push eax
call dword [sym.imp.wsock32.dll_gethostbyname]
test eax, eax
je 0x10036ab7
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.wsock32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x18]
call fcn.1001060c
push eax
lea ecx, [ebp - 0x10]
call fcn.1000147f
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10036a2a
call fcn.10001441
jmp 0x10036a2a
cmp eax, 1
jne 0x10036ab7
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000147f
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x10036a38
call fcn.10028aad
jmp 0x10036a3a
xor eax, eax
push eax
call dword [sym.imp.wsock32.dll_inet_addr]
push 2
mov dword [ebp - 0x1c], eax
push 4
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.wsock32.dll_gethostbyaddr]
mov esi, eax
test esi, esi
jne 0x10036a6c
test edi, edi
je 0x10036a63
mov ecx, edi
call fcn.10001441
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x10036ac2
jmp 0x10036abd
mov ecx, dword [esi]
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10036a73
sub eax, edi
push eax
push ecx
call fcn.1002b477
pop ecx
pop ecx
push dword [esi]
lea ecx, [ebp - 0x18]
call fcn.1001060c
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10036a9b
call fcn.10001441
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10036aa7
call fcn.10001441
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x10036ab3
call fcn.10001441
mov al, 1
jmp 0x10036ac4
test edi, edi
je 0x10036ac2
mov ecx, edi
call fcn.10001441
xor al, al
call fcn.10039c70
ret
Function at 0x100373b4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.10039d10
push 0xffffffffffffffff
push 0x10059845
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x10080f6c]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x100c]
xor edi, edi
mov dword [ebp - 0x18], edi
xor eax, eax
push 0xffe
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
mov dword [ebp - 4], edi
call fcn.10039d40
mov eax, dword [ebp + 0x1010]
add esp, 0xc
cmp eax, edi
je 0x10037425
mov esi, dword [eax]
jmp 0x10037427
xor esi, esi
movzx eax, word [esi]
xor edx, edx
xor ecx, ecx
cmp ax, di
je 0x1003754c
cmp ax, 0x2e
jne 0x10037443
inc edx
cmp edx, 1
jg 0x10037456
inc ecx
movzx eax, word [esi + ecx*2]
cmp ax, di
jne 0x10037437
cmp edx, 1
jle 0x1003754c
push 0x1006d7bc
push esi
call fcn.1002b477
pop ecx
pop ecx
test eax, eax
js 0x1003754c
push esi
call fcn.10036485
pop ecx
test al, al
je 0x1003754c
push 0x1006d7d8
lea ecx, [ebp - 0x14]
call fcn.10001309
push 0x1006d7d4
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.1001060c
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.10001524
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp ecx, edi
je 0x100374b8
call fcn.10001441
push esi
lea ecx, [ebp - 0x10]
call fcn.10001309
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.10001524
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp ecx, edi
je 0x100374e1
call fcn.10001441
mov esi, dword [ebp - 0x14]
cmp esi, edi
je 0x100374ec
mov eax, dword [esi]
jmp 0x100374ee
xor eax, eax
lea ecx, [ebp - 0x18]
push ecx
push 0x20019
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10037534
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
push edi
push 0x1006d830
push dword [ebp - 0x18]
mov dword [ebp - 0x10], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x10037534
xor eax, eax
mov word [ebp], ax
lea eax, [ebp]
push eax
mov ecx, ebx
call fcn.10001309
cmp esi, edi
je 0x1003756c
mov ecx, esi
call fcn.10001441
jmp 0x1003756c
push str.1.3.1
push esi
call fcn.1002b477
push esi
call fcn.10036485
add esp, 0xc
push 0x1006d10e
mov ecx, ebx
call fcn.1001060c
mov ecx, dword [ebp + 0x1010]
cmp ecx, edi
je 0x1003757b
call fcn.10001441
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.10039bc2
add ebp, 0x1004
leave
ret
Function at 0x10039bc2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10080f6c]
jne 0x10039bcc
repz ret
jmp fcn.10042bbc

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

Disassembly:
cmp dword [0x10083640], 0
push esi
push edi
jne 0x10055501
call fcn.1005546d
test eax, eax
je 0x10055546
mov eax, dword [0x10083640]
cmp eax, 1
jne 0x10055522
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x10055546
jmp 0x10055588
mov edi, dword [sym.imp.kernel32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x10055588
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x1005554a
xor eax, eax
jmp 0x10055588
mov eax, dword [esi]
push dword [0x10083640]
call edi
mov edi, eax
test edi, edi
je 0x1005556c
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x10055588
lea edi, [esi + 0xff0]
push esi
push dword [0x10083640]
call dword [sym.imp.kernel32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x10055572
mov eax, esi
pop edi
pop esi
ret
jmp 0x100554ed

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..reloc
mov ebx, 0x40de38
nop
nop
mov ecx, 0x73e769fe
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
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
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..text
mov ebx, 0x4304d8
nop
mov ecx, 0x4b0e1b20
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
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, 0x18
pushal
call 0x100062fa
pop dword [ebp - 8]
mov eax, 0x8db967c4
sub eax, 0x7db904ca
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0x3b584
push 0
mov eax, 0xcb78b22
sub eax, 0xfcb64abe
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0x2b44c39d
add ecx, 0xd4bb8dad
xor ebx, ebx
add ebx, eax
mov edi, 0xa78cb99b
sub edi, 0x978b339b
add edi, dword [ebp - 8]
mov edx, 0x639d9c1b
mov esi, dword [edi]
xor dword [ebp - 4], eax
sub esi, edx
xor dword [ebp - 4], 0x8868ee8e
mov dword [ebx], esi
add dword [ebp - 4], ecx
add ebx, 0xf4c3bda
sub ebx, 0xf4c3bd6
add edi, 4
loop 0x10006355
add eax, 0x137fb
xor ebx, ebx
add ebx, eax
add eax, 0x6b2e8a87
add eax, 0x94d1757e
mov ecx, 0x49a5128a
sub ecx, 0x39a5128a
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x4afce4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
jmp 0x4afda3
cmp dword [esi + 0x10], 0x1000
jne 0x4afd8f
test byte [esi + 0x15], 1
jne 0x4afd8f
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4afd40
cmp ebp, 2
je 0x4afd40
cmp ebp, 0x10
je 0x4afd40
cmp ebp, 0x20
jne 0x4afd5c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4afd5c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4afd6d
mov eax, dword [esi]
add eax, ebx
call fcn.004afcdc
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4afd60
cmp byte [esp + 4], 0
je 0x4afd8f
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4afd15
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x402b74
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x43a008], 0x8088405
inc edx
mov dword [ebx + 0x43a008], edx
fld qword [ebx + 0x43a05c]
push 0
push edx
fild qword [esp]
add esp, 8
fmulp st(1)
pop ebx
ret

Function at 0x403008
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x43a01c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4030a0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403080
xor eax, eax
push ebp
push 0x403079
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4030bc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403080
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x43a01c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x43a01c], ax
mov esp, ebp
pop ebp
ret

Function at 0x403988
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x446044], 0
je 0x4039e9
cmp word [0x446218], 0xd7b2
jne 0x4039b1
cmp dword [0x446220], 0
jbe 0x4039b1
mov eax, 0x446214
call dword [0x446230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x43a06c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403a10
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x43a028], 0
jne 0x403a05
push 0
push 0x43a064
push 0x43a06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406a10
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x406acf
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.0040c338
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0
push edi
call sub.advapi32.dll_RegQueryInfoKeyA_1
test eax, eax
jne 0x406ab9
cmp dword [ebp - 8], 0
jbe 0x406ab7
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
call fcn.00402888
mov ebx, eax
xor esi, esi
jmp 0x406a95
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00403ce8
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0040c328
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], eax
inc esi
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push edi
call sub.advapi32.dll_RegEnumKeyExA_1
cmp eax, 0x103
jne 0x406a78
mov eax, ebx
call fcn.004028b8
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406ad6
lea eax, [ebp - 0x10]
call fcn.00403b0c
ret

Function at 0x406af0
Capabilities:
Create thread

Disassembly:
push ebx
mov byte [0x446045], 1
mov edx, dword [0x405808]
xor eax, eax
call fcn.0040a260
mov ebx, eax
mov byte [ebx + 0x18], 1
lea eax, [ebx + 0x1e]
push eax
push 4
push ebx
push 0x406ae0
push 0
push 0
call sub.kernel32.dll_CreateThread
mov dword [ebx + 0x1a], eax
mov eax, ebx
pop ebx
ret

Function at 0x406c08
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov byte [ebx + 0x18], 0
mov eax, dword [ebx + 0x1a]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jbe 0x406c23
mov byte [ebx + 0x18], 1
pop ebx
ret
cmp word [ebx + 0x2c], 0
je 0x406c32
mov edx, ebx
mov eax, dword [ebx + 0x2e]
call dword [ebx + 0x2a]
pop ebx
ret

Function at 0x406c34
Capabilities:
Suspend thread

Disassembly:
push ebx
mov ebx, eax
mov byte [ebx + 0x18], 1
cmp word [ebx + 0x24], 0
je 0x406c4f
push dword [ebx + 0x26]
push dword [ebx + 0x22]
mov eax, ebx
call fcn.00406c5c
mov eax, dword [ebx + 0x1a]
push eax
call sub.kernel32.dll_SuspendThread
pop ebx
ret

Function at 0x406c90
Capabilities:
Terminate thread

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, dword [ebx + 0x1a]
push eax
call sub.kernel32.dll_TerminateThread
mov byte [ebx + 0x19], 1
pop ebx
ret