joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423592
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x444e28]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4235d2
cmp byte [ebx], 0xa
jne 0x4235d2
or byte [eax + edi + 0x28], 4
jmp 0x4235d7
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4236d5
mov al, byte [edx]
cmp al, 0x1a
je 0x4236b7
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x423606
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x42362b
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x423635
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x4235e8
jmp 0x4236d5
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4236b2
cmp dword [ebp - 0xc], 0
je 0x4236b2
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x444e28]
test byte [eax + edi + 0x28], 0x48
je 0x42368c
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x423677
mov byte [esi], dl
jmp 0x423688
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x444e28]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4236d5
cmp byte [ebp - 1], 0xa
jne 0x42369b
cmp esi, ebx
jne 0x42369b
mov byte [esi], 0xa
jmp 0x4236d4
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00424112
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4236d5
mov byte [esi], 0xd
jmp 0x4236d4
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x444e28]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4236d1
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4236d5
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4236de
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x444e28]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x423721
cmp word [esi], dx
jne 0x423721
or byte [edi + eax + 0x28], 4
jmp 0x423726
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x423879
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x423859
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x423768
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x42379e
cmp eax, edx
jae 0x4237aa
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x423740
jmp 0x423879
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x423855
cmp dword [ebp - 0x14], 0
je 0x423855
mov eax, dword [ebx*4 + 0x444e28]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x42382d
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4237f6
mov word [esi], cx
jmp 0x423829
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x444e28]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x444e28]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x444e28]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x423879
pop ebx
cmp word [ebp - 4], bx
jne 0x42383e
cmp esi, dword [ebp + 0xc]
jne 0x42383e
mov word [esi], bx
jmp 0x423876
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00424112
add esp, 0x10
cmp word [ebp - 4], bx
je 0x423879
push 0xd
jmp 0x423872
mov ecx, dword [ebx*4 + 0x444e28]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x423870
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x423879
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x42995d
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x4299fa
push ebx
push esi
call fcn.00429926
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.004285ab
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4299a7
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4299f9
push edi
push eax
call fcn.00424d5a
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4299c7
call fcn.00421030
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4299f8
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004285ab
add esp, 0x20
test eax, eax
jne 0x4299e6
push edi
call fcn.00421030
jmp 0x4299ee
push ebx
call fcn.00421030
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x430ee0
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00430e5c
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x431058
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x431058
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x431007
jg 0x430f39
test eax, eax
je 0x430ffd
push 1
push 0x1000
call fcn.0042106a
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x430f5f
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x430ff4
push 0x8000
push ebx
call fcn.0041e41d
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x430f8b
jg 0x430f86
cmp ecx, 0x1000
jb 0x430f8b
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00422974
add esp, 0x10
cmp eax, 0xffffffff
je 0x430fd0
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x430f86
jl 0x430fb7
test ecx, ecx
jne 0x430f78
push dword [ebp - 0xc]
push ebx
call fcn.0041e41d
push esi
call fcn.00421030
add esp, 0xc
xor edi, edi
jmp 0x431069
cmp byte [edi + 0x24], 0
je 0x430fe7
cmp dword [edi + 0x20], 5
jne 0x430fe7
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x430ff2
mov edi, dword [edi + 0x18]
jmp 0x430ff4
xor edi, edi
push esi
call fcn.00421030
pop ecx
jmp 0x431069
test ecx, ecx
jg 0x430fc9
jl 0x431007
test eax, eax
jae 0x430fc9
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00424112
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x43102a
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x430fc9
jmp 0x431061
push ebx
call fcn.0042a14f
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x430fc9
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x431069
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x431066
mov edi, dword [edi + 0x18]
jmp 0x431069
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00424112
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x445ea6
Capabilities:
Encode data using xor

Disassembly:
lodsd eax, dword [esi]
xor byte [edx - 0x16], dh
ljmp 0x828b
sbb byte [eax], bh
invalid
cmp byte [eax + 0x4d8e9e67], cl
pop ebp
mov byte [edi - 0x62], ah
mov cs, word [ebp + 0x5d]
loope 0x445ea3
stosb byte es:[edi], al
daa
lodsb al, byte [esi]
call [ecx]
js 0x445eef

Function at 0x44a410
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, eax
mov dword [esp + 8], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
lea eax, [esp + 0xc]
push eax
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test esi, esi
mov edi, eax
je 0x44a44b
lea ecx, [esp + 8]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test edi, edi
pop edi
pop esi
je 0x44a463
mov edx, dword [0x64fcf4]
push 0x64fa28
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov eax, dword [esp]
add esp, 8
ret

Function at 0x4dceba
Capabilities:
Encode data using xor

