joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101d89d8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x58
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x101e60a0], 0x132c
mov esi, dword [0x101e60a4]
mov edi, esi
add edi, 0xdd7c
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], edx
jmp 0x101d8a66
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x38]
add ecx, 0xd1ca
mov edx, dword [ebp - 0x34]
mov dword [0x101e60a4], edx
mov dword [0x101e60a0], ecx
mov dword [ebp - 0x40], eax
call fcn.101d82f9
mov dword [esp], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 4], eax
call fcn.101d7e90
xor ecx, ecx
mov dword [0x101e60a4], 0x123
cmp eax, 0
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
jne 0x101d8a8e
mov eax, dword [ebp - 0x48]
add esp, 0x58
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x3c]
mov cl, byte [eax + 0x101da38a]
mov dl, byte [eax + 0x101da35b]
sub dl, cl
mov byte [ebp + eax - 0x28], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x3c], eax
je 0x101d8a11
jmp 0x101d8a66
mov eax, dword [ebp - 0x44]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x4c], eax
call fcn.101d88c9
xor eax, eax
mov ecx, dword [ebp - 0x4c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov dword [0x101e60a0], 0x528
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x3c], ecx
mov ecx, dword [0x101e60a0]
add ecx, 0xfffff810
mov dword [0x101e60a0], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [edx + 0x50], ecx
mov dword [0x101e60a4], 0xd26
cmp ecx, 0
mov dword [ebp - 0x48], eax
je 0x101d8a5c
mov eax, dword [ebp - 0x4c]
add eax, 0x126b
mov dword [0x101e60a0], 0x1421
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x48], eax
jmp 0x101d8a5c
Function at 0x101d8cf5
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x101e60ac], 0
mov byte [0x101e60b0], 0
mov dword [0x101e60a4], 0x608
mov dword [0x101e60a8], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x101d8e15
xor eax, eax
mov dword [0x101e60a8], 0
mov ecx, dword [0x101e60a0]
add ecx, 0xfffff171
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x1877
mov esi, 0x100
mov dword [ebp - 0x28], eax
xor edi, edi
mov dword [ebp - 0x2c], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov dword [0x101e60b4], 0
mov ebx, dword [0x101e60ac]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x28]
movzx ecx, byte [edi + ecx]
add ecx, ebx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add ecx, edx
mov dword [0x101e60b4], ecx
mov edx, dword [ebp - 0x30]
mov dword [0x101e60a0], edx
mov eax, ecx
cdq
idiv esi
mov dword [0x101e60ac], edx
mov ecx, dword [ebp - 0x28]
mov cl, byte [edi + ecx]
mov byte [0x101e60b0], cl
mov cl, byte [edi + edx]
mov edx, dword [ebp - 0x28]
mov byte [edi + edx], cl
mov cl, byte [0x101e60b0]
mov esi, dword [0x101e60ac]
mov byte [edi + esi], cl
mov dword [0x101e60a0], 0x2706
mov esi, dword [0x101e60a8]
add esi, 1
mov dword [0x101e60a8], esi
cmp esi, 0x100
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], esi
jl 0x101d8d5d
jmp 0x101d8e40
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101e60a8]
add eax, 1
mov dword [0x101e60a8], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101d8e15
jmp 0x101d8d3f
mov dword [0x101e60a4], 0xe07
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x407c89
Capabilities:
Terminate process

Disassembly:
push ecx
bt eax, ebx
and eax, 0xf1467f6c
pop edi
xor eax, eax
pop esi
leave
ret 0x10
push ebp
jnp 0x407c78
sub esp, 0x44
jbe 0x407c91
adc eax, sym.imp.KERNEL32.dll_GetCommandLineA
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x407cb2
mov al, byte [esi + 1]
inc esi
test al, al
je 0x407caa
cmp al, 0x22
jne 0x407caa
cmp byte [esi], 0x22
jne 0x407cbc
inc esi
jmp 0x407cbc
cmp al, 0x20
jle 0x407cbc
inc esi
cmp byte [esi], 0x20
jg 0x407cb6
mov al, byte [esi]
test al, al
je 0x407cc6
cmp al, 0x20
jle 0x407caf
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00407d36
push 0x401030
dec eax
sub al, 0x10
inc eax
add al, ch
add byte [eax], al
add byte [eax], al
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x407cf6
movzx eax, word [ebp - 0x14]
jmp 0x407cf9
dec edx
or bl, byte [eax + 0x50]
push eax
push esi
push 0
dec edx
add bh, bh
adc eax, sym.imp.KERNEL32.dll_GetModuleHandleA
push eax
call main
mov esi, eax
call fcn.00407d4e
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x67f477f4
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x25ae593e
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x30021a03
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
xor esi, esi
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x30021a4f
mov eax, dword [ebp - 0x18]
cmp eax, 1
je 0x30021a48
jbe 0x30021a71
cmp eax, 3
jbe 0x30021a38
cmp eax, 4
je 0x30021a48
jbe 0x30021a71
cmp eax, 6
ja 0x30021a43
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x30021a0c
cmp eax, 7
jne 0x30021a71
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x30021a71
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x30021a61
call esi
mov esi, eax
jmp 0x30021a71
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
mov eax, esi
pop esi
leave
ret 8

