joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40279c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x41c00c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402834
push 0x80000002
call fcn.00401068
test eax, eax
jne 0x402814
xor eax, eax
push ebp
push 0x40280d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402850
mov eax, dword [ebp - 4]
push eax
call fcn.00401070
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402814
mov eax, dword [ebp - 4]
push eax
call fcn.00401060
ret
mov ax, word [0x41c00c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x41c00c], ax
mov esp, ebp
pop ebp
ret

Function at 0x4044a8
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4045b2
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
jne 0x4044fb
push 0x105
lea eax, [ebp - 0x109]
push eax
push 0
call fcn.004039a8
mov ecx, eax
lea edx, [ebp - 0x109]
mov eax, dword [ebp - 4]
call fcn.004030e8
jmp 0x404599
call fcn.00403988
mov ebx, eax
mov eax, ebx
call fcn.0040445c
mov ebx, eax
mov edi, ebx
mov eax, ebx
call fcn.0040447c
mov ebx, eax
test esi, esi
je 0x404523
dec esi
test esi, esi
jl 0x404523
cmp edi, ebx
jne 0x404502
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x110]
mov edx, edi
call fcn.00403128
mov eax, dword [ebp - 0x110]
mov ecx, ebx
sub ecx, edi
mov edx, 1
call fcn.004033d4
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040317c
cmp eax, 2
jl 0x404599
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp byte [eax], 0x22
jne 0x404599
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040317c
mov edx, dword [ebp - 4]
mov edx, dword [edx]
cmp byte [edx + eax - 1], 0x22
jne 0x404599
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040317c
mov ecx, eax
sub ecx, 2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 2
call fcn.004033d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4045b9
lea eax, [ebp - 0x110]
call fcn.00402ff8
ret

Function at 0x404660
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4046ca
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x105
lea eax, [ebp - 0x105]
push eax
call fcn.004039c8
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x105]
call fcn.00403128
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.00404648
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4046d1
lea eax, [ebp - 0x10c]
call fcn.00402ff8
ret
Function at 0x404778
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push esi
add esp, 0xfffffff4
mov esi, edx
mov ebx, eax
mov dword [esp + 8], 4
xor eax, eax
mov dword [esp], eax
test ebx, ebx
je 0x4047bc
lea eax, [esp + 8]
push eax
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
push 0
mov eax, esi
call fcn.0040337c
push eax
push ebx
call fcn.00403940
test eax, eax
jne 0x4047bc
cmp dword [esp + 4], 4
je 0x4047c1
xor eax, eax
mov dword [esp], eax
mov eax, dword [esp]
add esp, 0xc
pop esi
pop ebx
ret

Function at 0x4047cc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
add eax, 0xfffffff8
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
push eax
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
call fcn.0040337c
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push eax
call fcn.00403940
test eax, eax
sete al
pop ebp
ret

Function at 0x404958
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov esi, edx
mov ebx, eax
test ebx, ebx
je 0x404985
lea eax, [esp + 4]
push eax
push 0
lea eax, [esp + 8]
push eax
push 0
mov eax, esi
call fcn.0040337c
push eax
push ebx
call fcn.00403940
test eax, eax
je 0x404989
xor eax, eax
jmp 0x40498b
mov al, 1
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x404a08
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x404ac8
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00409aa4
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0
push edi
call fcn.00403938
test eax, eax
jne 0x404ab2
cmp dword [ebp - 8], 0
jbe 0x404ab0
mov eax, dword [ebp - 8]
inc eax
call fcn.00402438
mov ebx, eax
xor esi, esi
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], eax
jmp 0x404a8e
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00403128
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00409a94
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], eax
inc esi
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push edi
call fcn.00403920
cmp eax, 0x103
jne 0x404a71
mov eax, ebx
call fcn.00402458
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404acf
lea eax, [ebp - 0x10]
call fcn.00402ff8
ret
Function at 0x404ad8
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x404b98
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00409aa4
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push edi
call fcn.00403938
test eax, eax
jne 0x404b82
cmp dword [ebp - 8], 0
jbe 0x404b80
mov eax, dword [ebp - 8]
inc eax
call fcn.00402438
mov ebx, eax
xor esi, esi
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], eax
jmp 0x404b5e
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00403128
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00409a94
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], eax
inc esi
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push edi
call fcn.00403928
cmp eax, 0x103
jne 0x404b41
mov eax, ebx
call fcn.00402458
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404b9f
lea eax, [ebp - 0x10]
call fcn.00402ff8
ret
Function at 0x406728
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 0x10]
xor eax, eax
push ebp
push 0x40688b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov ebx, 0x10
test esi, esi
jne 0x406765
or ebx, 0x8000000
lea eax, [ebp - 0x54]
xor ecx, ecx
mov edx, 0x44
call fcn.00402610
mov dword [ebp - 0x54], 0x44
mov word [ebp - 0x24], si
mov dword [ebp - 0x28], 1
cmp dword [ebp + 8], 0
je 0x406793
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
xor esi, esi
cmp dword [ebp - 8], 0
je 0x4067a5
mov eax, dword [ebp - 8]
call fcn.0040337c
mov esi, eax
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00403090
mov edx, dword [ebp - 0x10]
mov eax, 0x4068a8
call fcn.0040345c
test eax, eax
jle 0x4067ec
mov edx, dword [ebp - 0x10]
mov eax, 0x4068b4
call fcn.0040345c
test eax, eax
jg 0x4067ec
push 0x4068b4
push dword [ebp - 0x10]
push 0x4068b4
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0040323c
cmp dword [ebp - 0x10], 0
je 0x406803
test edi, edi
je 0x406803
lea eax, [ebp - 0x10]
mov edx, 0x4068a8
call fcn.00403184
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push 0
push ebx
push 0
push 0
push 0
lea eax, [ebp - 0x68]
mov ecx, edi
mov edx, dword [ebp - 0x10]
call fcn.004031c8
mov eax, dword [ebp - 0x68]
call fcn.0040337c
push eax
push 0
call fcn.00403970
test eax, eax
je 0x40686d
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0x64]
push eax
call fcn.004039f8
test eax, eax
jne 0x406856
mov eax, dword [ebp - 0x64]
push eax
call fcn.00403950
mov byte [ebp - 9], 1
jmp 0x406864
cmp dword [ebp + 8], 0
je 0x406864
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x64]
mov dword [eax], edx
mov eax, dword [ebp - 0x60]
push eax
call fcn.00403950
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406892
lea eax, [ebp - 0x68]
call fcn.00402ff8
lea eax, [ebp - 0x10]
call fcn.00402ff8
ret

