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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5b63ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.0054328a
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0054328a
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x54eeb2
cmp word [ecx], dx
je 0x54eeb2
mov eax, dword [0x590a0c]
push edi
dec eax
push eax
push 0x5908f8
call fcn.0054edda
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x54ef25
cmp word [eax], dx
je 0x54ef25
mov eax, dword [edi]
test eax, eax
je 0x54eed6
cmp word [eax], dx
je 0x54eed6
lea eax, [ebp - 0x10]
push eax
call fcn.0054e7bd
jmp 0x54eedf
lea eax, [ebp - 0x10]
push eax
call fcn.0054e858
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x54ef4f
mov eax, dword [0x5908f4]
push dword [ebp - 0x14]
dec eax
push eax
push 0x5905e8
call fcn.0054edda
add esp, 0xc
test al, al
je 0x54ef4f
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x54ef1a
cmp word [eax], di
je 0x54ef1a
lea eax, [ebp - 0x10]
push eax
call fcn.0054e7bd
pop ecx
jmp 0x54ef51
lea eax, [ebp - 0x10]
push eax
call fcn.0054e858
jmp 0x54ef17
mov eax, dword [edi]
test eax, eax
je 0x54ef3c
cmp word [eax], dx
je 0x54ef3c
lea eax, [ebp - 0x10]
push eax
call fcn.0054e772
pop ecx
jmp 0x54ef4f
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x54f01a
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0054ec5f
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x54f01a
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x54f01a
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x54f01a
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x54efa7
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00543ef7
test ebx, ebx
je 0x54f015
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00543ef7
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x54f01a
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x54f01a
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0053dd62
add esp, 0x10
xor eax, eax
inc eax
jmp 0x54f01c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ea9ac
leave
ret
Function at 0x556b80
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d9b0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5b63ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
test edi, edi
je 0x556cc9
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x556cc9
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x556cc9
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x556cc9
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 5
push SysReAllocString
push edi
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x18], edi
cmp edi, 0xffffffff
je 0x556cb5
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push edi
movq qword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x556cae
cmp dword [ebp - 0x1c], ebx
jne 0x556cae
mov ecx, dword [esi + 0x10]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], ebx
cmp eax, ecx
ja 0x556c4d
mov dword [esi + 0x10], eax
mov ecx, esi
cmp dword [esi + 0x14], 0x10
jb 0x556c47
mov ecx, dword [esi]
mov byte [ecx + eax], 0
jmp 0x556c59
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.0042a640
push 0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push dword [ebp - 0x20]
mov ecx, esi
push 0
call fcn.00457180
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp + 8]
jne 0x556cae
push edi
mov ebx, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100341ad
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x1003422c
lea ebx, reloc.KERNEL32.dll_GetProcAddress
and ecx, 0x3c
mov dx, word [esp]
call fcn.10034203

Function at 0x10034203
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov edx, dword [esi]
not ebx
mov bx, 0xc671
lea ebx, [eax + ebp]
jmp 0x10034207
bswap ebx
jmp 0x100341ed
mov dword [ecx + edi], edx
mov ebx, dword [esp]
mov bx, di
mov ecx, 0x4d0c91b4
mov bx, word [esp]
jmp 0x100342b4
jmp 0x10032265
add esi, 4
mov edx, 0x6db8fbd2
setns bh
inc dh
ja 0x10034254
jbe 0x10032265