Function at 0x30021a78
Capabilities:
Start service

Disassembly:
push ecx
push ecx
xor eax, eax
cmp dword [esp + 0x10], eax
push ebx
setne al
push ebp
push esi
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x1c]
call fcn.30021a03
mov esi, eax
test esi, esi
mov ebp, 0xffff
mov ebx, 0x80070000
jle 0x30021aae
and esi, ebp
or esi, ebx
test esi, esi
jl 0x30021aef
cmp dword [esp + 0xc], 1
je 0x30021abe
cmp dword [esp + 0xc], 7
jne 0x30021aef
push edi
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x18]
xor edi, edi
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x30021aee
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
sub eax, 0x3e5
je 0x30021af9
sub eax, 0x3b
jne 0x30021afc
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 8
xor edi, edi
inc edi
test esi, esi
jle 0x30021b04
and esi, ebp
or esi, ebx
test edi, edi
jne 0x30021abf
jmp 0x30021aee
Function at 0x5ae99d
Capabilities:
Encode data using xor

Disassembly:
add al, 0x7b
sub al, 0x5a
jbe 0x5aea03
mov eax, 0x47cb6757
dec esi
dec edx
push ebp
push esp
inc ecx
jmp 0x43226b8d
sub dword [eax - 0x31], ebx
call 0x3de0bf53
ret
cwde
inc esi
sub edx, dword [ebx + 0x12]
jg 0x5aea14
sahf
scasb al, byte es:[edi]
inc eax
rcl cl, cl
loop 0x5aea70
invalid
push ebp
push ebp
mov cl, 0xde
add ebp, dword [edi - 0x33ba34a8]
mov eax, dword [0x5c5759b8]
sub eax, 0xb802b67d
jns 0x5aea63
add ebx, ecx
out dx, eax
sub dword [esp + eax*4 + 0x15ee80b], ebx
imul dword [ebx]
jecxz 0x5ae9d5
test byte [esi + 0x2d], bl
mov al, byte [0x5e14bb2b]
aas
rcl ah, 1
xchg edx, eax
sub al, 0x5b
aas
pop ss
xchg ebx, eax
push cs
das
mov dword [0x5669f6bd], eax
cmpsd dword [esi], dword es:[edi]
leave
add eax, 0x1c7f0f3e
sub byte [edi - 0xed5cfa], bh
ret 0x7b50
call 0x9f386a16
xor cl, byte [ebp + 0x2a81383c]
push 0x57
jbe 0x5aea79
dec edi
cmp dword [esi], 0x7a
ret 0xbc49
loopne 0x5aeaa0
frstor dword [edi + 0x7f]
push ss
xchg ebp, eax
bound ebp, qword [esi]
mov esp, 0xb446adb1
call 0x808fc8e
stosb byte es:[edi], al
inc edx
pushfd
les esp, [ebx + 0x41]
ljmp 0xad62
lodsd eax, dword [esi]
aad 0x25
mov fs, word [edi + 0x1e860934]
xor al, 2
jne 0x5aead6
cmp byte [eax - 0x17], 3
mov ch, 0xe3
das
mov eax, dword [0xbd98de9b]
invalid
sub eax, 0xf0a5b91
aaa
inc ebx
or byte [eax + 0x711d42f0], dh
outsb dx, byte ss:[esi]
loop 0x5aeb49
popfd
sub eax, esp
cmp cl, dl
invalid
push ecx
into
adc edx, edi
cmpsb byte [esi], byte es:[edi]
outsd dx, dword [esi]
sbb dl, cl
ljmp 0xc78a