Function at 0x4079e4
Capabilities:
Get file attributes

Disassembly:
call fcn.00403ea0
push eax
call fcn.00403998
inc eax
je 0x4079f8
dec eax
and al, 0x10
sete al
ret

Function at 0x408d90
Capabilities:
Hide graphical window

Disassembly:
and byte [eax + 0x37], 0xef
test dl, dl
je 0x408d9c
or byte [eax + 0x37], 0x10
mov byte [eax + 0x52], dl
mov ecx, dword [eax + 0x28]
jecxz 0x408db8
push eax
je 0x408db9
call dword [0x41c12c]
pop eax
push 5
push dword [eax + 0x28]
call fcn.00403c80
ret
mov byte [eax + 0x177], dl
push 0
push ecx
call fcn.00403c80
pop eax
call dword [0x41c12c]
ret
Function at 0x414254
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
mov edi, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0040336c
xor eax, eax
push ebp
push 0x41436a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040337c
mov esi, eax
push esi
call fcn.00403a08
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x414347
mov eax, dword [ebp - 8]
call fcn.00407964
mov ebx, eax
push ebx
mov eax, dword [ebp - 8]
push eax
push 0
push esi
call fcn.00403a00
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x414378
push ebx
call fcn.00403a10
push 0x41439c
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
movzx eax, word [eax]
mov edx, 4
call fcn.00407754
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00403ca8
movzx eax, ax
lea ecx, [ebp - 0x20]
mov edx, 4
call fcn.00407754
push dword [ebp - 0x20]
push 0x4143b8
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.0040323c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
call fcn.0040337c
push eax
push ebx
call fcn.00403a10
test eax, eax
je 0x41433d
mov eax, edi
mov edx, dword [ebp - 0x10]
call fcn.00403128
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00402458
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414371
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.0040301c
lea eax, [ebp - 4]
call fcn.00402ff8
ret
Function at 0x414524
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0xc], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0040336c
xor eax, eax
push ebp
push 0x414689
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.0040304c
lea eax, [ebp - 0x110]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004033d4
mov eax, dword [ebp - 0x110]
mov edx, 0x4146a0
call fcn.004032c8
jne 0x41465b
lea ecx, [ebp - 0x114]
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.004078d4
mov edx, dword [ebp - 0x114]
lea eax, [ebp - 4]
call fcn.00403090
lea ecx, [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 0x4146ac
call fcn.00404390
mov eax, dword [ebp - 4]
call fcn.00407828
neg eax
mov dword [ebp - 8], eax
mov eax, 0x105
call fcn.00407964
mov ebx, eax
push 0x104
push ebx
mov eax, dword [ebp - 0xc]
call fcn.0040337c
push eax
call fcn.00403978
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00403128
mov eax, dword [ebp - 0x118]
call fcn.004079e4
test al, al
je 0x41464d
push ebx
call fcn.004039d8
mov edi, eax
push 0xfe
lea eax, [ebp - 0x10b]
push eax
mov eax, dword [ebp - 8]
push eax
push edi
call fcn.00403c00
push edi
call fcn.00403980
mov eax, esi
lea edx, [ebp - 0x10b]
mov ecx, 0xff
call fcn.00403164
jmp 0x414654
mov eax, esi
call fcn.00402ff8
mov eax, ebx
call fcn.00402458
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414690
lea eax, [ebp - 0x118]
mov edx, 3
call fcn.0040301c
lea eax, [ebp - 0xc]
call fcn.00402ff8
lea eax, [ebp - 4]
call fcn.00402ff8
ret
Function at 0x41b0e4
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0040336c
lea esi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x41b255
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.0040a684
mov ebx, eax
mov dword [esi], 0x128
mov edx, esi
mov eax, ebx
call fcn.0040a6a4
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x41b227
lea eax, [ebp - 0x138]
lea edx, [esi + 0x24]
mov ecx, 0x104
call fcn.00403164
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00407a18
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.004078ac
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, 0x41b26c
call fcn.004078ac
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.004032c8
je 0x41b203
lea eax, [ebp - 0x144]
lea edx, [esi + 0x24]
mov ecx, 0x104
call fcn.00403164
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.004078ac
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.004078ac
mov edx, dword [ebp - 0x148]
pop eax
call fcn.004032c8
jne 0x41b218
push 0
mov eax, dword [esi + 8]
push eax
push 0
push 1
call fcn.004039e0
push eax
call fcn.004039f0
mov edx, esi
mov eax, ebx
call fcn.0040a6c4
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x41b162
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41b25c
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.0040301c
lea eax, [ebp - 4]
call fcn.00402ff8
ret

Function at 0x407880
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4078ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040de60
add esp, 4
or eax, 0xffffffff
jmp 0x4078da
mov ecx, dword [ebp - 4]
and ecx, 1
test ecx, ecx
je 0x4078d8
mov edx, dword [ebp + 0xc]
and edx, 2
test edx, edx
je 0x4078d8
mov dword [0x439ee8], 0xd
mov dword [0x439eec], 5
or eax, 0xffffffff
jmp 0x4078da
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x410500
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47590b
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.0046a1c3
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x410582
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00467a50
mov eax, dword [eax]
push 0x4a3220
push eax
call fcn.00459d94
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046a44e
test bl, bl
je 0x410582
push 0x4a3220
lea ecx, [esp + 0xc]
call fcn.0046a7de
push 0x4a6d94
lea ecx, [esp + 0xc]
call fcn.0046a7de
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 0x4105be
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046a44e
jmp 0x410689
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 0x410642
lea edx, [esp + 0x7c]
push 0x4a6d90
push edx
call fcn.00459d94
add esp, 8
test eax, eax
je 0x410642
lea eax, [esp + 0x7c]
push 0x4a6d8c
push eax
call fcn.00459d94
add esp, 8
test eax, eax
je 0x410642
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 0x4105d2
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.0046a44e
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 0x410e80
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 0x410ee2
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 0x410ef0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47598b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4ad54c]
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 0x411028
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x410f56
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046a44e
xor eax, eax
jmp 0x41109f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0046a58b
push esi
lea ecx, [esp + 0xc]
call fcn.0046a81a
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 0x41107d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00410e80
test eax, eax
jne 0x41107d
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 accept
mov ecx, edi
call fcn.00410e80
test eax, eax
jne 0x41107d
lea eax, [esp + 0x14]
push 0x4a6da8
push eax
call fcn.0045add0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41105c
lea ecx, [esp + 0x14]
push 0x4a6da4
push ecx
call fcn.0045ad50
mov esi, eax
add esp, 8
test esi, esi
jne 0x41105c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41105f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0046a53b
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x410f6e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046a44e
xor eax, eax
jmp 0x41109f
mov byte [esi], 0
push 0x4a6da0
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.0046a44e
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 0x4230a0
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 0x42310e
cmp si, 0x69
ja 0x42310e
add esi, 0xffd0
cmp si, 0x11
je 0x4230de
push 0x11
call edi
test ax, ax
jge 0x4230de
or esi, 0x2000
cmp si, 0x10
je 0x4230f3
push 0x10
call edi
test ax, ax
jge 0x4230f3
or esi, 0x4000
cmp si, 0x12
je 0x423108
push 0x12
call edi
test ax, ax
jge 0x423108
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42311b
mov esi, 0xbd
jmp 0x4230cf
cmp si, 0x6e
jne 0x423128
mov esi, 0xbe
jmp 0x4230cf
cmp si, 0x6f
jne 0x4230c9
mov esi, 0xbf
jmp 0x4230cf

Function at 0x4248d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4bdda0]
xor edx, edx
cmp eax, edx
jne 0x4248f6
xor eax, eax
mov byte [eax + 0x4bdca0], al
inc eax
cmp eax, 0x100
jl 0x4248de
mov dword [0x4bdda0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4bdca0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x424987
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 0x42495a
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 0x424928
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x424a00
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 0x424a53
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 0x424a3a
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