joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4087f0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448f3d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x464
push ebx
push esi
push edi
mov dword [ebp - 4], 0
push dword [ebp + 8]
push ecx
mov esi, esp
mov dword [ebp - 0x18], esi
call fcn.00401620
mov ecx, eax
test ecx, ecx
je 0x4089a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.a0NKST0405ORNB1bWA
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004038c0
test al, al
jne 0x40885c
push 0x13
push str.a0NKST0405ORNB1bWA
mov ecx, esi
call fcn.00403de0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.004023d0
add esp, 4
push dword [eax]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov edx, dword [ebp - 0x14]
or ebx, 0xffffffff
add esp, 0xc
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40889a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x408970
lea esp, [esp]
lea eax, [ebp - 0x440]
push eax
push dword [ebp + 8]
push ecx
mov esi, esp
mov dword [ebp - 0x18], esi
call fcn.00401620
test eax, eax
je 0x4089a0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.bzlRDckpOCIi5KfTiI
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004038c0
test al, al
jne 0x40890b
push 0x13
push str.bzlRDckpOCIi5KfTiI
mov ecx, esi
call fcn.00403de0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.004023d0
add esp, 4
push dword [eax]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov edx, dword [ebp - 0x14]
add esp, 0x10
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408946
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x46c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4088c0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x40898f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004013f0
int3
Function at 0x414e60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf000]
push edi
jmp 0x414e7a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x414e81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414e70
mov eax, 1
add ebx, ebx
jne 0x414e93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x414e88
jne 0x414ea4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414e88
xor ecx, ecx
sub eax, 3
jb 0x414eb8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x414f2a
mov ebp, eax
add ebx, ebx
jne 0x414ec3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x414ed0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x414ef4
inc ecx
add ebx, ebx
jne 0x414ee0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x414ed5
jne 0x414ef1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414ed5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x414f14
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x414f05
jmp 0x414e76
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x414f14
add edi, ecx
jmp 0x414e76
pop esi
mov edi, esi
mov ecx, 0x5a7
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x414f32
cmp byte [edi], 5
jne 0x414f32
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x414f37
lea edi, [esi + 0x12000]
mov eax, dword [edi]
or eax, eax
je 0x414fa6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x15454]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1551c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x414f64
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x15520]
or eax, eax
je 0x414fa0
mov dword [ebx], eax
add ebx, 4
jmp 0x414f81
call dword [esi + 0x15530]
mov ebp, dword [esi + 0x15524]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x414fda
sub esp, 0xffffff80
jmp 0x40a764

Function at 0x40893d
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x4085d8
and eax, ecx
mov eax, 0xd784c7a5
call fcn.0040895e
xor dword [esi], ebx
add ecx, 0xcc531faa
and ecx, ecx
inc esi
cmp esi, edx
jne fcn.0040893d
ret
Function at 0x408947
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
pop edi
call fcn.00408967
xor dword [esi], edi
mov edx, ebx
and ebx, ebx
inc esi
add ebx, edx
dec edx
cmp esi, ecx
jne fcn.00408947
add edx, edx
or ebx, ebx
ret
Function at 0x408953
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x4085d8
inc ecx
and edx, ecx
call fcn.0040896f
xor dword [eax], ebx
sub esp, 4
mov dword [esp], edx
pop edx
inc eax
cmp eax, edi
jne fcn.00408953
ret

