joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449360
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x49c8e3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0048fe7b
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00495511
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00496a2d
test eax, eax
je 0x44947c
mov ecx, dword [esp + 0x3c]
call fcn.0049553e
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x449440
push edi
mov ecx, esi
call fcn.00492ba5
mov ecx, esi
call fcn.00449620
cmp dword [esp + 0x38], 1
jne 0x449475
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00492ce0
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x44b690
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x44b6c3
push esi
call fcn.00459a60
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44b6bc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x44b749
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x44b732
mov eax, dword [esi + 8]
test eax, eax
je 0x44b6e7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44b72e
cmp eax, 2
je 0x44b732
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44b6da
cmp eax, 3
je 0x44b70d
cmp eax, 1
jne 0x44b6da
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44b6da
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44b6da
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0044b770
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x44b758
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0044b770
add esp, 4
pop esi
ret

Function at 0x44bff0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x44c011
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x44c011
mov eax, dword [eax + 0x44]
test eax, eax
je 0x44c011
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4697f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4e633c]
xor edx, edx
cmp eax, edx
jne 0x469816
xor eax, eax
mov byte [eax + 0x4e623c], al
inc eax
cmp eax, 0x100
jl 0x4697fe
mov dword [0x4e633c], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4e623c
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4698a7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x46987a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x469848
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x469920
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x469973
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x46995a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4702f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49cdce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00470c10
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x4a91d4
call fcn.0048e60b
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x470383
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0048e60b
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x47037c
push 0
mov ecx, eax
call fcn.00467420
mov dword [esi + 0xc], eax
jmp 0x470385
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x470385
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x490c71
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x490ca9
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0048ed25
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0048ecfd
jmp 0x490cb5
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x49235f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4923a1
call fcn.00497e18
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4923a1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x492398
xor eax, eax
jmp 0x4923a9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004923af
pop edi
pop esi
pop ebx
ret 4
Function at 0x498348
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x498376
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x498394
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004982ae
jmp 0x498394
mov eax, dword [esi + 0x14]
test eax, eax
je 0x498394
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004982ae
test edi, edi
mov eax, edi
jne 0x49837e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x425e2b
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0x6e37c4]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x425e66
add dword [esp], 5
retf

Function at 0x426724
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0x40
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042680b
mov dword [ebp - 4], 0
mov eax, dword [0x6e37c4]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x426784
add dword [esp], 5
retf

Function at 0x42680b
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0x6e37c4]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x426846
add dword [esp], 5
retf

Function at 0x4274f8
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0x6e37c4]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x427533
add dword [esp], 5
retf

Function at 0x427629
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0x40
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042680b
mov dword [ebp - 4], 0
mov eax, dword [0x6e37c4]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x427689
add dword [esp], 5
retf

Function at 0x4296e0
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0x6e37c4]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x42971b
add dword [esp], 5
retf

Function at 0x42d49b
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0x6e37c4]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x42d4d6
add dword [esp], 5
retf
Function at 0x42d7e0
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0x6e37c4]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x42d81b
add dword [esp], 5
retf

Function at 0x42d8f8
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x42d924
add dword [esp], 5
retf

Function at 0x42dbf9
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0x6e37c4]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x42dc34
add dword [esp], 5
retf

Function at 0x42df1d
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0x6e37c4]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x42df58
add dword [esp], 5
retf

Function at 0x432415
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0x6e37c4]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x432450
add dword [esp], 5
retf

Function at 0x435e7d
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x435f30
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]
Function at 0x441dfe
Capabilities:
Access peb ldr_data

Disassembly:
xor eax, eax
pushal
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov edi, ebx
mov esi, dword [ebx + 0x28]
xor eax, eax
xor edx, edx
mov ecx, dword [esi]
test cx, cx
je 0x441e4b
mov al, cl
cmp al, 0x61
jb 0x441e26
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
shr ecx, 0x10
test cx, cx
je 0x441e4b
mov al, cl
cmp al, 0x61
jb 0x441e3e
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
lea esi, [esi + 4]
jmp 0x441e17
cmp edx, dword [esp + 0x18]
je 0x441e5b
mov ebx, dword [ebx]
cmp edi, dword [ebx]
jne 0x441e10
xor eax, eax
jmp 0x441e5e
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x441e66
Capabilities:
Resolve function by parsing pe exports