Function at 0x77002d
Capabilities:
Encode data using xor

Disassembly:
xchg ebp, eax
mov dword [ebp - 0x6da59ba0], edx
jnp 0x7700a8
mov eax, 0x4bb27940
adc eax, 0x1ddb0719
push 0x45
das
dec edx
push edi
cli
and eax, 0xdf57d7fb
mov ebp, 0x6f532eae
xor al, 0xac
pop ss
leave
arpl word [0x7d467c14], cx
popal
mov edi, 0xf8259f56
xor dh, byte [ebp + 0x6f57d8a9]
cwde
cmp ebx, esi
arpl word fs:[ebx + 0x56], di
mov ebx, 0xba4af4e5
adc edx, edx
lcall 0xdadb, 0x261f058b
adc al, 0x43
cmp ebx, eax
aam 3
leave
invalid
salc
push 0x56
lcall 0xad25, 0x9ba6aa18
jp 0x7700f2
dec esi
push 0x66
xchg ebx, eax
mov fs, word [edx]
or byte [esi], dh
cli
sub cl, byte [esi]
xchg esp, eax
xor ah, byte [edi]
or dh, byte [esi]
or eax, dword [esi + 0x6a124adf]
imul ebp, ecx, 0xffffffe4
or dword [eax - 0x40254989], 0x3b
push ss
arpl di, dx
mov dword [0x2ad81bea], eax
inc esi
sub byte [edi - 0x8e909e8], dh
not ch
push es
pop edx
fimul dword [0x3c59c664]
inc ecx
pop ecx
ret 0xaa73
and ecx, dword [esi + 0x56e829b2]
ret
Function at 0x402648
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x402656
call dword [0x49b008]
or eax, eax
je 0x402657
ret
mov al, 1
jmp fcn.004026c8

Function at 0x402660
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x40266e
call dword [0x49b00c]
or eax, eax
jne 0x40266f
ret
mov al, 2
jmp fcn.004026c8

Function at 0x402678
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [eax]
test ecx, ecx
je 0x4026b0
test edx, edx
je 0x40269a
push eax
mov eax, ecx
call dword [0x49b010]
pop ecx
or eax, eax
je 0x4026a9
mov dword [ecx], eax
ret
mov al, 2
jmp fcn.004026c8
mov dword [eax], edx
mov eax, ecx
call dword [0x49b00c]
or eax, eax
jne 0x402693
ret
mov al, 1
jmp fcn.004026c8
test edx, edx
je 0x4026c4
push eax
mov eax, edx
call dword [0x49b008]
pop ecx
or eax, eax
je 0x4026a9
mov dword [ecx], eax
ret

Function at 0x4026c8
Capabilities:
Terminate process

Disassembly:
and eax, 0x7f
mov ecx, dword [0x49d004]
test ecx, ecx
je 0x4026d8
pop edx
call ecx
dec eax
mov al, byte [eax + 0x4026f1]
jns 0x4026ec
call fcn.004033bc
mov eax, dword [eax + 4]
jmp fcn.00404e69

Function at 0x402bb8
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x402bd0
mov ecx, dword [eax]
cmp ecx, edx
je 0x402bd0
mov ecx, dword [ecx - 0x14]
test ecx, ecx
jne 0x402bbe
mov al, 0xa
jmp fcn.004026c8
ret

Function at 0x402c00
Capabilities:
Terminate process

Disassembly:
mov eax, 0xd2
jmp fcn.00404e69
push eax
push ecx
mov eax, dword [eax]
call fcn.00402bd4
pop ecx
pop eax
je 0x402c0f
jmp ebx
pop ecx
jmp 0x40283c

