joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b0150
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
push esi
push 0x6ca100
xor bl, bl
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x6ca028]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x4b01cb
push 0x4c
push 1
call fcn.00498b26
mov esi, eax
add esp, 8
test esi, esi
jne 0x4b0193
push 0x6ca100
mov bl, 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov al, bl
pop ebx
ret
mov ecx, dword [0x6ca028]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x6c0458]
inc eax
lea edx, [esi + 0xc]
mov dword [0x6c0458], eax
push edx
mov dword [esi + 0x30], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 4]
push 0
push eax
call fcn.004b3c80
add esp, 8
mov byte [esi + 0x3c], 1
push 0x6ca100
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov al, bl
pop ebx
ret

Function at 0x4b0650
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x1c], edi
call fcn.0049b3fd
mov ebx, dword [esp + 0x14]
mov dword [eax], 0
mov eax, dword [esp + 0x18]
push edi
push eax
push ebx
call fcn.004a393a
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x4b074a
call fcn.0049b3fd
cmp dword [eax], 0
je 0x4b0697
call fcn.0049b3fd
mov ebp, dword [eax]
jmp 0x4b069a
or ebp, 0xffffffff
call fcn.004b01e0
test esi, esi
mov dword [eax], ebp
jne 0x4b06af
call fcn.0049b3fd
cmp dword [eax], 4
je 0x4b06ff
mov eax, dword [esp + 0x20]
test al, 0x1a
je 0x4b06e2
cmp esi, 0xffffffff
je 0x4b0724
test al, 6
je 0x4b06e2
call fcn.004b01e0
mov ecx, dword [eax]
push ecx
push ebx
call fcn.004b3cb0
add esp, 4
push eax
push 0x24
push 9
call fcn.004b0a30
mov eax, dword [esp + 0x30]
add esp, 0x10
cmp esi, 0xffffffff
je 0x4b0742
test al, 6
je 0x4b06f0
test ah, 2
je 0x4b0742
test esi, esi
jbe 0x4b074e
test ah, 2
je 0x4b074e
add dword [esp + 0x18], esi
sub edi, esi
call fcn.0049b3fd
mov edx, dword [esp + 0x18]
push edi
push edx
push ebx
mov dword [eax], 0
call fcn.004a393a
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x4b074a
jmp 0x4b0684
call fcn.004b01e0
mov eax, dword [eax]
push eax
push ebx
call fcn.004b3cb0
add esp, 4
push eax
push 0x24
push 2
call fcn.004b0a30
add esp, 0x10
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
mov eax, dword [esp + 0x20]
test al, 6
je 0x4b075b
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
test ah, 2
je 0x4b0764
mov esi, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret

Function at 0x4c68dd
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4c6915
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.004c4991
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004c4969
jmp 0x4c6921
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x4c7fcb
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 0x4c800d
call fcn.004ce121
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4c800d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4c8004
xor eax, eax
jmp 0x4c8015
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004c801b
pop edi
pop esi
pop ebx
ret 4

Function at 0x4ce651
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 0x4ce67f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4ce69d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004ce5b7
jmp 0x4ce69d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4ce69d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004ce5b7
test edi, edi
mov eax, edi
jne 0x4ce687
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

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 0x401e40
Capabilities:
Terminate process

Disassembly:
dec esi
pop ebp
ret
add byte [ebx + 0x5ef404c4], al
pop ebx
mov ebp, eax
pop ebp
ret
push ebp
mov ebp, esp
sub esp, 0x78
push esi
push ecx
ror byte [ebx + edi], 1
lea eax, [ebp + 0x6d]
push 0x78
push eax
push esi
call 0xe92fe0
mov esp, ecx
or cl, cl
pushal
enter 0x40c0, 0
push eax
push ecx
out 0x87, al
inc eax
push str._s:__s___d__n
push edx
call dword [0xe9c180]
mov eax, dword [0x410204]
xchg edi, eax
les edx, [eax*4 + 0x500f74c0]
push 0x7d254
mov bl, 0x15
inc eax
inc eax
add bl, dh
les ecx, [eax]
call dword cs:[sym.imp.MSVCRT.dll_exit]
jns 0x401e25
nop
nop
nop
insd dword es:[edi], dx
nop
nop
nop
jecxz 0x401e2e
nop
nop
Function at 0x4041ac
Capabilities:
Encode data using xor