Disassembly:
xor eax, eax
pushal
mov ebx, ecx
mov eax, dword [ebx + 0x3c]
mov eax, dword [ebx + eax + 0x78]
test eax, eax
je 0x441f4d
lea esi, [ebx + eax]
test edx, 0xffff0000
je 0x441f53
mov ecx, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
lea edi, [ebx + edi]
mov ebp, dword [edi + ecx*4 - 4]
lea ebp, [ebx + ebp]
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x441eb2
cmp al, 0x61
jb 0x441eaa
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x441e9d
cmp edx, dword [esp + 0x14]
je 0x441ec2
dec ecx
jne 0x441e92
xor eax, eax
jmp 0x441f4d
mov edx, dword [esi + 0x24]
lea edx, [ebx + edx]
mov edx, dword [edx + ecx*2 - 2]
and edx, 0xffff
mov eax, dword [esi + 0x1c]
lea eax, [ebx + eax]
mov eax, dword [eax + edx*4]
lea eax, [ebx + eax]
cmp eax, esi
jbe 0x441f4d
mov ecx, dword [ebx + 0x3c]
mov ecx, dword [ebx + ecx + 0x7c]
add esi, ecx
cmp eax, esi
jae 0x441f4d
mov ebp, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
cmp al, 0x61
jb 0x441efe
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
inc ebp
cmp al, 0x2e
je 0x441f0d
jmp 0x441ef5
ror edx, 0xd
add edx, 0x44
ror edx, 0x1a
add edx, 0x4c
ror edx, 0x1a
add edx, 0x4c
ror edx, 0xd
mov ecx, edx
call fcn.00441dfe
test eax, eax
je 0x441f4d
mov ecx, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x441f48
cmp al, 0x61
jb 0x441f40
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x441f33
call fcn.00441e66
mov dword [esp + 0x1c], eax
popal
ret
mov ecx, dword [esi + 0x10]
cmp edx, ecx
jb 0x441f6b
mov eax, dword [esi + 0x14]
dec eax
cmp edx, eax
ja 0x441f6b
sub edx, ecx
mov ecx, edx
jmp 0x441ec2
xor eax, eax
jmp 0x441f4d
Function at 0x443667
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x44369f
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x44368d
mov al, 1
jmp 0x4436fe
cmp dword [ebx + 0x54], ecx
jne 0x443696
mov al, 2
jmp 0x4436fe
cmp dword [ebx + 0x7c], ecx
jne 0x4436fe
mov al, 3
jmp 0x4436fe
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x4436b4
mov al, 4
jmp 0x4436fe
cmp ecx, 5
jne 0x4436d4
cmp ebx, 0
jne 0x4436c2
mov al, 5
jmp 0x4436fe
cmp ebx, 1
jne 0x4436cb
mov al, 6
jmp 0x4436fe
cmp ebx, 2
jne 0x4436d4
mov al, 7
jmp 0x4436fe
cmp ecx, 6
jne 0x4436e0
cmp ebx, 0
jne 0x4436e2
mov al, 8
jmp 0x4436fe
cmp ebx, 1
jne 0x4436e9
mov al, 9
cmp ebx, 2
jne 0x4436f0
mov al, 0xa
cmp ebx, 3
jne 0x4436f7
mov al, 0xb
cmp ebx, 4
jne 0x4436fe
mov al, 0xc
pop ebx
leave
ret
Function at 0x487643
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
cmp dword [0x6e38b0], 0
jne 0x4876a9
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0x80000301
push 0
push 0x9c8
push 2
mov eax, 1
mov ebx, 0x55b520
call fcn.004f1a2d
add esp, 0x1c
mov dword [0x6e38b0], eax
cmp dword [0x6e38b0], 0
jne 0x4876a9
mov eax, dword [ebp + 8]
jmp 0x4877fb
mov eax, dword [0x6e38b0]
mov dword [ebp - 4], eax
pushal
cmp dword [eax + 8], 0
jne 0x487710
mov edx, dword fs:[0x20]
imul edx, dword fs:[0x24]
mov eax, dword fs:[0x2c]
xor eax, dword fs:[0x30]
imul eax, edx
imul edx, eax, 0x41c64e6d
imul edx, dword [ebp - 4]
add edx, 0x3039
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebx], edx
xor eax, eax
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
inc eax
add edx, eax
mov dword [ebx + eax*4], edx
cmp eax, 0x26f
jb 0x4876f1
call fcn.0048778a
mov ecx, 1
test byte [eax + 4], 1
jne 0x487715
xchg dword [eax + 4], ecx
test ecx, ecx
jne 0x487715
cmp dword [eax], 0x270
jne 0x48772f
call fcn.0048778a
mov edx, dword [eax]
inc dword [eax]
mov ecx, dword [eax + edx*4 + 8]
mov dword [eax + 4], 0
mov eax, ecx
shr ecx, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
cmp ecx, ebx
jg 0x487774
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
sub ecx, ebx
inc ecx
test ecx, ecx
xor edx, edx
div ecx
mov eax, edx
add eax, ebx
mov dword [esp + 0x1c], eax
popal
leave
ret 8
mov esp, ebp
pop ebp
ret 8