Function at 0x403980
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
xor ecx, ecx
cmp al, 0xa
je 0x4039b0
cmp al, 0xc
je 0x4039ba
cmp al, 0xd
je 0x4039cd
cmp al, 0xe
je 0x4039e9
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.004026c8
mov dword [ebx], ecx
add ebx, 4
dec edi
jg 0x4039b0
jmp 0x4039fd
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
add ebx, 0x10
dec edi
jg 0x4039ba
jmp 0x4039fd
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [esi + ebp + 0xa]
call fcn.00403980
dec edi
jg 0x4039d0
pop ebp
jmp 0x4039fd
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.00403958
dec edi
jg 0x4039ec
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x403a04
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.00403980
Function at 0x403a38
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
cmp al, 0xa
je 0x403a66
cmp al, 0xc
je 0x403a7d
cmp al, 0xd
je 0x403a8c
cmp al, 0xe
je 0x403aa8
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.004026c8
cmp ecx, 1
mov eax, ebx
jg 0x403a74
call fcn.00403400
jmp 0x403abc
mov edx, ecx
call fcn.00403420
jmp 0x403abc
mov eax, ebx
add ebx, 0x10
call fcn.004047e0
dec edi
jg 0x403a7d
jmp 0x403abc
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [esi + ebp + 0xa]
call fcn.00403a38
dec edi
jg 0x403a8f
pop ebp
jmp 0x403abc
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.00403a10
dec edi
jg 0x403aab
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x403ac0
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.00403a38

Function at 0x403af4
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
cmp al, 0xa
je 0x403b22
cmp al, 0xc
je 0x403b31
cmp al, 0xd
je 0x403b40
cmp al, 0xe
je 0x403b5c
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.004026c8
mov eax, dword [ebx]
add ebx, 4
call fcn.00403728
dec edi
jg 0x403b22
jmp 0x403b70
mov eax, ebx
add ebx, 0x10
call fcn.004047e8
dec edi
jg 0x403b31
jmp 0x403b70
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [esi + ebp + 0xa]
call 0x403af4
dec edi
jg 0x403b43
pop ebp
jmp 0x403b70
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.00403acc
dec edi
jg 0x403b5f
pop ebp
pop edi
pop esi
pop ebx
ret
mov ecx, 1
jmp 0x403af4

Function at 0x403b74
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
cmp al, 0xa
je 0x403b22
cmp al, 0xc
je 0x403b31
cmp al, 0xd
je 0x403b40
cmp al, 0xe
je 0x403b5c
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.004026c8
mov eax, dword [ebx]
add ebx, 4
call fcn.00403728
dec edi
jg 0x403b22
jmp 0x403b70
mov eax, ebx
add ebx, 0x10
call fcn.004047e8
dec edi
jg 0x403b31
jmp 0x403b70
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [esi + ebp + 0xa]
call 0x403af4
dec edi
jg 0x403b43
pop ebp
jmp 0x403b70
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.00403acc
dec edi
jg 0x403b5f
pop ebp
pop edi
pop esi
pop ebx
ret
mov ecx, 1
jmp 0x403af4
Function at 0x403d6c
Capabilities:
Terminate process

Disassembly:
mov al, 0x10
jmp fcn.004026c8
cmp eax, edx
je 0x403ddc
cmp word [eax], 8
jb 0x403d91
push eax
push edx
cmp word [eax], 0x100
je 0x403d87
push eax
call sub.oleaut32.dll_VariantClear
jmp 0x403d8f
add eax, 8
call fcn.00403400
pop edx
pop eax
cmp word [edx], 8
jae 0x403da8
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
ret
cmp word [edx], 0x100
jne 0x403dc8
mov edx, dword [edx + 8]
or edx, edx
je 0x403dbf
mov ecx, dword [edx - 8]
inc ecx
jle 0x403dbf
mov dword [edx - 8], ecx
mov word [eax], pe_nt_image_headers32
mov dword [eax + 8], edx
ret
mov word [eax], 0
push edx
push eax
call sub.oleaut32.dll_VariantCopyInd
or eax, eax
jne 0x403d30
ret

Function at 0x4044f4
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov edi, eax
mov esi, edx
mov ebx, ecx
mov eax, dword [edi]
mov edx, dword [esi]
and eax, 0xfff
and edx, 0xfff
cmp eax, 0x11
jbe 0x4042d1
cmp eax, 0x100
jne 0x404323
mov eax, 8
cmp edx, 0x11
jbe 0x4042e3
cmp edx, 0x100
jne 0x404323
mov edx, 8
mov al, byte [eax + 0x49b01c]
mov dl, byte [edx + 0x49b01c]
movzx ecx, byte [edx + eax*8 + 0x49b030]
call dword [ecx*4 + 0x404302]
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp 0x403d30
mov ecx, 0
jmp 0x4042a8

Function at 0x404500
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp 0x4042a8

Function at 0x40450c
Capabilities:
Terminate process