Disassembly:
call fcn.00404064
sub ecx, ecx
sub cx, 0xff70
call 0x4041ac
rcr byte [esi - 0x7f], 0x76
push cs
mov ecx, 0x830ffc19
out dx, al
cld
xor dword [esi + 0xe], 0xffc19b9
sub esi, 0xfffffffc
loop 0x4041af
mov dl, al
dec ebp
test dword [eax - 9], esp
and eax, 0xa7ed9d7b
mov cs, edx
or ch, bh
inc ecx
mov esp, 0xfb45e47f
or byte [edi], dh
clc
fdiv st(5)
mov ah, byte [ecx - 0x4f]
jecxz 0x4041e4
popal
cmpsb byte [esi], byte es:[edi]
fsubr qword [ecx - 0x72edd0e1]
pop esp
push ds
sub dword [eax + esi*2 - 0x5b], esi
inc byte [ebx]
sbb byte [ebx - 0x2c], dh
ret 0x9be4

Function at 0x407ef0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov edi, dword [ebx + eax*4 - 0x80]
adc al, 0x69
jle 0x407f09
fidivr dword [edi + eax - 0x39]
inc ebp
adc byte [esi], cl
add byte [eax], al
fld qword [ebp + 8]
fcomp qword [0x40c221]
mov ecx, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0x20]
push esi
xor edx, dword [esi - 0x76e320cc]
aas
cld
xchg dword [esi + esi*8], ebx
les eax, [0xe7afb8b]
fld qword [eax]
or cl, bl
pushal
fstp qword [ebp + 8]
imul ebp, dword [ecx + 1], 0x4a000000
dec ebp
or al, 0x8b
push ebp
adc bh, dl
inc ebp
in al, dx
pop eax
push ecx
push edx
call dword [0xfdc118]
fstp qword [ebp + 8]
fld qword [ebp - 0x14]
fcomp qword [0x6dc230]
add esp, 0xc
loopne 0x407f4d
ret 0x40
xor dl, al
insd dword es:[edi], dx
add byte [ebx - 0x1f9bf33c], al
test ah, 0xd5
mov ebx, 0x50738d72
cmp esi, ebx
jbe 0x407fba
invalid
fld qword [ebp - 0xb]
fdivr st(0), st(0)
xor dl, al
inc eax
add bh, bl
test esi, esi
les eax, [ebx + edi*2 + 0x48]
fld qword [ebp - 0x14]
or dword [0x2340c310], ecx
lea eax, [ebp - 0x14]
pop edi
cmp esp, 8
xchg dword [edx + 0x24], ebx
call dword [0x3640c15c]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fadd qword [0x402208]
add esp, 0xc
dec esi
or eax, 0x40c300
call 0x79417080
mov ebx, dword [ebp + 0x20]
mov cl, 0x30
sub cl, al
mov byte [esi], cl
mov ecx, dword [ebp - 4]
inc ecx
cmp esi, ebx
mov dword [ebp + 0x26], ecx
ja 0x407f62
lea eax, [ebx + 0x50]
cmp esi, eax
jae 0x407fd3
mov dl, byte [esi]
mov byte [edi], dl
inc edi
inc esi
cmp esi, edi
mov ebp, 0x9350eb1c
inc ebp
or ah, bl
sbb eax, 0x8fc230
or eax, esp
and eax, 0x4100
jne 0x40801d
ret 0x8f
fst qword [ebx - 0x7f223f8]
retf 0x917b
mov eax, dword [ebp + 0x10]
lea esp, [eax + ebx - 0x7ae3ba75]
sal byte [ebp - 0x3c], 3
les eax, [ebx]
jne 0x408029
mov ecx, dword [ebp + 0x14]
inc esi
xor dword [ebx - 0x5f], esi
mov eax, dword [ebp + 0x10]
pop edi
neg eax
mov dword [ecx], eax
mov byte [ebx], 0
mov ebp, dword [ebp + 0x448b5b5e]
pop ebp
ret
Function at 0x4563a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x47000]
push edi
jmp 0x4563ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4563c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4563b0
mov eax, 1
add ebx, ebx
jne 0x4563d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4563e4
jne 0x456403
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x456403
dec eax
add ebx, ebx
jne 0x4563f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4563c8
add ebx, ebx
jne 0x4563ff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x456455
xor ecx, ecx
sub eax, 3
jb 0x45641b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45648a
sar eax, 1
mov ebp, eax
jmp 0x456426
add ebx, ebx
jne 0x456426
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4563f4
inc ecx
add ebx, ebx
jne 0x456434
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4563f4
add ebx, ebx
jne 0x456441
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x456436
jne 0x456452
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x456436
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x456474
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x456466
jmp 0x4563b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x456474
add edi, ecx
jmp 0x4563b6
pop esi
mov edi, esi
mov ecx, 0x1a05
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x456492
cmp byte [edi], 4
jne 0x456492
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x456497
lea edi, [esi + 0x53000]
mov eax, dword [edi]
or eax, eax
je 0x45650f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x56000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x56118]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4564c4
mov ecx, edi
jns 0x4564f3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5611c]
or eax, eax
je 0x456509
mov dword [ebx], eax
add ebx, 4
jmp 0x4564e1
call dword [esi + 0x5612c]
mov ebp, dword [esi + 0x56120]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x456543
sub esp, 0xffffff80
jmp section.UPX0

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 0x10350f7
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push 0x1007478
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x103514f
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x10074b4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1035142
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x1035151
xor eax, eax
pop esi
leave
ret 4