Function at 0x48778a
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
xor esi, esi
mov edi, dword [ebp - 4]
push edi
push ebp
add edi, 8
mov ebp, edi
mov ebx, 0x18d
inc esi
mov edx, esi
xor eax, eax
cmp esi, 0x270
cmove edx, eax
mov edx, dword [ebp + edx*4]
xor edx, dword [edi]
and edx, 0x7fffffff
xor edx, dword [edi]
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0x9908b0df
and dl, 1
cmove ecx, eax
xor edx, edx
cmp ebx, 0x270
cmove ebx, edx
mov edx, ebx
xor ecx, dword [ebp + edx*4]
mov dword [edi], ecx
lea edi, [edi + 4]
inc ebx
cmp ebx, 0x18d
jne 0x48779b
pop ebp
pop eax
mov dword [eax], 0
ret
Function at 0x5018e0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5a7f4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0059c5ea
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x501962
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00599e17
mov eax, dword [eax]
push 0x6ccd28
push eax
call fcn.0058b014
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0059c875
test bl, bl
je 0x501962
push 0x6ccd28
lea ecx, [esp + 0xc]
call fcn.0059cc05
push 0x6ccd34
lea ecx, [esp + 0xc]
call fcn.0059cc05
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x50199e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0059c875
jmp 0x501a69
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x501a22
lea edx, [esp + 0x7c]
push 0x6ccd30
push edx
call fcn.0058b014
add esp, 8
test eax, eax
je 0x501a22
lea eax, [esp + 0x7c]
push 0x6ccd2c
push eax
call fcn.0058b014
add esp, 8
test eax, eax
je 0x501a22
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x5019b2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0059c875
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x502260
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x5022c2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x5022d0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5a7fcb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x6df5a0]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x502408
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x502336
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0059c875
xor eax, eax
jmp 0x50247f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0059c9b2
push esi
lea ecx, [esp + 0xc]
call fcn.0059cc41
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x50245d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.00502260
test eax, eax
jne 0x50245d
mov ebx, dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocString
mov ecx, edi
call fcn.00502260
test eax, eax
jne 0x50245d
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.0058c210
mov esi, eax
add esp, 8
test esi, esi
jne 0x50243c
lea ecx, [esp + 0x14]
push 0x6ccd40
push ecx
call fcn.0058c190
mov esi, eax
add esp, 8
test esi, esi
jne 0x50243c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x50243f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0059c962
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x50234e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0059c875
xor eax, eax
jmp 0x50247f
mov byte [esi], 0
push 0x6ccd3c
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.DLL_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0059c875
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4