joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001cc30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1002d6f4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1002da0c], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x1001cc5c
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x1001cc8d
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x1001cc8b
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call sym.drvSOFT.x3d_public:_enum_E3RESULT___stdcall_FILETYPE::QueryFormatInfo_class_e3_XMLNODE____unsigned_int_
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x1001cc8d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10022650
leave
ret 8

Function at 0x1948e058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1948e1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1948e07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1948e06a
add dl, dl
jne 0x1948e089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1948e0dc
xor eax, eax
add dl, dl
jne 0x1948e096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1948e17d
add dl, dl
jne 0x1948e0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1948e0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1948e0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1948e0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1948e0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1948e075
mov eax, 1
add dl, dl
jne 0x1948e0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1948e0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1948e0e1
sub eax, ebx
mov ebx, 1
jne 0x1948e128
mov ecx, 1
add dl, dl
jne 0x1948e10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1948e119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1948e105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1948e075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1948e13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1948e14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1948e136
cmp eax, 0x7d00
jae 0x1948e16d
cmp eax, 0x500
jb 0x1948e168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1948e075
cmp eax, 0x7f
ja 0x1948e170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1948e075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1948e19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1948e075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40e849
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x40e858
pop dword [ebp - 0x1c]
mov eax, 0x9eaff337
add eax, 0x6190f521
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x63c51193
add dword [ebp - 0x2c], 0xea8d33b8
mov dword [ebp - 0x28], 0xca447bce
add dword [ebp - 0x28], 0x67eed077
mov dword [ebp - 0x24], 0xf0190937
sub dword [ebp - 0x24], 0xa3ccc509
mov dword [ebp - 0x20], 0xf7381e2b
sub dword [ebp - 0x20], 0xf7381e2b
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x9a60848d
add eax, 0x65e52bd7
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x16d1b540
sub dword [ebp - 0x2c], 0xa25f4bea
mov dword [ebp - 0x28], 0xb68682f1
sub dword [ebp - 0x28], 0x751a217c
mov dword [ebp - 0x24], 0xfaa96ff0
sub dword [ebp - 0x24], 0x973a0384
mov dword [ebp - 0x20], 0x57eede03
add dword [ebp - 0x20], 0xa81121fd
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0xc0a0f896
sub eax, 0xc05b4816
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x4bb7c
push 0
call eax
mov ecx, 0xfcd3c65f
sub ecx, 0xfcd384cf
xor ebx, ebx
add ebx, eax
mov esi, 0x6b2ec720
sub esi, 0x6ae76720
add esi, dword [ebp - 0x1c]
mov edx, 0x29f15660
add edx, 0xf249c3e2
mov edi, dword [esi]
add dword [ebp - 0x14], edi
add edi, edx
xor dword [ebp - 8], 0x36e9a6ed
mov dword [ebx], edi
sub dword [ebp - 4], 0x83c8efc
add ebx, 0xeb2fdb2e
sub ebx, 0xeb2fdb2a
add esi, 0x4a46a5b8
sub esi, 0x4a46a5b4
loop 0x40e97c
add eax, 0xf913
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x87cfdb15
add ecx, 0x787024eb
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x41735b
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jge 0x417384
mov eax, 0xfffffffd
jmp 0x417525
mov ebx, dword [0xedbd8c]
add ebx, 0x1c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0
je 0x4174f3
mov ebx, dword [0xedbd8c]
add ebx, 4
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0xa
jne 0x4173d3
mov ebx, dword [0xedbd8c]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 0
jne 0x4173d3
mov eax, 1
jmp 0x4173d8
mov eax, 0
test eax, eax
je 0x417408
call fcn.0041752b
mov dword [ebp - 4], eax
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x4173f5
mov eax, dword [ebp + 8]
call dword [ebp - 4]
nop
nop
leave
ret 4
mov ebx, dword [0xedbd8c]
add ebx, 4
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 6
jne 0x41743f
mov ebx, dword [0xedbd8c]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 2
jne 0x41743f
mov eax, 1
jmp 0x417444
mov eax, 0
test eax, eax
jne 0x417494
mov ebx, dword [0xedbd8c]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], 6
jne 0x417483
mov ebx, dword [0xedbd8c]
add ebx, 8
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
cmp dword [ebx], 3
jne 0x417483
mov eax, 1
jmp 0x417488
mov eax, 0
test eax, eax
jne 0x417494
xor eax, eax
jmp 0x417499
mov eax, 1
test eax, eax
je 0x4174c5
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x4174ae
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0xedbd8c]
add ebx, 0x1c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0
jne 0x41751b
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x417525
mov esp, ebp
pop ebp
ret 4