Disassembly:
mov ecx, 2
jmp 0x4042a8

Function at 0x406340
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, ebx
mov eax, esp
call fcn.0040632c
add esp, 0x104
pop ebx
ret
Function at 0x4073f4
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x424], ecx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x407638
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00403494
cmp dword [0x49b0dc], 1
je 0x407475
mov dword [ebp - 0x14], 0x400
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x420]
push eax
push 1
mov eax, dword [ebp - 4]
call fcn.00403738
push eax
call sub.mpr.dll_WNetGetUniversalNameA
test eax, eax
jne 0x40761a
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x420]
mov edx, dword [edx]
call fcn.0040352c
jmp 0x40761a
mov eax, dword [ebp - 4]
mov al, byte [eax]
call fcn.004027b4
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], 0x41
jb 0x40761a
cmp byte [ebp - 0x15], 0x5a
ja 0x40761a
mov eax, dword [ebp - 4]
call fcn.00403574
cmp eax, 3
jl 0x40761a
mov eax, dword [ebp - 4]
cmp byte [eax + 1], 0x3a
jne 0x40761a
mov eax, dword [ebp - 4]
cmp byte [eax + 2], 0x5c
jne 0x40761a
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 1
push 1
call sub.mpr.dll_WNetOpenEnumA
test eax, eax
jne 0x40761a
xor edx, edx
push ebp
push 0x407613
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 0x10], 0x640
mov eax, dword [ebp - 0x10]
call fcn.00402648
mov dword [ebp - 0x20], eax
xor edx, edx
push ebp
push 0x4075f5
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.mpr.dll_WNetEnumResourceA
cmp eax, 0xea
jne 0x407544
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x10]
call fcn.00402678
jmp 0x407508
test eax, eax
je 0x407557
call fcn.004031bc
call fcn.004031bc
jmp 0x40761a
mov esi, dword [ebp - 0xc]
dec esi
test esi, esi
jl 0x407508
inc esi
xor edi, edi
mov eax, edi
shl eax, 2
mov edx, dword [ebp - 0x20]
lea ebx, [edx + eax*8]
cmp dword [ebx + 0x10], 0
je 0x4075d3
mov eax, dword [ebx + 0x10]
mov al, byte [eax]
call fcn.004027b4
cmp al, byte [ebp - 0x15]
jne 0x4075d3
lea eax, [ebp - 0x424]
push eax
mov eax, dword [ebp - 4]
call fcn.00403574
mov ecx, eax
sub ecx, 2
mov edx, 3
mov eax, dword [ebp - 4]
call fcn.00403778
mov eax, dword [ebp - 0x424]
push eax
lea eax, [ebp - 0x428]
mov edx, dword [ebx + 0x14]
call fcn.0040352c
mov edx, dword [ebp - 0x428]
mov eax, dword [ebp - 8]
pop ecx
call fcn.004035c0
call fcn.004031bc
call fcn.004031bc
jmp 0x40761a
inc edi
dec esi
jne 0x407562
jmp 0x407508
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40763f
lea eax, [ebp - 0x428]
mov edx, 2
call fcn.00403420
ret

Function at 0x4076d0
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push esp
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004034e0
add esp, 0x104
pop ebx
ret
Function at 0x4089b8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x4089f1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004034e0
jmp 0x4089fa
mov eax, ebx
mov edx, esi
call fcn.00403494
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x408a04
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x408a25
mov al, byte [esp]
jmp 0x408a27
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4114c0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00403400
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x411521
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x411521
cmp byte [ebp - 0x102], 0
je 0x411521
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.0040355c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x412760
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x24], 0
je 0x4127e1
xor eax, eax
mov al, byte [ebx + 4]
mov word [ebp - 6], ax
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x412792
add word [ebp - 6], 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4127a4
add word [ebp - 6], 0x4000
test byte [ebx + 0xb], 0x20
je 0x4127b0
add word [ebp - 6], 0x8000
xor ebx, ebx
movzx edx, word [ebp - 6]
mov cl, 2
mov eax, dword [ebp - 0xc]
call fcn.00412638
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4127d5
push ebp
mov eax, dword [ebp - 4]
call fcn.004126d4
pop ecx
mov ebx, eax
cmp bl, 2
je 0x4127b0
cmp dword [ebp - 4], 0
setne al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x419f54
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x419f5a
ret