joyce8/EMBER2024-capa huggingface dataset:
Function at 0x468c80
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5be07d
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x6522a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [edi + 0x10]
add ebx, 0x30
mov ecx, ebx
mov dword [ebp - 0x10], ebx
mov eax, dword [ebx]
call dword [eax + 4]
mov eax, dword [edi + 0x10]
mov dword [ebp - 4], 0
cmp byte [eax + 0x94], 0
je 0x468d1d
cmp dword [eax + 0x40], 0
jne 0x468d1d
cmp dword [eax + 0x58], 0
jne 0x468d1d
mov eax, dword [edi + 0x10]
cmp dword [eax + 0x5c], 0
jne 0x468d1d
mov esi, dword [edi + 0x10]
add esi, 0x30
mov ecx, esi
mov dword [ebp - 0x14], esi
mov eax, dword [esi]
call dword [eax + 0xc]
push dword [ebp + 0x10]
mov eax, dword [edi]
mov ecx, edi
push 0x64
mov byte [ebp - 4], 1
call dword [eax + 0x8c]
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 2
call dword [eax + 4]
mov eax, dword [edi + 0x10]
mov byte [ebp - 4], 0
cmp dword [eax + 0x40], 0
je 0x468cd3
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + 0x40]
test ecx, ecx
jne 0x468d4d
cmp byte [eax + 0x94], cl
jne 0x468e3c
cmp dword [eax + 0x58], ecx
jne 0x468e3c
mov eax, dword [edi + 0x10]
cmp dword [eax + 0x5c], ecx
jne 0x468e3c
jmp 0x468df6
mov esi, dword [ebp + 0xc]
cmp esi, ecx
cmovg esi, ecx
push esi
push dword [eax + 0x3c]
mov dword [ebp + 0xc], esi
push dword [ebp + 8]
call fcn.00594a50
mov ecx, dword [edi + 0x10]
add esp, 0xc
mov eax, dword [ecx + 0x40]
sub eax, esi
mov dword [ebp + 8], eax
mov eax, dword [ecx + 0x3c]
add eax, esi
mov dword [ebp + 0x10], eax
mov eax, dword [ecx + 0x38]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x468d9c
lea esi, [eax + 4]
mov edx, dword [esi]
mov eax, edx
lea ecx, [edx + 1]
lock cmpxchg dword [esi], ecx
cmp eax, edx
jne 0x468d87
mov ecx, dword [edi + 0x10]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 7
push eax
add ecx, 0x38
call fcn.0045e920
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 8
test ecx, ecx
je 0x468dd2
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x468dd2
mov edx, dword [ecx]
call dword [edx]
mov edx, dword [ebx]
mov ecx, ebx
mov dword [ebp - 4], 9
call dword [edx + 0xc]
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 0xc
push 0x26
lea eax, [ebp - 0x20]
push 0x5c9c64
push eax
call fcn.00448a50
mov esi, eax
push 0x11
lea eax, [ebp - 0x2c]
push str.ESocketWouldBlock
push eax
call fcn.00448a50
add esp, 0x18
push 0x29d
push esi
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.00473d40
push 0x64336c
lea eax, [ebp - 0x50]
push eax
call fcn.00594600
push 0x26
lea eax, [ebp - 0x2c]
push 0x5c9c64
push eax
call fcn.00448a50
mov esi, eax
push 0x13
lea eax, [ebp - 0x20]
push str.ESocketNullByteRecv
push eax
call fcn.00448a50
add esp, 0x18
push 0x29f
push esi
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 6
call fcn.00473c20
push 0x6423c0
lea eax, [ebp - 0x50]
push eax
call fcn.00594600
int3
Function at 0x46c1e0
Capabilities:
Connect socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add ecx, 8
pop ebp
jmp fcn.004637e0

Function at 0x46c460
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add ecx, 8
pop ebp
jmp fcn.00464850

Function at 0x46c470
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add ecx, 8
pop ebp
jmp fcn.00464c90

Function at 0x46c550
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add ecx, 8
pop ebp
jmp fcn.00464f90

Function at 0x46c560
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add ecx, 8
pop ebp
jmp fcn.00465180