Disassembly:
in eax, 0xd5
nop
xor ecx, dword [0x56bfbccc]
cwde
je 0x4dcf0f
retf 0xbbef
push 0x88b99b0d
adc eax, edx
pop esi
mov byte [ecx], dl
sal dl, 1
pop esi
adc ch, byte [eax + edx*4]
mov bl, 0x3b
pop ss
invalid
fist word [eax - 0x6b23e01e]
mov ch, 0xdd
mov ch, 0xb6
cli
scasd eax, dword es:[edi]
mov edi, 0xb5329892
push esi
in eax, 0xba
ja 0x4dcecd
add dword [eax + 0x6025e668], eax
daa
mov esp, es
in eax, 0x38
jns 0x4dced1
daa
push ecx
fidivr word [esi - 0x4c12fd6f]
iretd

Function at 0x5222e6
Capabilities:
Check for software breakpoints

Disassembly:
cmp edi, esp
adc al, 0x35
cmp bh, byte [edx]
cmp dh, byte [edi + 0x78]
add al, 0xdf
adc al, 0x3c
invalid
mov edi, 0x4a011d07
xor eax, 0x3df9bc4a
add eax, 0x79e3ab77
aam 0xf
jp 0x5222e1
push ss
sub al, 0xef
jmp 0x52234a
jne 0x5223b0
cmp ah, byte [edi + 0x41]
push es
aam 0xad
shr dword [eax - 0x28], 1
int3
dec esi
inc ecx
invalid
invalid

Function at 0x5222ee
Capabilities:
Check for software breakpoints

Disassembly:
leave
mov esp, 0x5cfc3fb6
adc ch, byte [ebp + 0x52]
fxtract
fucom st(6)
iretd
insb byte es:[edi], dx
lodsb al, byte [esi]
enter 0x6507, 0x57
cmpsb byte [esi], byte es:[edi]
in al, 0xe6
out 0x6b, al
jo 0x5222be
mov ah, 0x7f
invalid
inc edi

Function at 0x5222fe
Capabilities:
Check for software breakpoints

Disassembly:
dec esi
xor al, 0x45
or ah, dh
cwde
je 0x52230d
out 0x6b, al
jo 0x5222be
mov ah, 0x7f
xchg dword [edi - 0x50], eax
mov al, 0xc2
invalid
dec edx
dec edi

Function at 0x522306
Capabilities:
Check for software breakpoints

Disassembly:
mov al, 0xc2
adc eax, 0x8f66d34a
cmp byte [ebp + ebx*4 - 0x994efc0], dl
xchg esp, eax
popfd
inc eax
adc byte [ebx - 0xa], ch
cmovg eax, edx
cmp al, 0xcc
mov dh, 0xa8
shr dword [ebx], cl
sal dword [ebp + edx*8 + 0x4fdcdcae], 1
mov ah, 0xd5
scasb al, byte es:[edi]
invalid
fmul qword [edi + 6]
xchg byte [edi + 0x4a011d07], bh
mov edi, 0x4a011d07

Function at 0x522336
Capabilities:
Check for software breakpoints

Disassembly:
or bh, cl
adc bl, 0x8c
cli
jno 0x52232d
fstp xword [edx - 0x38c393ea]
lodsb al, byte [esi]
daa
outsb dx, byte [esi]
retf 0x7526
Function at 0x5b8192
Capabilities:
Encode data using xor

Disassembly:
mov al, 0x88
cmp eax, 0x23cf12e6
sub eax, 0xebb852f0
cmp dl, dl
mov dword [0x228fc5b9], eax
mov dword ds:[0xceb445e], eax
lea esp, [eax + 0x68]
xchg edi, eax
adc eax, 0x792880fc
xchg edx, eax
xor al, 0x21
sbb dword [0xf3a8239e], ebp
sub dh, byte [ebx]
jg 0x5b8203
jecxz 0x5b8175
sub eax, 0x45cee60e
sub dword [edx + ebx*4 + 0x41], 0xffffffa6
jnp 0x5b8197
and eax, 0xb7a525e7
or edx, dword [eax - 0x6d]
sub bl, byte [ebx - 0x171cd92d]
fild dword [0x7ee677cd]
mov ecx, 0x63b3feb9
div byte [esi - 0x75307073]
inc ecx
push cs
cmpsb byte [esi], byte es:[edi]
push eax
or dl, 0xd9
lds ebp, [eax + 0x78]
mov cl, 0xe3
mov byte [ebx + 0x54], bl
mov ecx, dword [eax - 0x7d4cefc]
xor ebp, edi
arpl word [eax - 0x57cc4c73], cx
and eax, 0x510b0fbd
pop esp
mov dword [0xcf29b65f], eax
sti
in eax, 0x4f
inc ebp
sub al, 0x94
stosb byte es:[edi], al
shl dword [eax], 0xb0
xor ebp, dword [edi + 0x1d7c3d8a]
xlatb
pop edi
popfd
mov ecx, 0xf663b3fe
mov dh, 0x8d
invalid
adc ah, byte [esi]
and esi, ebx
enter 0xffffffffffff8136, 0x6d
mov esp, 0x17e863ec
cli
and ebx, esi
js 0x5b8225
or byte [edi], bh
inc ebx
push 0xbb3e9ef1
sal dword [edx + 0x27], 1
adc dword [0x26946398], 0x63ab04fa
pop edi
pushal
xor al, 0x13
inc eax
test eax, 0x4343384e
inc esi
cmp eax, 0x5d353ecc
xchg ecx, eax
mov eax, dword [0x38e8f738]
pop edx
test dword [edi - 0x21], 0xab83bd7b
int 0xb1
mov cs, word [ebx - 0x4a]
adc dl, byte [0x617fe51a]
adc ebx, dword cs:[ebx - 0x67]
bound ebx, qword [esi]
sar byte [ebx], cl
lea ebx, [eax - 0x52]
jne 0x5b826b
or dword [0xee312820], ebp
adc cl, byte [ebp - 0x1e]
push eax
xlatb
push ds
xchg ebx, eax
and eax, 0x6bb57aa5
arpl word [eax], bx
adc dword [ebx], ebx
ret

Function at 0x601a22
Capabilities:
Encode data using xor

Disassembly:
mov al, byte [0xca41e593]
invalid
xchg edi, eax
pop ds
adc al, 0xf3
mov ch, 0xd6
xchg ebx, eax
mov ch, 0xb3
mov ch, 0xb2
ficomp word [edx]
les esp, [esi]
nop
push esi
call 0x10a724de
int 0x4c
jo 0x601a15
mul dword [ecx - 0x3ff6a00]
or byte [ebp + 0x73], 0x2c
jge 0x60196b
das
or ebp, 0xf9010d6a
clc
inc ebx
in eax, 1
push 0xffffffffffffffab
insd dword es:[edi], dx
das
adc eax, 0x450059d7
stc
sbb dword [eax + 0x29], edx
mov esp, 0x3843ec74
mov bh, 0x60
mov eax, dword [0x83441331]
inc ebx
inc ebx
pop ss
mov bl, 0x1e
test ebp, 0x8ac000cb
jle 0x939de538
sbb byte [ebx], bl
popfd
insd dword es:[edi], dx
mov ebp, ds
mov dl, 0x86
jmp 0x8a3d3d50
jne 0x601a37
sar esp, cl
mov byte [0xfd7b89fd], al
fild dword [ebx + edx + 0x28837325]
jae 0x6019a7
sub byte [edx + 0x1b6095b0], cl
cwde
jae 0x6019a7
sub byte [edx + 0x1b6095b0], cl
cwde
movsb byte es:[edi], byte [esi]
test eax, 0x30ab995a
test dword [ebp - 0x13], edi
jge 0x6019ce
xchg edi, eax
Function at 0x4010fc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x426004]
jne 0x401106
repz ret
jmp fcn.00401332

Function at 0x403bcb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x426004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004023b9
and dword [ebp - 0x14], 0
cmp dword [0x428acc], 0
mov dword [ebp - 0x18], eax
jne 0x403c7e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x403d26
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x403d26
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x428acc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x428ad0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x428ad4], eax
call edi
push eax
call esi
mov dword [0x428adc], eax
test eax, eax
je 0x403c7e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x428ad8], eax
mov eax, dword [0x428ad8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x403cd7
cmp dword [0x428adc], ecx
je 0x403cd7
push eax
call esi
push dword [0x428adc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x403cd7
test ebx, ebx
je 0x403cd7
call edi
test eax, eax
je 0x403cce
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x403cce
test byte [ebp - 8], 1
jne 0x403cd7
or dword [ebp + 0x10], 0x200000
jmp 0x403d0a
mov eax, dword [0x428ad0]
cmp eax, dword [ebp - 0x18]
je 0x403d0a
push eax
call esi
test eax, eax
je 0x403d0a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x403d0a
mov eax, dword [0x428ad4]
cmp eax, dword [ebp - 0x18]
je 0x403d0a
push eax
call esi
test eax, eax
je 0x403d0a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x428acc]
call esi
test eax, eax
je 0x403d26
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x403d28
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004010fc
leave
ret
Function at 0x415600
Capabilities:
Read file on windows
Set file attributes

Disassembly:
sub esp, 0x41c
mov eax, dword [0x426004]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [0x4297cc]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
mov ebp, 0x1519a5
mov ebx, 0x8e46a7b8
mov dword [0x429434], ebx
cmp eax, 0x3dc
jne 0x415652
push 0
push 0x423a20
call esi
push 0
call edi
mov eax, dword [0x4297cc]
dec ebp
jne 0x415633
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, dword [sym.imp.KERNEL32.dll_CancelIo]
xor esi, esi
cmp eax, 0x997
jne 0x41569b
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x28]
push ecx
push ebp
lea edx, [esp + 0x34]
push edx
push ebp
mov dword [esp + 0x24], ebp
call edi
push ebp
call ebx
mov eax, dword [0x4297cc]
cmp esi, 0x845f8b
jne 0x4156b2
mov eax, dword [0x427940]
add eax, 0xa231
mov dword [0x4297cc], eax
cmp eax, 0x141
jne 0x4156cd
mov dword [0x429008], 0xec58acac
mov dword [0x42900c], 0xffffffff
inc esi
cmp esi, 0x12cca12
jl 0x415663
call fcn.00415240
mov ecx, dword [esp + 0x428]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004010fc
add esp, 0x41c
ret 0x10
Function at 0x40e840
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579965
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x240
push esi
push edi
push 0x27
mov edi, ecx
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push str.dFdC9Vyc4JJCMDvNjAyEKAcBHFgQn0ESMbNJSc
lea ecx, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
call fcn.0042d7e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
push 0x18
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
push str.OHpp9aGg59KBhItKR0HxSh8
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], 0
call fcn.0042d7e0
push 0x104
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 1
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x18]
push eax
push 0xf003f
push 0
sub esp, 0x18
lea eax, [ebp - 0x30]
mov ecx, esp
push eax
call fcn.0042eba0
lea ecx, [ebp - 0x14]
call fcn.00445250
add esp, 0x18
push dword [eax]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x14]
mov esi, eax
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x40e92b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x40e95c
mov esi, dword [ebx + 8]
lea eax, [ebp - 0x14]
push 4
push eax
push 4
push 0
push 0x592514
push dword [ebp - 0x18]
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x18]
mov dword [edi + 0x110], esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x34]
cmp ecx, 8
jb 0x40e992
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e988
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e9dd
push ecx
push edx
call fcn.0054fb04
add esp, 8
mov ecx, dword [ebp - 0x1c]
cmp ecx, 8
jb 0x40e9c8
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e9be
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e9dd
push ecx
push edx
call fcn.0054fb04
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.005549df
int3
Function at 0x411260
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579cd5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword [ecx + 0x2c]
push ebx
push esi
push edi
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 0x30]
push 0x17
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x2c], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
xor ebx, ebx
mov dword [ebp - 4], 0
test eax, eax
setne bl
inc ebx
mov dword [ebp - 0x1c], ebx
call fcn.0042f1a0
mov ecx, eax
test ecx, ecx
je 0x4113e1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 2
call fcn.0042f1a0
mov ecx, eax
test ecx, ecx
je 0x4113eb
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x20], esi
mov esi, dword [ebp - 0x14]
mov edi, 0xc8
mov byte [ebp - 4], 3
mov ecx, edi
mov eax, dword [esi + 0x50]
cmp edi, 0xc8
cmovne edi, ecx
cmp dword [eax + 8], 0
je 0x411371
push ebx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x411371
cmp byte [0x5c5d3b], 0
je 0x411371
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_GetPhysicalCursorPos]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_WindowFromPoint]
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x10]
call fcn.00468990
test al, al
je 0x411371
push ecx
mov ecx, dword [ebp - 0x10]
mov ebx, esp
mov dword [ebp - 0x14], ebx
lea ecx, [ecx - 0x10]
call fcn.0042eab0
add eax, 0x10
mov ecx, esi
mov dword [ebx], eax
call fcn.00417640
mov ebx, dword [ebp - 0x1c]
test al, al
mov eax, 0x1b7740
cmovne edi, eax
push edi
push 0
lea eax, [ebp - 0x30]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x411399
mov ecx, 0xc8
cmp eax, 1
jne 0x4112f0
mov edi, ecx
jmp 0x4112f0
mov edx, dword [ebp - 0x20]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4113b6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4113ce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0042f720
push 0x80004005
call fcn.0042f720
int3
Function at 0x414710
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x57a2e5
push eax
mov dword fs:[0], esp
sub esp, 0x10
cmp byte [0x5cbaa8], 0
push esi
push edi
mov edi, ecx
jne 0x41478f
mov esi, dword [ebp + 8]
push 8
mov byte [0x5cbaa8], 1
call fcn.0054fad4
add esp, 4
mov dword [ebp + 8], eax
mov dword [eax], edi
mov dword [eax + 4], esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x425200
push 0
push 0
call fcn.0055b158
add esp, 0x18
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4147a6
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 1
call fcn.0042e630
cmp dword [ebp - 0x14], 0
jne 0x4147a1
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.00554b95
push 6
mov dword [ebp - 0x14], 0
call fcn.0053960f
int3