Function at 0x1003423e
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0x1de14
jmp 0x10034480
jmp 0x1003426f
push edi
lea esp, [esp + 3]
push dx
lea esp, [esp + 3]
push eax
call fcn.10034259
jno 0x10034296
mov word [esp + 3], dx
mov dword [esp], edi
jmp 0x10034300
mov word [esp + 3], dx
mov dword [esp], edi
lea esp, [esp + 2]
mov dword [esp], ecx
pushfd
mov word [esp], di
jmp 0x100342df
push esp
push ebx
push sp
push dword [esp + 5]
jp 0x10034335
jnp 0x1003430a
xor dword [eax + reloc.KERNEL32.dll_GetProcAddress], ebp
inc ebp
hlt
mov word [esp], ax
mov dword [esp], edx
push sp
lea esp, [esp]
lea esp, [esp + 2]
push ebx
jmp 0x100342c9
lea esp, [esp + 2]
mov dword [esp], ecx
pushfd
jmp 0x100342a6
lea esp, [esp + 2]
mov dword [esp + 4], ebp
jmp 0x1003433d
xor al, 0
add byte [eax], al
pop ds
adc dword [ecx], reloc.KERNEL32.dll_GetProcAddress
inc edx
sal byte [edi + 0x3a83f442], 1
adc eax, 0x648d3784
and al, 2
lea esp, [esp + 2]
mov dword [esp + 4], ebp
call fcn.10034318
mov word [esp], bx
call fcn.1003435d
pushfd
xor dl, byte [ebp - 0x5c]
and ebp, dword [ecx - 0x17]
jns 0x1003436d
jmp 0x100343af
jmp 0x10034a03
rdtsc
lea edx, [eax*4]
jmp 0x100343ae
mov ecx, 0x998c98cc
not cx
dec bl
jbe 0x100343cc
ja 0x100343cc
cld
jge 0x10034384
je 0x10034320
cmp cl, dh
dec esi
fdivr qword [ebx - 0x59a019aa]
rcl dword [eax - 0x2d]
rdtsc
lea edx, [eax*4]
lea esi, [esp]
xor al, 0x24
mov ax, di
jmp 0x10034386
mov ebp, esp
setge cl
lea edx, [eax*4]
jmp 0x100343d4
sub esp, 0xc0
jmp 0x100343b6
mov cx, 0x4edc
mov edi, dword [esp + 0x2c]
lea ebp, reloc.KERNEL32.dll_GetProcAddress
rcl ebp, cl
jle 0x100343a5
jg 0x1003437b
xchg dh, cl
mov bx, sp
mov eax, ebx
mov bx, di
jmp 0x100343ec
pushfd
jmp 0x100324ef

Function at 0x10034318
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dword [esp], edi
mov dword [esp + 4], esi
call fcn.10034358

Function at 0x1003435d
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dword [esp + 1], ebx
mov byte [esp + 3], dh
mov dword [esp + 8], edi
lea esp, [esp + 8]
Function at 0x10052167
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov edi, dword [edi*4 + reloc.KERNEL32.dll_GetProcAddress]
jmp 0x10052183
lea esp, [esp + 1]
jmp 0x10052151
mov bh, byte [esp + 0x12]
jmp 0x100521c3
and ebx, ecx
lea esp, [esp + 0x54]
xor edi, dword [ebx*4 + reloc.KERNEL32.dll_GetProcAddress]
sub esp, 0x1c
jmp 0x1005216d
mov ebx, dword [ebx*4 + reloc.KERNEL32.dll_GetProcAddress]
push esi
jmp 0x10052209
movzx ebx, byte [ebp]
pop ebp
jmp 0x10052195
push ebp
mov ebp, esi
add ebp, 2
jmp 0x100521ab
mov dword [esp + 0x14], esi
call fcn.100521f0
add eax, dword [ecx + reloc.KERNEL32.dll_GetProcAddress]
ret
lea esp, [esp + 0x20]
xor edi, dword [ebx*4 + reloc.KERNEL32.dll_GetProcAddress]
push edx
pushal
jmp 0x100521cb
and ebx, ecx
sub esp, 3
add esp, 0
lea esp, [esp + 3]
jmp 0x100521e1

Function at 0x10052465
Capabilities:
Encrypt data using aes

Disassembly:
and ebx, ecx
lea esp, [esp + 0x54]
xor edi, dword [ebx*4 + reloc.KERNEL32.dll_GetProcAddress]
jmp 0x100524a5
movzx ebx, byte [esi + 0xa]
mov ebx, dword [ebx*4 + reloc.KERNEL32.dll_GetProcAddress]
and ebx, ecx
jmp 0x1005248f

Function at 0x1005258d
Capabilities:
Encrypt data using aes

Disassembly:
push dword [esp + 2]
jmp 0x100525d3
mov edx, dword [edx*4 + reloc.KERNEL32.dll_GetProcAddress]
push si
mov word [esp], dx
lea esp, [esp + 2]
jmp 0x100525bd
and ebx, ecx
cmc
jmp 0x100525f8
lea esp, [esp + 2]
mov ebx, dword [ebx*4 + reloc.KERNEL32.dll_GetProcAddress]
and edx, ecx
jmp 0x10052593
and edx, ecx
jmp 0x100526cb
lea esp, [esp + 8]
xor edi, dword [ebx*4 + reloc.KERNEL32.dll_GetProcAddress]
sub esp, 0x1e
pop word [esp + 0x15]
mov dword [esp + 4], edi
jmp 0x100525e2
lea esp, [esp + 0x1c]
xor edi, dword [edx*4 + reloc.KERNEL32.dll_GetProcAddress]
dec dword [ebp - 4]
jmp 0x10052678

Function at 0x10052bef
Capabilities:
Encrypt data using aes