Function at 0x4748b0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, 0x10624dd3
mul esi
mov ebx, ecx
mov ecx, dword [ebp + 8]
shr edx, 6
imul eax, edx, 0x3e8
push edi
mov dword [ebx + 0x310], edx
lea edi, [ebx + 0x310]
push edi
sub esi, eax
imul eax, esi, 0x3e8
xor esi, esi
mov dword [ebx + 0x314], eax
mov eax, dword [ebx + 0x318]
mov edx, dword [eax]
lea eax, [ebx + 0x20c]
inc edx
cmp byte [ecx + 2], 0
cmove eax, esi
cmp byte [ecx + 1], 0
push eax
lea eax, [ebx + 0x108]
cmove eax, esi
cmp byte [ecx], 0
push eax
lea eax, [ebx + 4]
cmove eax, esi
push eax
push edx
call dword [sym.imp.WS2_32.dll_select]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x476370
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bf87d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x6522a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], ecx
test eax, eax
jne 0x4763cb
mov esi, dword [ebp + 8]
mov ecx, esi
push 0x64e198
call fcn.0045e8d0
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 4], 1
jmp 0x476515
xor esi, esi
test eax, eax
je 0x4764df
mov edi, dword [ebp + 0xc]
mov al, byte [esi + edi]
cmp al, 0x20
je 0x4763eb
cmp al, 0xd
je 0x4763eb
cmp al, 0xa
je 0x4763eb
cmp al, 9
jne 0x4763ee
inc esi
jmp 0x4763d8
movsx eax, byte [esi + edi]
mov cl, byte [eax + 0x5cb328]
mov al, byte [esi + edi + 1]
inc esi
cmp al, 0x20
je 0x4763f8
cmp al, 0xd
je 0x4763f8
cmp al, 0xa
je 0x4763f8
cmp al, 9
je 0x4763f8
movsx eax, al
shl cl, 2
mov bh, byte [eax + 0x5cb328]
mov bl, bh
sar bl, 4
and bl, 3
or bl, cl
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x10], bl
push dword [ebp - 0x10]
push 1
call fcn.0045ebd0
mov eax, dword [ebp + 0x10]
inc esi
cmp esi, eax
jae 0x476488
mov al, byte [esi + edi]
mov ecx, esi
cmp al, 0x20
je 0x476450
cmp al, 0xd
je 0x476450
cmp al, 0xa
je 0x476450
cmp al, 9
jne 0x476457
mov al, byte [ecx + edi + 1]
inc ecx
jmp 0x476440
mov al, byte [ecx + edi]
mov esi, ecx
cmp al, 0x3d
je 0x4764dc
movsx eax, al
lea ecx, [ebp - 0x20]
shl bh, 4
mov bl, byte [eax + 0x5cb328]
mov al, bl
sar al, 2
and al, 0xf
or al, bh
mov byte [ebp - 0x14], al
push dword [ebp - 0x14]
push 1
call fcn.0045ebd0
mov eax, dword [ebp + 0x10]
inc esi
cmp esi, eax
jae 0x4764d3
mov al, byte [esi + edi]
mov ecx, esi
cmp al, 0x20
je 0x4764a2
cmp al, 0xd
je 0x4764a2
cmp al, 0xa
je 0x4764a2
cmp al, 9
jne 0x4764a9
mov al, byte [ecx + edi + 1]
inc ecx
jmp 0x476492
mov al, byte [ecx + edi]
mov esi, ecx
cmp al, 0x3d
je 0x4764dc
movsx eax, al
lea ecx, [ebp - 0x20]
shl bl, 6
mov al, byte [eax + 0x5cb328]
or bl, al
mov byte [ebp - 0x10], bl
push dword [ebp - 0x10]
push 1
call fcn.0045ebd0
mov eax, dword [ebp + 0x10]
inc esi
cmp esi, eax
jb 0x4763d8
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp + 8]
mov dword [esi], ecx
test ecx, ecx
je 0x476502
lea edi, [ecx + 4]
nop dword [eax + eax]
mov edx, dword [edi]
mov eax, edx
lea ecx, [edx + 1]
lock cmpxchg dword [edi], ecx
cmp eax, edx
jne 0x4764f0
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 8], eax
mov dword [ebp - 4], 2
test ecx, ecx
je 0x47652f
or edx, 0xffffffff
lock xadd dword [ecx + 4], edx
dec edx
jne 0x47652f
mov dword [ebp - 0x20], 0
mov edx, dword [ecx]
call dword [edx]
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
Function at 0x476570
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bb1dd
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6522a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x10]
test edi, edi
jne 0x4765ec
mov edi, dword [ebp + 8]
mov eax, dword [0x64e198]
mov dword [edi], eax
mov eax, dword [0x64e19c]
mov esi, eax
mov dword [edi + 4], eax
test esi, esi
je 0x4765cf
add esi, 4
nop word [eax + eax]
mov edx, dword [esi]
mov eax, edx
lea ecx, [edx + 1]
lock cmpxchg dword [esi], ecx
cmp eax, edx
jne 0x4765c0
mov ecx, dword [0x64e1a0]
mov eax, edi
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [edi - 1]
mov dword [ebp - 0x18], 0
mov eax, 0xaaaaaaab
mov dword [ebp - 0x14], 0
mul ecx
mov dword [ebp - 0x10], 0x5c763c
shr edx, 1
lea eax, [edx*4 + 4]
mov dword [ebp + 0x10], eax
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.00452e80
xor ecx, ecx
mov esi, eax
test edi, edi
je 0x4766c9
mov ebx, dword [ebp + 0xc]
nop word [eax + eax]
movzx eax, byte [ecx + ebx]
shr eax, 2
mov al, byte [eax + 0x5cb2e0]
mov byte [esi], al
mov dl, byte [ecx + ebx]
inc ecx
and dl, 3
shl dl, 4
cmp ecx, edi
jae 0x476667
mov al, byte [ecx + ebx]
sar al, 4
and al, 0xf
or dl, al
movzx eax, dl
lea edx, [ecx + 1]
mov al, byte [eax + 0x5cb2e0]
mov byte [esi + 1], al
cmp ecx, edi
jae 0x47669c
mov cl, byte [ecx + ebx]
and cl, 0xf
shl cl, 2
cmp edx, edi
jae 0x476691
mov al, byte [edx + ebx]
sar al, 6
and al, 3
or cl, al
movzx eax, cl
mov al, byte [eax + 0x5cb2e0]
jmp 0x47669e
mov al, 0x3d
mov byte [esi + 2], al
lea ecx, [esi + 3]
lea esi, [ecx + 1]
cmp edx, edi
jae 0x4766ba
movzx eax, byte [edx + ebx]
and eax, 0x3f
mov al, byte [eax + 0x5cb2e0]
jmp 0x4766bc
mov al, 0x3d
mov byte [ecx], al
lea ecx, [edx + 1]
cmp ecx, edi
jb 0x476640
push dword [ebp + 0x10]
lea ecx, [ebp - 0x18]
call fcn.00452fd0
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov dword [edi], eax
mov dword [edi + 4], ecx
test ecx, ecx
je 0x476702
lea esi, [ecx + 4]
nop dword [eax]
mov edx, dword [esi]
mov eax, edx
lea ecx, [edx + 1]
lock cmpxchg dword [esi], ecx
cmp eax, edx
jne 0x4766f0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov dword [edi + 8], eax
mov dword [ebp - 4], 1
test ecx, ecx
je 0x476729
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x476729
mov dword [ebp - 0x14], 0
mov edx, dword [ecx]
call dword [edx]
mov eax, edi
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 0x4929e0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c3418
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6522a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.p2ptoolkit::gc::Object.0
mov dword [edi + 4], 0
mov dword [ebp - 4], 0
mov dword [edi + 8], vtable.p2ptoolkit::ISerialize.0
lea esi, [edi + 0xc]
mov dword [edi], vtable.p2ptoolkit::regex::Pattern.0
mov dword [edi + 8], vtable.p2ptoolkit::regex::Pattern.1.0
push 0x18
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005927e6
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, edi
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0x5c763c
mov dword [edi + 0x14], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov byte [edi + 0x28], 0
mov dword [edi + 0x18], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4c44f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x98
call fcn.00592a00
mov eax, dword [0x6522a8]
xor eax, esp
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa0]
push ebx
push edi
mov edi, dword [esp + 0xac]
xor ebx, ebx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
sub ecx, edi
mov dword [esp + 0x10], ecx
cmp edx, edi
jb 0x4c46b0
cmp edi, 0x40
ja 0x4c46b0
lea eax, [esp + 0x1c]
neg eax
lea ecx, [esp + 0x1c]
and eax, 0x3f
add ecx, eax
lea eax, [edi + 0x100]
mov dword [esp + 0xc], ecx
cmp edx, eax
jbe 0x4c4569
mov ebx, edx
sub ebx, edi
sub ebx, 0x100
push ebp
push esi
push edi
xor esi, esi
mov dword [esp + 0x20], 0
push esi
push ecx
call fcn.00595080
mov eax, dword [esp + 0xbc]
add esp, 0xc
xor ebp, ebp
cmp ebx, dword [eax + 0xc]
jae 0x4c462c
mov ecx, ebx
sub ecx, dword [eax + 8]
mov dword [esp + 0x10], ecx
nop dword [eax + eax]
mov edi, dword [esp + 0xb0]
mov eax, ebx
xor eax, dword [esp + 0x18]
lea edx, [eax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and edx, eax
mov eax, dword [esp + 0xb0]
neg edx
xor ecx, dword [eax + 8]
mov eax, ebx
xor eax, dword [edi + 8]
or ecx, eax
mov eax, edx
or eax, dword [esp + 0x1c]
xor ecx, ebx
shr ecx, 0x1f
and edx, ebp
neg ecx
or esi, edx
mov edx, dword [esp + 0x14]
and ecx, eax
mov eax, dword [edi + 0x14]
mov edi, dword [esp + 0xb4]
mov dword [esp + 0x1c], ecx
mov al, byte [eax + ebx]
inc ebx
and al, cl
or byte [edx + ebp], al
inc ebp
mov ecx, ebp
mov eax, ebp
sub ecx, edi
xor eax, edi
xor ecx, edi
or ecx, eax
mov eax, dword [esp + 0xb0]
xor ecx, ebp
shr ecx, 0x1f
neg ecx
and ebp, ecx
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x10], ecx
cmp ebx, dword [eax + 0xc]
jb 0x4c45a0
jmp 0x4c4630
mov edx, dword [esp + 0x14]
xor ebp, ebp
test edi, edi
je 0x4c4692
mov eax, esi
and eax, 0xffffffdf
mov bl, byte [eax + edx]
mov eax, esi
or eax, 0x20
mov dl, byte [eax + edx]
mov eax, esi
and eax, 0x20
inc esi
dec eax
shr eax, 0x1f
neg al
movzx eax, al
mov dword [esp + 0x10], eax
not eax
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
and cl, dl
mov edx, dword [esp + 0x14]
and al, bl
or al, cl
mov ecx, dword [esp + 0x20]
mov byte [ecx + ebp], al
mov ecx, esi
sub ecx, edi
mov eax, esi
xor ecx, edi
xor eax, edi
or ecx, eax
inc ebp
xor ecx, esi
shr ecx, 0x1f
neg ecx
and esi, ecx
cmp ebp, edi
jb 0x4c4636
pop esi
pop ebp
pop edi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.00592832
add esp, 0x98
ret
mov ecx, dword [esp + 0x9c]
xor eax, eax
pop edi
pop ebx
xor ecx, esp
call fcn.00592832
add esp, 0x98
ret
Function at 0x4e5da0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov eax, 4
call fcn.00592a00
push edi
mov edi, dword [esp + 0xc]
xor eax, eax
mov dword [esp + 4], eax
test edi, edi
je 0x4e5e20
mov cl, byte [edi]
test cl, cl
je 0x4e5e20
push ebx
push esi
mov ebx, 0x100
nop word [eax + eax]
movd xmm1, dword [esp + 0xc]
lea edi, [edi + 1]
movsx esi, cl
mov edx, 0x20
or esi, ebx
add ebx, 0x100
mov ecx, esi
shr ecx, 2
xor ecx, esi
imul esi, esi
and ecx, 0xf
sub edx, ecx
shl eax, cl
mov cl, byte [edi]
movd xmm0, edx
psrlq xmm1, xmm0
movd edx, xmm1
or eax, edx
xor eax, esi
mov dword [esp + 0xc], eax
test cl, cl
jne 0x4e5dd0
mov ecx, eax
pop esi
shr ecx, 0x10
pop ebx
xor eax, ecx
pop edi
pop ecx
ret
xor eax, eax
pop edi
pop ecx
ret