Function at 0x46ec02
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
sub esp, 0x44
mov edi, esp
sub eax, eax
mov ecx, 0x11
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
lea edi, [esp]
mov eax, dword [esi + ecx*4 - 4]
cdq
mov dword [esp + 0x40], edx
clc
lodsd eax, dword [esi]
pushfd
xor eax, edx
popfd
sbb eax, edx
stosd dword es:[edi], eax
loop 0x46ec29
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
lea edi, [esp + 0x10]
mov eax, dword [esi + ecx*4 - 4]
cdq
xor dword [esp + 0x40], edx
clc
lodsd eax, dword [esi]
pushfd
xor eax, edx
popfd
sbb eax, edx
stosd dword es:[edi], eax
loop 0x46ec47
mov cl, byte [ebp + 0xc]
mov ch, byte [ebp + 0x14]
lea esi, [esp]
lea edi, [esp + 0x10]
lea ebx, [esp + 0x20]
cmp cl, ch
jae 0x46ec6a
xchg ch, cl
xchg edi, esi
push ebx
push esi
push ebx
push edi
push ecx
mov edi, dword [edi]
or edi, edi
je 0x46ec94
lodsd eax, dword [esi]
or eax, eax
je 0x46ec8d
mul edi
add dword [ebx], eax
adc dword [ebx + 4], edx
jae 0x46ec8d
adc dword [ebx + 8], 0
jae 0x46ec8d
adc dword [ebx + 0xc], 0
add ebx, 4
dec cl
jne 0x46ec75
pop eax
mov cl, al
pop edi
pop ebx
pop esi
add edi, 4
add ebx, 4
dec ch
jne 0x46ec6b
pop ebx
mov ecx, dword [ebp + 0x1c]
lea esi, [esp + 0x20]
mov edi, dword [ebp + 0x18]
mov edx, dword [esp + 0x40]
clc
lodsd eax, dword [esi]
pushfd
xor eax, edx
popfd
sbb eax, edx
stosd dword es:[edi], eax
loop 0x46ecb4
add esp, 0x44
pop ebx
pop edi
pop esi
leave
ret 0x18
Function at 0x402bc0
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x408e58]
push ebx
push esi
mov esi, edx
push edi
mov edi, ecx
test eax, eax
jne 0x402be5
mov ecx, dword [0x408ed0]
mov edx, 0x40895c
call fcn.004040b0
mov dword [0x408e58], eax
push 0
push esi
push edi
call eax
mov eax, dword [0x408e6c]
add esp, 0xc
test eax, eax
jne 0x402c0c
mov ecx, dword [0x408ed0]
mov edx, 0x40874c
call fcn.004040b0
mov dword [0x408e6c], eax
push 0x40816c
call eax
mov esi, eax
add esp, 4
test esi, esi
je 0x402cd4
mov eax, dword [0x408e90]
test eax, eax
jne 0x402c3e
mov ecx, dword [0x408ed0]
mov edx, 0x4086b0
call fcn.004040b0
mov dword [0x408e90], eax
push 0
push 0
push 0x40803c
call eax
mov ebx, dword [str._MessageBox]
mov edi, eax
mov eax, dword [0x408ef4]
add esp, 0xc
test eax, eax
jne 0x402c72
mov ecx, dword [0x408ed0]
mov edx, 0x4086c4
call fcn.004040b0
mov dword [0x408ef4], eax
push edi
push ebx
push esi
call eax
mov eax, dword [0x408e90]
add esp, 0xc
test eax, eax
jne 0x402c98
mov ecx, dword [0x408ed0]
mov edx, 0x4086b0
call fcn.004040b0
mov dword [0x408e90], eax
push 0
push 0
push 0x40804c
call eax
mov ebx, dword [str._SHGetSpecialFolderPath]
mov edi, eax
mov eax, dword [0x408ef4]
add esp, 0xc
test eax, eax
jne 0x402ccc
mov ecx, dword [0x408ed0]
mov edx, 0x4086c4
call fcn.004040b0
mov dword [0x408ef4], eax
push edi
push ebx
push esi
call eax
add esp, 0xc
call fcn.00402700
push 0x408310
mov edi, eax
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
je 0x402d5d
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push 0
call esi
mov ebx, eax
add esp, 4
mov eax, dword [0x408ea8]
test eax, eax
jne 0x402d1a
mov ecx, dword [0x408ed0]
mov edx, 0x408a38
call fcn.004040b0
mov dword [0x408ea8], eax
push 0x408308
push ebx
call eax
add esp, 8
test eax, eax
je 0x402d5d
push 0
call esi
mov esi, eax
add esp, 4
mov eax, dword [0x408f24]
test eax, eax
jne 0x402d50
mov ecx, dword [0x408ed0]
mov edx, 0x408a1c
call fcn.004040b0
mov dword [0x408f24], eax
push 0
push 0x408300
push esi
call eax
add esp, 0xc
mov eax, dword [0x408e54]
test eax, eax
jne 0x402d7b
mov ecx, dword [0x408ed0]
mov edx, 0x4089b8
call fcn.004040b0
mov dword [0x408e54], eax
call eax
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x1000e5de
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1000e681
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1000e672
mov dword [ebp - 0xc], 0x1c8b
cmp dword [ebp - 0xc], 0x909
jge 0x1000e668
lea eax, [ebp - 4]
push eax
push 0x10007684
call fcn.10049acb
pop ecx
pop ecx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 4], eax
cmp dword [ebp - 0x10], 0
je 0x1000e668
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x1000769c
call fcn.10049acb
add esp, 0xc
cmp dword [ebp - 0x14], 0
jne 0x1000e65b
push 0x100076ec
call fcn.10049fd6
pop ecx
jmp 0x1000e666
push 0x100076f0
call fcn.10049fd6
pop ecx
jmp 0x1000e620
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
jmp 0x1000e67f
push 1
push 0x1822
call dword [sym.imp.USER32.dll_FlashWindow]
jmp 0x1000e6b1
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x18]
push 0x1e00
push 0
push 0xd49
push 0x45e0
push dword [ebp - 0x1c]
push 0x23e4
call fcn.100129bb
add esp, 0x1c
mov esp, ebp
pop ebp
ret