Function at 0x418302
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.00418364
test eax, eax
je 0x418345
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x418345
cmp word [eax], 0x5a4d
jne 0x418345
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x418345
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.00418436
mov eax, dword [ebp + 8]
jmp 0x41835e
mov esp, ebp
pop ebp
ret 4

Function at 0x418364
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x418417
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]
Function at 0x425e42
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x425e7a
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x425e68
mov al, 1
jmp 0x425ec4
cmp dword [ebx + 0x54], ecx
jne 0x425e71
mov al, 2
jmp 0x425ec4
cmp dword [ebx + 0x7c], ecx
jne 0x425ec4
mov al, 3
jmp 0x425ec4
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x425e8f
mov al, 4
jmp 0x425ec4
cmp ecx, 5
jne 0x425eaf
cmp ebx, 0
jne 0x425e9d
mov al, 5
jmp 0x425ec4
cmp ebx, 1
jne 0x425ea6
mov al, 6
jmp 0x425ec4
cmp ebx, 2
jne 0x425eaf
mov al, 7
jmp 0x425ec4
cmp ecx, 6
jne 0x425ebb
cmp ebx, 0
jne 0x425ebd
mov al, 8
jmp 0x425ec4
cmp ebx, 1
jne 0x425ec4
mov al, 9
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c7f2e
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 4]
mov eax, dword [ebp - 4]
jmp 0x4c7f65
mov esp, ebp
pop ebp
ret

Function at 0x4f66ec
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x4f679f
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]
Function at 0x4fb48a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.004f66ec
test eax, eax
je 0x4fb4cd
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x4fb4cd
cmp word [eax], 0x5a4d
jne 0x4fb4cd
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x4fb4cd
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.004fb4ec
mov eax, dword [ebp + 8]
jmp 0x4fb4e6
mov esp, ebp
pop ebp
ret 4

Function at 0x4fb6a2
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jge 0x4fb6cb
mov eax, 0xfffffffd
jmp 0x4fb86c
mov ebx, dword [0xedc130]
add ebx, 0x1c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0
je 0x4fb83a
mov ebx, dword [0xedc130]
add ebx, 4
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0xa
jne 0x4fb71a
mov ebx, dword [0xedc130]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 0
jne 0x4fb71a
mov eax, 1
jmp 0x4fb71f
mov eax, 0
test eax, eax
je 0x4fb74f
call fcn.004fb872
mov dword [ebp - 4], eax
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x4fb73c
mov eax, dword [ebp + 8]
call dword [ebp - 4]
nop
nop
leave
ret 4
mov ebx, dword [0xedc130]
add ebx, 4
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 6
jne 0x4fb786
mov ebx, dword [0xedc130]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 2
jne 0x4fb786
mov eax, 1
jmp 0x4fb78b
mov eax, 0
test eax, eax
jne 0x4fb7db
mov ebx, dword [0xedc130]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], 6
jne 0x4fb7ca
mov ebx, dword [0xedc130]
add ebx, 8
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
cmp dword [ebx], 3
jne 0x4fb7ca
mov eax, 1
jmp 0x4fb7cf
mov eax, 0
test eax, eax
jne 0x4fb7db
xor eax, eax
jmp 0x4fb7e0
mov eax, 1
test eax, eax
je 0x4fb80c
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x4fb7f5
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0xedc130]
add ebx, 0x1c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0
jne 0x4fb862
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x4fb86c
mov esp, ebp
pop ebp
ret 4
Function at 0x515b30
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x608c3b
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.005fad36
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x515bb2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.005f82dd
mov eax, dword [eax]
push 0xeb4f48
push eax
call fcn.005e8f34
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.005fafc1
test bl, bl
je 0x515bb2
push 0xeb4f48
lea ecx, [esp + 0xc]
call fcn.005fb39d
push 0xeb4f54
lea ecx, [esp + 0xc]
call fcn.005fb39d
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 0x515bee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.005fafc1
jmp 0x515cb9
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 0x515c72
lea edx, [esp + 0x7c]
push 0xeb4f50
push edx
call fcn.005e8f34
add esp, 8
test eax, eax
je 0x515c72
lea eax, [esp + 0x7c]
push 0xeb4f4c
push eax
call fcn.005e8f34
add esp, 8
test eax, eax
je 0x515c72
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 0x515c02
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.005fafc1
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 0x5164e0
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 0x516542
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 0x516550
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x608cbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0xed7428]
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 0x516688
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x5165b6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.005fafc1
xor eax, eax
jmp 0x5166ff
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.005fb14a
push esi
lea ecx, [esp + 0xc]
call fcn.005fb3d9
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0xeb4f88
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x5166dd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0xeb4f80
push closesocket
call fcn.005164e0
test eax, eax
jne 0x5166dd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0xeb4f6c
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.005164e0
test eax, eax
jne 0x5166dd
lea eax, [esp + 0x14]
push 0xeb4f64
push eax
call fcn.005ea190
mov esi, eax
add esp, 8
test esi, esi
jne 0x5166bc
lea ecx, [esp + 0x14]
push 0xeb4f60
push ecx
call fcn.005ea110
mov esi, eax
add esp, 8
test esi, esi
jne 0x5166bc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x5166bf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.005fb0fa
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x5165ce
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.005fafc1
xor eax, eax
jmp 0x5166ff
mov byte [esi], 0
push 0xeb4f5c
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.005fafc1
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 0x523c76
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
mov eax, dword [esi + 0x3a0]
test eax, eax
jne 0x523c9e
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x3a0], eax
pop esi
add esp, 0x190
ret
Function at 0x52e2d0
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 0x52e33e
cmp si, 0x69
ja 0x52e33e
add esi, 0xffd0
cmp si, 0x11
je 0x52e30e
push 0x11
call edi
test ax, ax
jge 0x52e30e
or esi, 0x2000
cmp si, 0x10
je 0x52e323
push 0x10
call edi
test ax, ax
jge 0x52e323
or esi, 0x4000
cmp si, 0x12
je 0x52e338
push 0x12
call edi
test ax, ax
jge 0x52e338
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x52e34b
mov esi, 0xbd
jmp 0x52e2ff
cmp si, 0x6e
jne 0x52e358
mov esi, 0xbe
jmp 0x52e2ff
cmp si, 0x6f
jne 0x52e2f9
mov esi, 0xbf
jmp 0x52e2ff

Function at 0x52fc40
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xee88c8]
xor edx, edx
cmp eax, edx
jne 0x52fc66
xor eax, eax
mov byte [eax + 0xee87c8], al
inc eax
cmp eax, 0x100
jl 0x52fc4e
mov dword [0xee88c8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xee87c8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x52fcf7
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 0x52fcca
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 0x52fc98
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x52fd70
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 0x52fdc3
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 0x52fdaa
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 0x533690
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x60a968
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x20]
call fcn.00601c41
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x40], 0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub eax, esi
sub ecx, edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
lea edx, [esp + 0xc]
push ecx
lea eax, [esp + 0x28]
push edx
push eax
call fcn.00533560
add esp, 0x14
lea ecx, [esp + 0x1c]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.00601cb3
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x537720
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 0x5378b8
cmp ebp, ebx
jle 0x5378b8
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, reloc.OLEAUT32.dll_VariantInit
mov dword [esp + 0x10], edi
jns 0x53777e
dec eax
or eax, 0xfffffff8
inc eax
je 0x537785
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x537794
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x53779b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.005fad02
add esp, 4
cmp eax, ebx
je 0x5377bc
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.005fad02
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 0x5378ae
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 0x537895
mov al, byte [edx]
cmp al, 0xc0
jbe 0x537881
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x537876
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 0x537884
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x537884
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x537820
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 0x537811
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 0x53a8f0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x60ad88
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 0x53a929
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.006029d9
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.00602a61
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.0053a9b0
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.00602a9e
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24