Function at 0x4e5ec0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.00592a00
push ebx
mov ebx, dword [esp + 0xc]
push esi
xor esi, esi
mov dword [esp + 8], esi
test ebx, ebx
je 0x4e5f43
mov al, byte [ebx]
test al, al
je 0x4e5f43
push ebp
push edi
mov ebp, 0x100
movsx eax, al
push eax
call fcn.00505d60
movd xmm1, dword [esp + 0x14]
lea ebx, [ebx + 1]
mov edi, eax
mov edx, 0x20
or edi, ebp
add esp, 4
mov ecx, edi
add ebp, 0x100
shr ecx, 2
xor ecx, edi
imul edi, edi
and ecx, 0xf
sub edx, ecx
shl esi, cl
movd xmm0, edx
psrlq xmm1, xmm0
movd eax, xmm1
or esi, eax
mov al, byte [ebx]
xor esi, edi
mov dword [esp + 0x10], esi
test al, al
jne 0x4e5ee7
mov eax, esi
pop edi
shr eax, 0x10
pop ebp
xor eax, esi
pop esi
pop ebx
pop ecx
ret
pop esi
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x5373a0
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esp + 0x18], 0
je 0x5373b4
mov dword [esp + 0x18], fcn.00535b80
jmp fcn.0052eeb0
mov dword [esp + 0x18], fcn.00534e10
jmp fcn.0052ebb0