Disassembly:
call fcn.100536ea
jmp 0x67eaa97e
lea esp, [esp + 2]
jmp 0x10052bf1
jmp 0x10052bd9
lea esp, [esp + 4]
mov byte [ebp - 1], bl
sub esp, 0xc
lea esp, [esp + 0xc]
jmp 0x10052c05
cmp bl, 0x41
jmp 0x1005365b
jb 0x1001f5ab
cmp bl, 0x5a
call fcn.100531c6
push di
lea esp, [esp + 2]
popal
jmp 0x100536cf
shl edx, 8
jmp 0x100536df
add eax, 1
movzx edx, byte [eax]
pop eax
sub esp, 0xb
lea esp, [esp + 3]
jmp 0x100536b9
or eax, edx
lea esp, [esp + 8]
jmp 0x1001f5e9
Function at 0x100560ff
Capabilities:
Encode data using xor

Disassembly:
mov esi, dword [esp]
stc
call fcn.10056139
sbb al, 0x87
pop ss
jb 0x10055fc3
cmp dword [edx + reloc.KERNEL32.dll_GetProcAddress], ebx
mov edi, 0xf9108a95
mov dl, byte [eax]
stc
ret
push word [esp + 6]
lea esp, [esp + 2]
jmp 0x1005618b
cmp byte [eax], cl
jne 0x10056060
je 0x10056034
je 0x10056098
sub esp, 0x18
jmp 0x1005619e
lea esp, [esp + 0xc]
je 0x10056034
sub esp, 0xc
lea esp, [esp + 0xc]
jmp 0x1005614f
xor eax, eax
lea esp, [esp + 0x18]
jmp 0x10056098

Function at 0x100cf90c
Capabilities:
Parse pe header