Function at 0x10011acd
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10011af5
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
push 0x50a6
push 1
push dword [ebp - 4]
call fcn.10011b68
add esp, 0xc
jmp 0x10011b64
lea eax, [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10011b58
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.10013dd5
mov ecx, dword [ebp - 0x30]
mov cl, byte [ecx]
mov byte [eax], cl
jmp 0x10011b64
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esp, ebp
pop ebp
ret
Function at 0x10011ea8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10011ee9
lea eax, [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10011edc
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10011eda
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
jmp 0x10011ee7
push 0x244e
call dword [sym.imp.USER32.dll_MessageBeep]
jmp 0x10011f11
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
push 0x7a6c
push 0
push 0x21d5
mov eax, dword [ebp - 0xc]
push dword [eax]
push dword [ebp - 0x10]
call fcn.1000e188
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x10017de0
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10017e09
push 0x6f6f
push 0x64c7
push 1
push 0x7c39
call fcn.10017e59
add esp, 0x10
jmp 0x10017e55
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10017e35
mov byte [ebp - 1], 0
push 0
push 0
lea eax, [ebp - 1]
push eax
call fcn.10017de0
add esp, 0xc
jmp 0x10017e55
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x10017e55
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov esp, ebp
pop ebp
ret

Function at 0x10019e16
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10060f3f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10019e94
lea eax, [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x10019e65
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x10019e63
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
jmp 0x10019e8f
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x10019e8f
push 0
push 0x2642
push 0
push 0x54f
call dword [sym.imp.GDI32.dll_SetWinMetaFileBits]
jmp 0x10019f37
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x10019ec2
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0xfffffff4
jne 0x10019f37
mov dword [ebp - 0x3c], 0xeede0b40
mov dword [ebp - 0x30], 0xc6fe23a2
mov dword [ebp - 0x38], 0xfffffffa
push 2
lea ecx, [ebp - 0x4c]
call fcn.10013a9c
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
call fcn.10017967
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
push 0
push dword [ebp - 0x34]
lea eax, [ebp - 0x4c]
push eax
push 0x473
push 0x9a7
push dword [ebp - 0x14]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.10017af8
add esp, 0x24
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.10013af8
jmp 0x10019eb7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1001c770
Capabilities:
Query environment variable
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x1001c7bd
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
push dword [ebp - 4]
push 0x343f
push 0x7f82
push 0x2c2e
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0
push dword [ebp - 0x10]
call fcn.1002a50e
add esp, 0x20
jmp 0x1001c801
lea eax, [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x1001c7f5
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x1001c7f3
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x1001c801
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esp, ebp
pop ebp
ret
Function at 0x1002c545
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100613de
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002c6bb
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x1002c6ad
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
mov eax, dword [0x1060995c]
and eax, 1
jne 0x1002c5e4
mov eax, dword [0x1060995c]
or eax, 1
mov dword [0x1060995c], eax
and dword [ebp - 4], 0
mov ecx, 0x10609968
call fcn.10013d81
push 0x10061bb6
call fcn.10049d89
pop ecx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
imul eax, dword [eax], 0x3e8
mov ecx, dword [ebp - 0x18]
add eax, dword [ecx]
mov dword [ebp - 0x1c], eax
movzx eax, byte [0x106098a9]
test eax, eax
je 0x1002c656
mov ecx, 0x10609968
call fcn.1002c9c7
movzx eax, al
test eax, eax
jne 0x1002c656
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x10609968
call fcn.10013be8
lea eax, [ebp - 0x50]
push eax
mov ecx, 0x10609968
call fcn.10013bda
push eax
lea ecx, [ebp - 0x10]
call fcn.10013e38
movzx eax, al
test eax, eax
je 0x1002c656
lea ecx, [ebp - 0x10]
call fcn.1002c9d0
mov ecx, dword [ebp - 0x20]
mov eax, dword [eax + 4]
mov dword [ecx], eax
jmp 0x1002c6f8
push dword [ebp - 0x14]
call fcn.1001ca2e
pop ecx
mov dword [ebp - 0x3c], eax
push 1
mov eax, dword [ebp - 0x18]
push dword [eax]
push 0
push dword [ebp - 0x3c]
call fcn.10020060
add esp, 0x10
mov dword [ebp - 0x24], eax
push 0x2cc8
push 1
push 0x106098a9
push 0x1468
lea eax, [ebp - 0x1c]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push 0x10609968
call fcn.1002a80f
add esp, 0x20
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
jmp 0x1002c6f8
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
jmp 0x1002c6f8
lea eax, [ebp + 0x20]
mov dword [ebp - 0x48], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
push 0x2910
push dword [ebp - 0x40]
mov eax, dword [ebp - 0x44]
push dword [eax]
mov eax, dword [ebp - 0x48]
push dword [eax]
push 0x2d8b
push 0x37b6
push 1
push 0x1cdf
call fcn.1002a50e
add esp, 0x20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1002e719
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x1002e78d
lea eax, [ebp + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x1002e753
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
jmp 0x1002e78b
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
add ecx, dword [eax + 0x10]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov dword [eax], ecx
jmp 0x1002e7bc
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
push dword [ebp - 0x2c]
push 0x112b
push 0x3c94
push 0
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.10035304
add esp, 0x18
mov esp, ebp
pop ebp
ret
Function at 0x1002eb1a
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1002ebb3
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1002eb71
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x1002eb6f
push 0
push 0xe8e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
jmp 0x1002ebb1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x1002ebb1
push 0x32c
push 0
push 0
push 0x1873
push 0x5494
push 0x5fc
push 0x2119
push 0x2223
call fcn.100347a2
add esp, 0x20
jmp 0x1002ec2f
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x1002ebe4
push 0
push 0
push 0xfdb
push 0
push 0
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
jmp 0x1002ec2f
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1002ec12
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x1002ec2f
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x38]
call fcn.10013b14
mov dword [eax], 0x277ebd00
jmp 0x1002ec07
mov esp, ebp
pop ebp
ret