Function at 0x57ec60
Capabilities:
Encode data using xor

Disassembly:
mov eax, 8
call fcn.00592a00
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
push 0x1048
push 0x62c0f8
push esi
call fcn.00594a50
mov ebx, dword [esp + 0x30]
mov edi, 0x48
add esp, 0xc
mov eax, ebx
cmp dword [esp + 0x20], edi
cmovle edi, dword [esp + 0x20]
add edi, ebx
xor ebp, ebp
nop dword [eax]
movzx edx, byte [eax]
inc eax
cmp eax, edi
cmovae eax, ebx
shl edx, 8
movzx ecx, byte [eax]
inc eax
or edx, ecx
cmp eax, edi
cmovae eax, ebx
shl edx, 8
movzx ecx, byte [eax]
inc eax
or edx, ecx
cmp eax, edi
cmovae eax, ebx
shl edx, 8
movzx ecx, byte [eax]
inc eax
or edx, ecx
cmp eax, edi
cmovae eax, ebx
xor dword [esi + ebp*4], edx
inc ebp
cmp ebp, 0x12
jl 0x57eca0
mov dword [esp + 0x10], 0
xor edi, edi
mov dword [esp + 0x14], 0
nop
lea eax, [esp + 0x10]
push esi
push eax
call fcn.00443540
mov eax, dword [esp + 0x18]
add esp, 8
mov dword [esi + edi*4], eax
mov eax, dword [esp + 0x14]
mov dword [esi + edi*4 + 4], eax
add edi, 2
cmp edi, 0x12
jl 0x57ecf0
xor edi, edi
lea eax, [esp + 0x10]
push esi
push eax
call fcn.00443540
mov eax, dword [esp + 0x18]
add esp, 8
mov dword [esi + edi*4 + 0x48], eax
mov eax, dword [esp + 0x14]
mov dword [esi + edi*4 + 0x4c], eax
add edi, 2
cmp edi, 0x400
jl 0x57ed17
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x5a76e8
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005a766a

Function at 0x5aefd7
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005aee4d

Function at 0x5b09f9
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005b054c
Function at 0x403fa5
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x403fba
xor eax, eax
pop ebp
ret
test al, 1
je 0x403fc1
xor eax, 1
test al, 4
je 0x403fc8
xor eax, 4
test al, 2
je 0x403fcf
xor eax, 2
test al, 0x20
je 0x403fd6
xor eax, 0x20
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, esi
pop esi
pop ebp
ret

Function at 0x403ff7
Capabilities:
Create process on windows
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x41f044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x108]
push eax
mov esi, 0x104
xor ebx, ebx
push esi
mov dword [ebp - 0x318], ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x41b440
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.0040a9cb
add esp, 0xc
push esi
lea eax, [ebp - 0x20c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push esi
push eax
call fcn.00409a4a
lea eax, [ebp - 0x310]
push 0x5c
push eax
call fcn.0040a980
add esp, 0x14
cmp eax, ebx
je 0x404076
mov byte [eax], bl
push ebx
push pe_nt_image_headers32
push 2
push ebx
push ebx
push 0x40000000
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x314], eax
cmp eax, 0xffffffff
je 0x404169
mov eax, 0x4204c0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4040a9
sub eax, edx
lea ecx, [ebp - 0x20c]
push edi
mov esi, eax
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
cmp al, bl
jne 0x4040be
lea eax, [ebp - 0x108]
sub ecx, edi
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4040d0
imul ecx, ecx, 3
sub eax, edi
add ecx, eax
lea esi, [ecx + esi + 0x32]
push esi
call fcn.00409135
push esi
mov edi, eax
push ebx
push edi
call fcn.00410730
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x20c]
push eax
push eax
push 0x4204c0
push esi
push edi
call fcn.0040a9ad
mov eax, edi
add esp, 0x2c
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40411c
push ebx
lea ecx, [ebp - 0x318]
push ecx
sub eax, esi
push eax
push edi
push dword [ebp - 0x314]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x314]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x108]
push eax
push 0x41b44c
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp edi, ebx
je 0x404168
push edi
call fcn.00409a3f
pop ecx
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00409013
leave
ret
Function at 0x44a410
Capabilities:
Accept command line arguments
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov dword [esi], 0

Function at 0x44a829
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, 0x7abb18
mov ebx, 0x54bf007a
nop
jp 0x44a837
Function at 0x10005450
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [0x1003d300]
sub esp, 0x20
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x10005469
mov eax, dword [0x1003d304]
pop ebx
add esp, 0x20
ret
cmp dword [0x1003d308], ebx
jne 0x10005520
mov al, 0x73
mov cl, 0x65
mov byte [esp + 0x15], al
mov byte [esp + 0x20], al
mov byte [esp + 0x21], al
mov byte [esp + 9], cl
mov byte [esp + 0xc], cl
mov byte [esp + 0x1f], cl
lea eax, [esp + 0x14]
lea ecx, [esp + 8]
mov dl, 0x6f
push eax
push ecx
mov byte [esp + 0x10], 0x6b
mov byte [esp + 0x12], 0x72
mov byte [esp + 0x13], 0x6e
mov byte [esp + 0x15], 0x6c
mov byte [esp + 0x16], 0x33
mov byte [esp + 0x17], 0x32
mov byte [esp + 0x18], bl
mov byte [esp + 0x1c], 0x49
mov byte [esp + 0x1e], 0x57
mov byte [esp + 0x1f], dl
mov byte [esp + 0x20], 0x77
mov byte [esp + 0x21], 0x36
mov byte [esp + 0x22], 0x34
mov byte [esp + 0x23], 0x50
mov byte [esp + 0x24], 0x72
mov byte [esp + 0x25], dl
mov byte [esp + 0x26], 0x63
mov byte [esp + 0x2a], bl
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [0x1003d308], eax
jne 0x10005520
mov dword [0x1003d304], ebx
mov dword [0x1003d300], 1
xor eax, eax
pop ebx
add esp, 0x20
ret
lea edx, [esp + 4]
mov dword [esp + 4], ebx
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x1003d308]
mov eax, dword [esp + 4]
mov dword [0x1003d300], 1
mov dword [0x1003d304], eax
pop ebx
add esp, 0x20
ret