Function at 0x4162b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf000]
push edi
jmp 0x4162ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4162d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4162c0
mov eax, 1
add ebx, ebx
jne 0x4162e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4162d8
jne 0x4162f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4162d8
xor ecx, ecx
sub eax, 3
jb 0x416308
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41637a
mov ebp, eax
add ebx, ebx
jne 0x416313
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x416320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x416344
inc ecx
add ebx, ebx
jne 0x416330
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x416325
jne 0x416341
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x416325
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x416364
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x416355
jmp 0x4162c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x416364
add edi, ecx
jmp 0x4162c6
pop esi
lea edi, [esi + 0x14000]
mov eax, dword [edi]
or eax, eax
je 0x4163c3
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x16000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1606c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x416381
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x16074]
or eax, eax
je 0x4163bd
mov dword [ebx], eax
add ebx, 4
jmp 0x41639e
call dword [esi + 0x16070]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4163f4
cmp al, 0xef
ja 0x4163e7
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4163c9
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4163d6
mov ebp, dword [esi + 0x16078]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x416428
sub esp, 0xffffff80
jmp 0x405dd2
Function at 0x422550
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48dd7b
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.00482627
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4225d2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047ff0a
mov eax, dword [eax]
push 0x58e260
push eax
call fcn.00471984
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004828b2
test bl, bl
je 0x4225d2
push 0x58e260
lea ecx, [esp + 0xc]
call fcn.00482c42
push 0x591dc8
lea ecx, [esp + 0xc]
call fcn.00482c42
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 0x42260e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004828b2
jmp 0x4226d9
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 0x422692
lea edx, [esp + 0x7c]
push 0x591dc4
push edx
call fcn.00471984
add esp, 8
test eax, eax
je 0x422692
lea eax, [esp + 0x7c]
push 0x591dc0
push eax
call fcn.00471984
add esp, 8
test eax, eax
je 0x422692
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 0x422622
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.004828b2
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 0x422ed0
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 0x422f32
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 0x422f40
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48ddfb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x59ca34]
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 0x423078
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x422fa6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004828b2
xor eax, eax
jmp 0x4230ef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004829ef
push esi
lea ecx, [esp + 0xc]
call fcn.00482c7e
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 0x4230cd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00422ed0
test eax, eax
jne 0x4230cd
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 accept
mov ecx, edi
call fcn.00422ed0
test eax, eax
jne 0x4230cd
lea eax, [esp + 0x14]
push 0x591ddc
push eax
call fcn.004729c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4230ac
lea ecx, [esp + 0x14]
push 0x591dd8
push ecx
call fcn.00472940
mov esi, eax
add esp, 8
test esi, esi
jne 0x4230ac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4230af
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0048299f
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x422fbe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004828b2
xor eax, eax
jmp 0x4230ef
mov byte [esi], 0
push 0x591dd4
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.004828b2
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
Function at 0x433a60
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x433ace
cmp si, 0x69
ja 0x433ace
add esi, 0xffd0
cmp si, 0x11
je 0x433a9e
push 0x11
call edi
test ax, ax
jge 0x433a9e
or esi, 0x2000
cmp si, 0x10
je 0x433ab3
push 0x10
call edi
test ax, ax
jge 0x433ab3
or esi, 0x4000
cmp si, 0x12
je 0x433ac8
push 0x12
call edi
test ax, ax
jge 0x433ac8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x433adb
mov esi, 0xbd
jmp 0x433a8f
cmp si, 0x6e
jne 0x433ae8
mov esi, 0xbe
jmp 0x433a8f
cmp si, 0x6f
jne 0x433a89
mov esi, 0xbf
jmp 0x433a8f

Function at 0x435290
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5ad2e0]
xor edx, edx
cmp eax, edx
jne 0x4352b6
xor eax, eax
mov byte [eax + 0x5ad1e0], al
inc eax
cmp eax, 0x100
jl 0x43529e
mov dword [0x5ad2e0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5ad1e0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x435347
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 0x43531a
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 0x4352e8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4353c0
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 0x435413
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 0x4353fa
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