Disassembly:
cmc
sub esp, 0x12
jmp 0x100cf6fc
dec ecx
mov cl, 1
xchg dword [esp + 6], ecx
pop word [esp + 0x1f]
inc cl
jmp 0x100cf712
mov ch, byte [esp + 0x11]
xchg word [esp + 0x25], bp
xchg word [esp + 0x2c], bp
mov ch, 0x30
xchg ecx, ebp
mov ch, 0xdc
jmp 0x100cf6e6
lea ebp, [esi + 0x5d]
clc
mov cx, si
not cx
mov word [esp + 5], cx
mov byte [esp + 8], dh
jmp 0x100cfa35
xchg dword [esp + 0x23], ebp
lea ecx, [ebx*4]
lea ecx, [esp + eax]
jmp 0x100cf781
pop cx
pushfd
neg ch
mov cl, 0x3e
pop cx
xchg dword [esp + 0x14], ecx
jmp 0x100cf746
add esp, 0xd
bswap ebp
push word [esp + 7]
mov bp, 0x6436
mov ch, bh
jmp 0x100cf7ab
mov bp, 0x659
mov dword [esp + 0x15], esp
bswap ebp
cmc
xchg word [esp + 0x12], cx
inc cl
jmp 0x100cf76b
inc cx
mov ebp, 0x719f337
mov cx, word [esp + 0x19]
bswap ecx
jmp 0x100cf820
neg ecx
xchg word [esp + 0x18], bp
mov word [esp + 6], bp
xchg ebp, ecx
mov ebp, 0x69bfad7d
rcl ecx, 0x18
jmp 0x100cf795
mov cl, byte [esp + 0xf]
sub esp, 4
not ecx
xchg dword [esp + 0x17], ecx
jmp 0x100cf803
mov ebp, 0xce97d489
pushfd
adc cl, cl
mov bp, 0xd95f
xchg dword [esp + 5], ebp
not ebp
jmp 0x100cf7c3
push word [esp + 0x1f]
mov ch, dh
xchg ebp, ecx
mov dword [esp + 0x1e], esi
jmp 0x100cf850
xchg dword [esp + 0x20], ecx
mov byte [esp + 0x10], al
mov ch, bl
mov word [esp + 0x20], dx
pop bp
mov ebp, dword [esp + 0xf]
jmp 0x100cf7ed
mov ebp, 0xf1c893f2
lea ebp, reloc.KERNEL32.dll_GetProcAddress
xchg cl, ch
mov cx, 0x664d
mov ch, byte [esp + 8]
rol ecx, 9
jmp 0x100cf7d9
mov bp, 0x97c7
mov ebp, 0x5f36fa7
lea ebp, [ecx + edx]
jmp 0x100cf8cf
lea esp, [esp + 2]
mov cl, 0xfd
not bp
mov bp, 0xd4dc
xchg ch, cl
mov ecx, dword [esp + 0x24]
jmp 0x100cf83a
mov bp, 0x77de
mov ebp, dword [esp]
sub esp, 3
mov bp, word [esp + 1]
call fcn.100cf87b
mov byte [esp + 1], bh
mov dword [esp + 0x1c], esp
call 0x100cf90c
add al, 0x9b
or ebp, dword [esi - 0x63]
push 0x7e
dec ecx
call 0x64954e63
and al, 0x20
lea esp, [esp + 2]
mov dword [esp + 0x1c], ebx
call 0x100cf8e3
jmp 0x100cf96e
neg ch
mov dword [esp + 4], edx
mov cx, si
xchg byte [esp + 0xf], cl
not ecx
mov ecx, dword [esp + 1]
jmp 0x100cf75c
lea esp, [esp + 2]
push word [esp]
mov dword [esp + 0x1c], ebp
call fcn.100cf90e
cld
pop cx
pop word [esp + 0x26]
rol cx, cl
xchg dword [esp + 6], ebp
mov byte [esp + 7], cl
jmp 0x100cf929
Function at 0x100cf90e
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
call fcn.100ce783
mov dword [esp], ebp
push word [esp + 1]
lea esp, [esp + 2]
jmp 0x100cf957
lea esp, [esp + 1]
mov dword [esp + 0x18], edi
lea esp, [esp + 0x18]
jmp 0x100cf9e5
mov dword [esp + 0x1c], esi
push esp
pop word [esp]
push word [esp]
lea esp, [esp + 3]
jmp 0x100cf941
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
jmp 0x100ce77e
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0x100cf9a7
Function at 0x408550
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47b57b
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.004701ab
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4085d2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046e0bd
mov eax, dword [eax]
push 0x49bc98
push eax
call fcn.00460b84
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00470436
test bl, bl
je 0x4085d2
push 0x49bc98
lea ecx, [esp + 0xc]
call fcn.004707c6
push 0x49bca4
lea ecx, [esp + 0xc]
call fcn.004707c6
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 0x40860e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00470436
jmp 0x4086d9
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 0x408692
lea edx, [esp + 0x7c]
push 0x49bca0
push edx
call fcn.00460b84
add esp, 8
test eax, eax
je 0x408692
lea eax, [esp + 0x7c]
push 0x49bc9c
push eax
call fcn.00460b84
add esp, 8
test eax, eax
je 0x408692
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 0x408622
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.00470436
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 0x408ed0
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 0x408f32
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 0x408f40
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47b5fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4a5704]
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 0x409078
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x408fa6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00470436
xor eax, eax
jmp 0x4090ef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00470573
push esi
lea ecx, [esp + 0xc]
call fcn.00470802
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x49bcd8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4090cd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00408ed0
test eax, eax
jne 0x4090cd
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 closesocket
mov ecx, edi
call fcn.00408ed0
test eax, eax
jne 0x4090cd
lea eax, [esp + 0x14]
push 0x49bcb4
push eax
call fcn.00461c00
mov esi, eax
add esp, 8
test esi, esi
jne 0x4090ac
lea ecx, [esp + 0x14]
push 0x49bcb0
push ecx
call fcn.00461b80
mov esi, eax
add esp, 8
test esi, esi
jne 0x4090ac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4090af
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00470523
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x408fbe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00470436
xor eax, eax
jmp 0x4090ef
mov byte [esi], 0
push 0x49bcac
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.00470436
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 0x419a60
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 0x419ace
cmp si, 0x69
ja 0x419ace
add esi, 0xffd0
cmp si, 0x11
je 0x419a9e
push 0x11
call edi
test ax, ax
jge 0x419a9e
or esi, 0x2000
cmp si, 0x10
je 0x419ab3
push 0x10
call edi
test ax, ax
jge 0x419ab3
or esi, 0x4000
cmp si, 0x12
je 0x419ac8
push 0x12
call edi
test ax, ax
jge 0x419ac8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x419adb
mov esi, 0xbd
jmp 0x419a8f
cmp si, 0x6e
jne 0x419ae8
mov esi, 0xbe
jmp 0x419a8f
cmp si, 0x6f
jne 0x419a89
mov esi, 0xbf
jmp 0x419a8f

Function at 0x41b2d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4b5e58]
xor edx, edx
cmp eax, edx
jne 0x41b2f6
xor eax, eax
mov byte [eax + 0x4b5d58], al
inc eax
cmp eax, 0x100
jl 0x41b2de
mov dword [0x4b5e58], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4b5d58
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41b387
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 0x41b35a
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 0x41b328
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41b400
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 0x41b453
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 0x41b43a
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 0x422470
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x422608
cmp ebp, ebx
jle 0x422608
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x4224ce
dec eax
or eax, 0xfffffff8
inc eax
je 0x4224d5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x4224e4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x4224eb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.00470177
add esp, 4
cmp eax, ebx
je 0x42250c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.00470177
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x4225fe
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x4225e5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x4225d1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x4225c6
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x4225d4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x4225d4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x422570
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x422561
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret