joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439e60
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x439e93
push esi
call fcn.0043cf70
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x439e8c
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 0x439f19
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x439f02
mov eax, dword [esi + 8]
test eax, eax
je 0x439eb7
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 0x439efe
cmp eax, 2
je 0x439f02
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x439eaa
cmp eax, 3
je 0x439edd
cmp eax, 1
jne 0x439eaa
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 0x439eaa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x439eaa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00439f40
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x439f28
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00439f40
add esp, 4
pop esi
ret

Function at 0x445f20
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x445fc3
test eax, eax
jbe 0x445fc3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x445fc3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x445f6e
xor esi, esi
jmp 0x445f74
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x445f9f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004027e0
add esi, eax
push esi
mov ebx, esi
call fcn.004027e0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x445f80
pop ebp
test edi, edi
pop edi
jne 0x445fc3
test ebx, ebx
je 0x445fc3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0044a450
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x446105
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x44621d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44621d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0045ad1f
mov esi, eax
test esi, esi
je 0x44621d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x44621d
mov ecx, esi
call fcn.00446070
cmp edi, eax
jge 0x44621d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4461a3
mov dword [esp + 0x34], 1
jmp 0x4461fe
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x44621d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00445610
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x45b6c2
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45b6fa
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.00459779
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00459751
jmp 0x45b706
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x45cdb7
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 0x45cdf9
call fcn.00462871
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x45cdf9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45cdf0
xor eax, eax
jmp 0x45ce01
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045ce07
pop edi
pop esi
pop ebx
ret 4
Function at 0x462da1
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 0x462dcf
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x462ded
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00462d07
jmp 0x462ded
mov eax, dword [esi + 0x14]
test eax, eax
je 0x462ded
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00462d07
test edi, edi
mov eax, edi
jne 0x462dd7
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x419b00
Capabilities:
Authenticate hmac
Check for vm using instruction vpcext

Disassembly:
mov esi, 0xa56218a8
sbb eax, 0xa054bd
xlatb
and al, 0x53
xor ah, dh
fcomp qword [edi + 0xb8270fd]
cmc
sub eax, 0x3d0774e4
sbb byte [edi + 0x17], bl
aaa
xor ecx, edx
jecxz 0x419b1c
jl 0x419b5b
mov dword [0x7e9c2ec7], eax
inc edi
out 0xd0, eax
mov edi, dword [esi]
sbb esi, dword [edx]
int 0xcf
rcl byte [eax]
fiadd dword [ebp + 0x12]
jecxz 0x419b69
sbb al, byte [eax + eax + 0x74000000]
stc
test byte [eax], al
add byte [eax], al
add byte [ecx + edi*8 - 0x43], dh
je 0x419afb
mov ebp, 0x7731d031
add dword [eax], eax
invalid
jp 0x419b0c
je 0x419afb
mov ebp, 0x7731d031
add dword [eax], eax
call 0xab419b88
jae 0x419b16
add byte [ebx + 0x26000673], ch
add byte [esi], ah
add eax, 0x31a8d00
add byte [ecx], ch
cdq
sub byte [0x45157ab7], 0x2e
loopne 0x419abf
add eax, dword [eax]
sub dword [ecx + 0x7ab72d82], ebx
mov bh, 0x7a
adc eax, 0x9ce02e45
int 0x9e
fimul dword [ebp - 0x7d]
shr byte [edx - 0x675b92], 0xf3
ja 0x419b81
leave
inc edi
hlt
jge 0x419bb6
outsd dx, dword [esi]
dec eax
mov bl, dh
xor esi, ebp
aas
wait
sbb ebx, ebx
std
clc
into
ret 0xab06
salc
adc eax, 0xe3fec155
mov dword [0x7160e872], eax
and dword gs:[eax], ebx
lea ebp, [edx]
lea eax, [eax]
cmpsd dword [esi], dword es:[edi]
std
mov ebp, 0x4b70e31b
dec edi
sbb ch, cl
mov eax, 0xdabfde48
hlt
int 0xf8
scasb al, byte es:[edi]
xor ebx, dword [ebx + 0x54]
ret
Function at 0x403474
Capabilities:
Acquire debug privileges

Disassembly:
add esp, 0xffffffe0
push esp
push 0x20
call fcn.00402d04
push eax
call fcn.00402c84
test eax, eax
je 0x4034de
lea eax, [esp + 8]
push eax
push 0x4034e4
push 0
call fcn.00402c7c
test eax, eax
je 0x4034de
mov dword [esp + 0x10], 1
mov dword [esp + 0x1c], 2
mov eax, dword [esp + 8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
push 0
push 0x10
lea eax, [esp + 0x1c]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call fcn.00402c74
add esp, 0x20
ret

Function at 0x403a6c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov ebx, eax
push ebx
call fcn.00402de4
mov esi, eax
lea eax, [esi + 1]
push eax
push 0
call fcn.00402d4c
mov edx, esi
test edx, edx
jle 0x403a95
mov cl, byte [ebx]
xor cl, 0xc
mov byte [eax], cl
inc eax
inc ebx
dec edx
jne 0x403a89
sub eax, esi
mov byte [eax + esi + 1], 0
pop esi
pop ebx
ret

Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
mov bl, byte [eax]
cmp bl, 0xd8
je 0x40102e
cmp bl, 0xd7
je 0x40102e
mov esi, dword [ebp + 0x10]
lea ecx, [eax + 1]
test esi, esi
jle 0x40104f
mov eax, dword [ebp + 0xc]
sub ecx, eax
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
dec esi
jne 0x401023
jmp 0x40104f
mov esi, dword [ebp + 0xc]
inc eax
push esi
push eax
call fcn.00401980
cmp bl, 0xd8
jne 0x40104f
xor eax, eax
cmp dword [ebp + 0x10], eax
jle 0x40104f
xor byte [eax + esi], 0xf0
inc eax
cmp eax, dword [ebp + 0x10]
jl 0x401045
pop esi
pop ebx
pop ebp
ret
Function at 0x10003830
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1002efa2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
lea ecx, [esi + 4]
mov dword [esp + 8], esi
mov dword [esi], sym.PipeToSocket.dll_const_processor_plugin::vftable
call dword [0x10033054]
xor ebx, ebx
lea eax, [esi + 0x30]
mov dword [esp + 0x14], ebx
mov dword [esi + 0x28], eax
mov dword [esi + 0x50], 8
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x54], ebx
mov byte [esi + 0x58], bl
lea ecx, [esi + 0x68]
mov byte [esp + 0x14], 1
call fcn.10009450
lea ecx, [esi + 0x6c]
mov byte [esp + 0x14], 2
call dword [0x10033054]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x5c], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x10003b90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1002efbc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
lea ecx, [esi + 4]
mov dword [esp + 8], esi
mov dword [esi], sym.PipeToSocket.dll_const_extractor_plugin::vftable
call dword [0x10033054]
xor ebx, ebx
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], ebx
call dword [0x10033054]
lea eax, [esi + 0x58]
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], ebx
mov dword [esi + 0x6c], ebx
mov byte [esi + 0x70], bl
mov eax, 8
mov dword [esi + 0x68], eax
lea ecx, [esi + 0x7c]
mov dword [esi + 0x8c], eax
mov dword [esi + 0x74], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x78], ebx
mov dword [esi + 0x90], ebx
mov byte [esi + 0x94], bl
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x1002f2a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], sym.PipeToSocket.dll_const_input_plugin::vftable
lea ecx, [esi + 0x90]
mov dword [esp + 0x18], 5
call dword [0x10033050]
lea ecx, [esi + 0x8c]
mov byte [esp + 0x18], 4
call fcn.10009460
lea ecx, [esi + 0x68]
mov byte [esp + 0x18], 3
call dword [0x10033050]
lea ecx, [esi + 0x4c]
mov byte [esp + 0x18], 2
call dword [0x10033050]
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call dword [0x10033050]
mov eax, dword [esi + 0x24]
lea edi, [esi + 0x20]
xor ebx, ebx
cmp eax, ebx
mov byte [esp + 0x18], bl
je 0x10005e8f
mov edx, dword [esp + 0xc]
mov ecx, dword [edi + 8]
push edx
push edi
push ecx
push eax
call fcn.10004de0
mov eax, dword [edi + 4]
push eax
call fcn.1002be66
add esp, 0x14
lea ecx, [esi + 4]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [esp + 0x18], 0xffffffff
call dword [0x10033050]
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x10006000
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1002f2a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ecx
lea eax, [edi + 4]
push eax
lea ecx, [esi + 4]
mov dword [esp + 0xc], esi
mov dword [esi], sym.PipeToSocket.dll_const_input_plugin::vftable
call dword [0x1003304c]
lea ecx, [edi + 0x20]
push ecx
lea ecx, [esi + 0x20]
mov dword [esp + 0x18], 0
call fcn.10005900
lea edx, [edi + 0x30]
push edx
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call dword [0x1003304c]
lea eax, [edi + 0x4c]
push eax
lea ecx, [esi + 0x4c]
mov byte [esp + 0x18], 2
call dword [0x1003304c]
lea ecx, [edi + 0x68]
push ecx
lea ecx, [esi + 0x68]
mov byte [esp + 0x18], 3
call dword [0x1003304c]
mov dl, byte [edi + 0x84]
mov byte [esi + 0x84], dl
mov eax, dword [edi + 0x88]
mov dword [esi + 0x88], eax
mov ecx, dword [edi + 0x8c]
mov dword [esi + 0x8c], ecx
add edi, 0x90
push edi
lea ecx, [esi + 0x90]
mov byte [esp + 0x18], 5
call dword [0x1003304c]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x10007b40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1002f461
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
xor ebx, ebx
mov dword [esp + 4], ebx
push esi
mov esi, dword [esp + 0x40]
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], ebx
mov dword [esp + 8], 1
call dword [0x10033054]
mov byte [esp + 0x2c], 1
push str.index::none
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 1
call dword [0x10033058]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x30], 1
call fcn.100079d0
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], bl
call dword [0x10033050]
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 4

Function at 0x10016710
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
push esi
mov esi, edx
lea eax, [ecx + 0x58]
mov ecx, edx
and esi, 3
shr edx, 2
je 0x10016756
push ebx
push edi
jmp 0x10016730
movzx edi, word [eax]
add ecx, edi
movzx edi, word [eax + 2]
mov ebx, ecx
shl ebx, 5
xor edi, ebx
shl edi, 0xb
xor ecx, edi
mov edi, ecx
shr edi, 0xb
add eax, 4
add ecx, edi
sub edx, 1
jne 0x10016730
pop edi
pop ebx
sub esi, 1
je 0x10016795
sub esi, 1
je 0x10016780
sub esi, 1
jne 0x100167a7
movzx edx, word [eax]
movsx eax, byte [eax + 2]
add eax, eax
add ecx, edx
add eax, eax
xor eax, ecx
shl eax, 0x10
xor ecx, eax
mov edx, ecx
shr edx, 0xb
jmp 0x100167a5
movzx eax, word [eax]
add ecx, eax
mov edx, ecx
shl edx, 0xb
xor ecx, edx
mov eax, ecx
shr eax, 0x11
add ecx, eax
jmp 0x100167a7
movsx edx, byte [eax]
add ecx, edx
mov eax, ecx
shl eax, 0xa
xor ecx, eax
mov edx, ecx
shr edx, 1
add ecx, edx
lea eax, [ecx*8]
xor ecx, eax
mov edx, ecx
shr edx, 5
add ecx, edx
mov eax, ecx
shl eax, 4
xor ecx, eax
mov edx, ecx
shr edx, 0x11
add ecx, edx
mov eax, ecx
shl eax, 0x19
xor ecx, eax
mov eax, ecx
shr eax, 6
add eax, ecx
pop esi
ret 4
Function at 0x1002e270
Capabilities:
Authenticate hmac
Hash data using sha1
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xfc
mov eax, dword [0x100594a0]
xor eax, esp
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x104]
push ebx
push ebp
mov ebp, dword [esp + 0x108]
push esi
push edi
push 0x40
mov edi, edx
lea edx, [esp + 0xcc]
push 0x36
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
call fcn.1002c47e
push 0x40
lea eax, [esp + 0x98]
push 0x5c
push eax
call fcn.1002c47e
add esp, 0x18
xor edx, edx
test ebp, ebp
jbe 0x1002e2f7
lea esi, [esp + 0xc8]
lea ebx, [esp + 0x88]
sub esi, edi
mov eax, edi
sub ebx, edi
nop
cmp edx, 0x40
jae 0x1002e2f7
mov cl, byte [eax]
xor byte [esi + eax], cl
xor byte [ebx + eax], cl
add edx, 1
add eax, 1
cmp edx, ebp
jb 0x1002e2e0
lea ecx, [esp + 0x18]
mov ebp, 0x98badcfe
mov ebx, 0x10325476
mov edi, 0xc3d2e1f0
push ecx
lea eax, [esp + 0xcc]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0x67452301
mov dword [esp + 0x28], 0xefcdab89
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x1c], 0x40
call fcn.1002cb00
mov eax, dword [esp + 0x11c]
add esp, 4
test eax, eax
je 0x1002e362
mov edx, dword [esp + 0x14]
push edx
lea esi, [esp + 0x1c]
call fcn.1002e000
add esp, 4
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x1c]
call fcn.1002e090
lea ecx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x90]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0x67452301
mov dword [esp + 0x2c], 0xefcdab89
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x20], 0x40
call fcn.1002cb00
mov eax, dword [esp + 0x20]
mov esi, eax
mov ebx, 0x14
and esi, 0x3f
mov edi, 0x40
add eax, ebx
add esp, 8
sub edi, esi
cmp eax, ebx
lea ebp, [esp + 0x74]
mov dword [esp + 0x18], eax
jae 0x1002e3d8
add dword [esp + 0x1c], 1
test esi, esi
je 0x1002e431
cmp edi, ebx
ja 0x1002e431
push edi
lea edx, [esp + 0x78]
push edx
lea eax, [esp + esi + 0x3c]
push eax
call fcn.1002bf74
lea ecx, [esp + 0x24]
push ecx
lea eax, [esp + 0x44]
call fcn.1002cb00
sub ebx, edi
add esp, 0x10
xor esi, esi
cmp ebx, 0x40
lea ebp, [esp + edi + 0x74]
jb 0x1002e42d
mov edi, ebx
shr edi, 6
lea edx, [esp + 0x18]
push edx
mov eax, ebp
call fcn.1002cb00
add esp, 4
sub ebx, 0x40
add ebp, 0x40
sub edi, 1
jne 0x1002e413
test ebx, ebx
je 0x1002e440
push ebx
lea eax, [esp + esi + 0x38]
push ebp
push eax
call fcn.1002bf74
add esp, 0xc
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call fcn.1002e090
mov ecx, dword [esp + 0x10c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1002c396
add esp, 0xfc
ret
Function at 0x1002e850
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
sub esp, 0x4c
mov eax, dword [0x100594a0]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x58]
push ebx
push ebp
mov ebp, dword [esp + 0x58]
push edi
mov edi, edx
push edi
push eax
lea eax, [esp + 0x38]
push eax
mov ebx, ecx
mov dword [esp + 0x24], ebp
call fcn.1002bf74
mov ecx, ebx
sar ecx, 0x18
mov edx, ebx
sar edx, 0x10
mov eax, ebx
mov byte [esp + edi + 0x3c], cl
mov byte [esp + edi + 0x3d], dl
mov edx, dword [esp + 0x6c]
sar eax, 8
mov byte [esp + edi + 0x3e], al
mov byte [esp + edi + 0x3f], bl
add edi, 4
push edi
lea ecx, [esp + 0x40]
push ecx
push edx
lea ecx, [esp + 0x34]
mov edx, ebp
call fcn.1002e270
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esi], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
lea eax, [esp + 0x4b]
sub eax, esi
mov dword [esp + 0x28], eax
lea edi, [esp + 0x48]
lea ebx, [esp + 0x49]
lea ebp, [esp + 0x4a]
lea eax, [esp + 0x4c]
add esp, 0x18
sub edi, esi
sub ebx, esi
sub ebp, esi
sub eax, esi
mov dword [esi + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], 0xfff
jmp 0x1002e910
mov eax, dword [esp + 0x60]
push 0x14
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x3c]
call fcn.1002e270
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
add esp, 0xc
mov dword [esp + 0x2c], edx
mov eax, esi
mov ecx, 4
jmp 0x1002e960
movzx edx, byte [edi + eax]
xor byte [eax], dl
movzx edx, byte [ebx + eax]
xor byte [eax + 1], dl
movzx edx, byte [eax + ebp]
xor byte [eax + 2], dl
mov edx, dword [esp + 0x10]
movzx edx, byte [edx + eax]
xor byte [eax + 3], dl
mov edx, dword [esp + 0x14]
movzx edx, byte [edx + eax]
xor byte [eax + 4], dl
add eax, 5
sub ecx, 1
jne 0x1002e960
sub dword [esp + 0xc], 1
jne 0x1002e910
mov ecx, dword [esp + 0x54]
pop edi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.1002c396
add esp, 0x4c
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x32c07b1c
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e3d0
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x59347efd
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x426a45
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0x11
push 0xfffffffffffffffe
mov eax, 0xc7
mov edx, esp
int 0x2e
mov eax, 0xe5
mov edx, esp
int 0x2e
mov eax, 0xee
mov edx, esp
int 0x2e
mov eax, 0x136
mov edx, esp
int 0x2e
add esp, 0x10
mov esp, ebp
pop ebp
ret

Function at 0x426a98
Capabilities:
Check for trap flag exception

Disassembly:
push dword fs:[0]
mov dword fs:[0], esp
pushfd
or dword [esp], 0x100
popfd
clc
call fcn.00426abd
Function at 0x434c40
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49df6b
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.00492a56
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x434cc2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004907e7
mov eax, dword [eax]
push 0x6c0240
push eax
call fcn.00483494
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00492ce1
test bl, bl
je 0x434cc2
push 0x6c0240
lea ecx, [esp + 0xc]
call fcn.00493071
push 0x6c3da0
lea ecx, [esp + 0xc]
call fcn.00493071
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 0x434cfe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00492ce1
jmp 0x434dc9
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 0x434d82
lea edx, [esp + 0x7c]
push 0x6c3d9c
push edx
call fcn.00483494
add esp, 8
test eax, eax
je 0x434d82
lea eax, [esp + 0x7c]
push 0x6c3d98
push eax
call fcn.00483494
add esp, 8
test eax, eax
je 0x434d82
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 0x434d12
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.00492ce1
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 0x436040
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 0x4360a2
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