joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48605a
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 0x4860f7
push ebx
push esi
call fcn.00486023
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.00483581
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4860a4
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4860f6
push edi
push eax
call fcn.00481d27
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4860c4
call fcn.0047ea9c
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4860f5
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00483581
add esp, 0x20
test eax, eax
jne 0x4860e3
push edi
call fcn.0047ea9c
jmp 0x4860eb
push ebx
call fcn.0047ea9c
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 0x4860fa
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x48610b
pop esi
ret
push ebx
push edi
push esi
call fcn.00486023
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00481d27
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x486133
push ebx
push esi
push edi
call fcn.00464490
add esp, 0xc
push 0
call fcn.0047ea9c
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x486503
Capabilities:
Set environment variable

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

Function at 0x488b70
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0047e754
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x488bdf
cmp esi, dword [ebp - 4]
je 0x488bda
cmp dword [ebp + 0xc], 0
je 0x488bda
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x488bb7
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.004886c2
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x488be1
xor eax, eax
inc eax
jmp 0x488be1
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x488c46
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4bb924]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.0047e754
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0047e754
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x488cbd
cmp word [ecx], dx
je 0x488cbd
mov eax, dword [0x4a4dac]
push edi
dec eax
push eax
push 0x4a4c98
call fcn.00488be5
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x488d30
cmp word [eax], dx
je 0x488d30
mov eax, dword [edi]
test eax, eax
je 0x488ce1
cmp word [eax], dx
je 0x488ce1
lea eax, [ebp - 0x10]
push eax
call fcn.004885c8
jmp 0x488cea
lea eax, [ebp - 0x10]
push eax
call fcn.00488663
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x488d5a
mov eax, dword [0x4a4c94]
push dword [ebp - 0x14]
dec eax
push eax
push 0x4a4988
call fcn.00488be5
add esp, 0xc
test al, al
je 0x488d5a
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x488d25
cmp word [eax], di
je 0x488d25
lea eax, [ebp - 0x10]
push eax
call fcn.004885c8
pop ecx
jmp 0x488d5c
lea eax, [ebp - 0x10]
push eax
call fcn.00488663
jmp 0x488d22
mov eax, dword [edi]
test eax, eax
je 0x488d47
cmp word [eax], dx
je 0x488d47
lea eax, [ebp - 0x10]
push eax
call fcn.0048857d
pop ecx
jmp 0x488d5a
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x488e25
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00488a6a
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x488e25
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x488e25
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x488e25
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x488db2
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0047f1a9
test ebx, ebx
je 0x488e20
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0047f1a9
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x488e25
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x488e25
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0048e2de
add esp, 0x10
xor eax, eax
inc eax
jmp 0x488e27
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00462c85
leave
ret
Function at 0x48e865
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]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.0048e7e1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x48e9d4
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x48e9d4
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x48e989
jg 0x48e8c1
test eax, eax
je 0x48e97f
push 1
push 0x1000
call fcn.0047ea3f
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x48e8e4
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x48e976
push 0x8000
push ebx
call fcn.0047caf1
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x48e90d
jg 0x48e908
cmp ecx, 0x1000
jb 0x48e90d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0048037a
add esp, 0x10
cmp eax, 0xffffffff
je 0x48e952
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 0x48e908
jl 0x48e939
test ecx, ecx
jne 0x48e8fa
push dword [ebp - 0xc]
push ebx
call fcn.0047caf1
push esi
call fcn.0047ea9c
add esp, 0xc
xor ebx, ebx
jmp 0x48e9e2
cmp byte [edi + 0x24], 0
je 0x48e969
cmp dword [edi + 0x20], 5
jne 0x48e969
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x48e974
mov ebx, dword [edi + 0x18]
jmp 0x48e976
xor ebx, ebx
push esi
call fcn.0047ea9c
pop ecx
jmp 0x48e9e2
test ecx, ecx
jg 0x48e94b
jl 0x48e989
test eax, eax
jae 0x48e94b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00481b46
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x48e9a9
cmp byte [edi + 0x1c], 0
je 0x48e94b
jmp 0x48e9da
push ebx
call fcn.00486b41
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x48e94b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x48e9e2
cmp byte [edi + 0x1c], 0
je 0x48e9df
mov ebx, dword [edi + 0x18]
jmp 0x48e9e2
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00481b46
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x48ee40
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x48ee6d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x48ee6d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40988e
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ebp + 0x3c0b4c9e]
sub bh, byte [edx - 0x1b]
pop eax
in eax, 0x58
xor byte [edi + 0x1e], dl
imul dword [esi + 0x189586db]
loope 0x4098a6
lodsb al, byte [esi]
nop
test eax, 0xd94e5d3b
fnstcw word [eax + 0x72]
movsb byte es:[edi], byte [esi]
sub ebp, dword [edi + edi*8 - 0x28733287]
inc ebp
mov esp, eax
insd dword es:[edi], dx
xor ebx, dword [ebx]
jp 0x409884
invalid
jmp 0x40988c

Function at 0x4099ce
Capabilities:
Encode data using xor

Disassembly:
jp 0x4099f4
inc edx
and al, 0x7e
and al, 0xa
inc edx
movsb byte es:[edi], byte [esi]
retf
mov ah, 0xb8
or ch, 0x71
mov eax, dword [0x651edb24]
and dword [esi + 0xb], edi
lds ebx, [ebx - 0x312baac9]
insb byte es:[edi], dx
sti
fimul word [ebx + 0x2457cc7e]
sbb byte es:[ebx], bh
lodsd eax, dword [esi]
pop esp
aas
sbb dword [ebx - 0x220d8494], ebx
push 0x5a
sub al, 0xdd
fnstsw word [ebx + 0x73667913]
jns 0x409a36
jae 0x40997e
jns 0x409a36
jae 0x40997e
add eax, 0x235c4e9
leave
xchg ebp, eax
push ebp
dec edi
sbb dh, byte [edi]
push ebp
test eax, 0x5d624f8f
cmp dword [esi - 0x45], ebp
pop ss
mov edx, 0x3b6b7bbd
add al, 0xed
sub eax, 0x70f5ab91
xchg edx, eax
fisubr word [ebp + 0x19]
push edx
mov edi, dword [edi]
leave
xor al, 0x6c
or cl, byte [eax + 0x6c0d5ea6]
mov ebx, 0x2609ef64
and eax, 0x868a1da5
or ecx, 0x5e
add bl, byte [edi]
jb 0x40999d
xchg ebx, eax
xchg ebx, eax
mov byte [0xd290970f], al
xchg ebp, eax
loopne 0x409a7e
cmp al, 0xbb
retf
lahf
test dword [ebx], 0xaaa80eb9
or al, 0x67
mov bl, 0x24
sar dword [esi - 0x3d16a26e], cl
sbb esi, dword [esi - 0x1c45003a]
enter 0x5ad4, 0xffffffffffffff99
mov dh, dh
adc ecx, dword [edi + eax*4 + 0x32781384]
cmp byte [ebx - 0x5f16c438], dl
sub esi, dword [edx + 0x1c6cfd26]
mov dword [0x2f95ca34], eax
sbb al, 0x5d
invalid
adc eax, eax
cmpsb byte [esi], byte es:[edi]
adc dword [esi + 0x48], edx
xchg edx, eax
out dx, eax
jae 0x409ab3
pushfd
adc edi, dword ds:[edx + edx]
inc esp
nop
fst dword [eax + 0x17c89408]
loope 0x409b11
arpl word [ecx - 0x3e], bx
and al, 0x44
invalid
mov dword [edx + 0x20], esi
mov ecx, 0x72d7a1e8
dec esp
adc dword [eax + 0x7e], ecx
pop eax
test byte [esi - 0x32aab73a], dl
cdq
adc al, 0x90
js 0x409a81
mov eax, 0x373d3772
and dword [edi + eax*4 + 0x3b496fca], esi
mov dword [eax + 0x1a4130ca], edx
js 0x409af1
xchg byte [edx - 0x6da6598d], bl
jae 0x409a89
pop ecx
xchg edx, eax
aam 0xe3
dec eax
outsb dx, byte [esi]
in al, dx
ficomp dword [eax]
dec edi
cmp byte [edi - 0x38], al
aad 0x48
dec eax
bound esp, qword [ecx - 0x464ecafa]
push edx
sti
mov al, byte [0xa2c62a58]
invalid
mov byte [0x929aa7c7], al
xor eax, 0x1d6a1517
shr dword [edi - 0x16], cl
out dx, al
arpl word [ebx + esi + 0x724a86dc], ax
int 0xb3
mov es, word [ecx + edi*8 - 0x1f]
inc ecx
dec edx
jb 0x409ae1
mov bl, 0x8e
inc esp
stc
loope 0x409b5b
daa
invalid
inc ebp
adc dword [ebp - 0x5b1fa71e], eax
mov al, 0x40
rol dword [eax - 0x1d], cl
call 0x927776a6
ja 0x409afe
and ebx, dword [ebx]
push ecx
cld
insd dword es:[edi], dx
xchg esp, eax
dec edi
mov dh, 0x48
cmpsb byte [esi], byte es:[edi]
ret 0xc717
Function at 0x41294e
Capabilities:
Encode data using xor

Disassembly:
nop
lds eax, [edx - 0xacc327e]
xor esi, ebp
dec eax
mov bl, 0x66
jecxz 0x4129c9
push ecx
jl 0x41294c
sti
loopne 0x412947
invalid
dec esi
jmp 0x33bf80fe
Function at 0x42068e
Capabilities:
Encode data using xor

Disassembly:
lodsb al, byte [esi]
pop ds
pop ebx
cmp byte [ecx + 0x79e937ea], dh
out dx, eax
xchg edx, eax
repne cmpsb byte [esi], byte es:[edi]
in eax, dx
dec ebx
dec edx
lds ecx, [ebp - 0x526240ae]
imul byte [eax]
mov dh, byte [eax + 0x19]
cmp eax, 0x961e5d11
inc ecx
cmp eax, 0x2a9989c1
imul eax, esp, 0xa0b849bb
cmp esp, 0x8f360feb
retf 0x5ae5
mov cl, 0xbd
jp 0x420619
imul ecx, dword [eax - 0x1c87b4a7], 0x35d11fb8
enter 0xffffffffffffb1bc, 0xfffffffffffffffe
push esi
pop ebp
dec ecx
mov esp, dword [edx]
sub dh, byte [eax + 0x5bc92d45]
sar dword [ecx], 1
retf
jge 0x420619
pop esp
add dword [eax + 0x1a], ebp
cli
cdq
mov ebx, 0x53491d0f
dec ebp
xchg edx, eax
scasb al, byte es:[edi]
mov ebx, 0xacf184df
test cl, dh
lodsb al, byte [esi]
lcall 0xe5e1, 0xcb508fec
xor cl, bh
jecxz 0x4206a1
jo 0x42065d
pop ss
fisttp word [ecx + 0x73]
in eax, 0x54
cmpsd dword [esi], dword es:[edi]
pop ebx
mov bh, 0x6b
sbb dword [edi], eax
pop es
xlatb
invalid
Function at 0x4389ce
Capabilities:
Encode data using xor

Disassembly:
invalid
ror dh, 0x5b
mov dl, 0x2a
cld
sub bh, ah
xor ebx, dword [ebp + 0x1e]
dec eax
mov ebx, 0xd2955244
jle 0x4389a0
jb 0x438a30
fcom qword [esi]
push es
sbb bl, byte [ebx + 0x1b]
out dx, al
and edi, eax
sub al, 0x85
loopne 0x43899c
jb 0x438969
test bh, cl
xlatb
nop
dec ecx
sbb bl, byte [esi - 3]
and esp, edi
push cs
mov dword ss:[eax - 0x40], edx
push eax
ror al, 0x5d
fild word [esi - 0x20]
invalid
push eax
ror al, 0x5d
fild word [esi - 0x20]
jno 0x4389b7
loopne 0x4389ff
daa
add bh, 0xc0
test al, 0x5e
sub ecx, dword [edi + 0x72624fb4]
pop esi
pop ebp
xchg ebp, eax
stosb byte es:[edi], al
scasb al, byte es:[edi]
sub dh, bh
add dword [edi], edx
mov esp, 0x49cfc7c1
mov eax, dword [0xb89c14f7]
pop esp
into
mov es, word [eax + 0x44]
test dword [esi - 0x62], ecx
adc bh, byte es:[esi + 0x29]
push cs
pop eax
jl 0x4389f7
pop ds
and dword [edx*2 + 0x1f12a00b], ecx
sub byte [edx + edx*2], 0x20
mov dh, 0xd1
adc edx, dword [ebx - 0x2b942f86]
xchg edi, eax
sti
dec ecx
in eax, dx
aaa
fld st(2)
push 0x71
adc esp, dword [ecx + 0x584046ad]
ficomp dword [esi - 0x37]
cwde
and dword [eax - 0x21113fa4], esp
sahf
dec edx
dec ebp
sti
invalid
sub eax, 0xe2010659
nop
invalid
Function at 0x44ef2e
Capabilities:
Encode data using xor

Disassembly:
salc
cmc
invalid
xchg byte [ebp - 0xd7e93bd], cl
pop esi
sbb al, byte [ebp - 0x4a1738e7]
jg 0x44ef00
adc dword [edi + 0x3a], ebp
sbb ah, byte [ecx]
adc al, byte [eax + 0x54422c5e]
sbb ah, byte [ecx - 0x36feb51]
xchg ecx, eax
shr byte [ebx - 0x2dba8e23], 0x60
sbb al, 0x11
xchg dword [edx + 0x64dc3148], esi
lea ebx, cs:[edx + 0x67]
dec ecx
invalid

Function at 0x44f80e
Capabilities:
Encode data using xor

Disassembly:
adc dl, dh
imul esi, dword [ebp - 0x6c], 0xe94eb1e0
adc ebp, 0xc662a6f2
push es
jge 0x44f899
mov ch, 0x62
movsd dword es:[edi], dword [esi]
add eax, 0xc6ef80cf
cwde
sbb edx, edi
and esi, dword [esi]
sub esp, esi
sbb byte [ebx - 0x28aedb48], 0x19
jno 0x44f826
out dx, eax
invalid
aam 0xe
sub al, bh
invalid
ret 0x3125

Function at 0x452e1e
Capabilities:
Encode data using xor

Disassembly:
out dx, eax
shr dword [esi - 0x41], 1
arpl word [edx - 0x1b259a45], bx
cmp esi, esp
daa
jmp 0x64251c95
mov ah, 0x6a
xchg esp, eax
push 0xffffffffffffffb4
insd dword es:[edi], dx
shr esp, cl
xor ch, ah
adc edi, ebp
xor esi, ebp
shr byte [esi - 0x41], 1
popal
sahf
pushal
mov esi, 0x7e2dd63
jmp 0xe87c16a7
xor al, 0xea
aam 0x6a
mov ah, 0x6a
xchg esp, eax
push 0xffffffffffffffb4
push 0xffffffffffffffd3
in eax, dx
xor ebp, ebp
adc ebp, ebp
xor ebp, esp
shr byte [edx + esi*4 + 0x6c], cl
xchg edx, eax
outsd dx, dword [esi]
mov cl, 0x6f
outsd dx, dword [esi]
shr edi, 1
xor esi, ebp
adc dh, ch
aas
loope 0x452d9e
bound edi, qword [ebx - 0x5d7278f]
xchg esp, eax
jbe 0x452d4f
push ebx
mov eax, dword [0x699e8c7d]
lds eax, [esi]
aad 0x27
test dword [esi + edx*4], 0x50837162
mov eax, dword [0x6f9d8e72]
cld
or al, 0x25
test dword es:[edx], 0x8577569a
push esi
movsd dword es:[edi], dword [esi]
jbe 0x452d72
popfd
insd dword es:[edi], dx
invalid
jp 0x452dd6
xchg ebp, eax
test byte [bp + si], 0xd2
sub al, 0xf9
or bl, byte [eax + 0x5a897b6b]
xchg esi, eax
jne 0x452db7
xchg edi, eax
invalid
Function at 0x465d8e
Capabilities:
Encode data using xor

Disassembly:
adc al, 0x1e
and eax, 0x852054ac
test ebp, edx
sub byte [ecx + 0x63bcc9aa], ah
into
push ebx
clc
jp 0x465d40
popfd
mov eax, 0x495b0e93
add ebp, dword [esi - 0x6a]
js 0x465cf0
ljmp 0x96a1:0xade835bc
call 0xf4dcfea2
xchg byte [ecx + 0x199ce34a], bh
sub al, 0xac
scasd eax, dword es:[edi]
add ah, bl
mov bl, 0xb5
loop 0x465d3c
jb 0x465d53
mov al, 0x44
sub edx, dword [0x4c786f26]
adc dword [ecx], edx
in eax, 0xde
sar ah, 1
sar al, cl
inc esp
jne 0x465d0e
xor eax, 0xc2f3afc3
lcall 0xeb46, 0x717ca27f
add eax, 0x32c20a46
mov dword [0x15354c71], eax
jp 0x465ce2
xchg byte [ecx], dl
push ebp
cmp bl, ch
shr byte [edx + 0x57b181c1], 1
or byte [ebp + 0x398603e1], dh
xchg byte [ecx], bh
sahf
jge 0x465d9f
or al, byte [eax + 0x5d]
cli
jl 0x465d5b
cmc
add ebp, dword [ebx - 0x61]
dec ebx
scasb al, byte es:[edi]
and byte [ecx], ah
mov eax, 0x988935de
add byte [eax - 0x13084617], dh
adc al, 0x5f
mov ecx, 0x5f14ecf7
in eax, 0x3f
jnp 0x465dc0
and byte [eax], cl
invalid
pushfd
pop es
lcall 0xd04d, 0x20b49e95
push ebp
pushfd
push 0x59138bef
fbstp tbyte [ebp - 0x4a0c0576]
cmpsb byte [esi], byte es:[edi]
sti
adc esi, dword [0x2ff2af02]
xor eax, 0x2ff2af02
inc edx
cmc
aaa
and eax, 0xb5c4a4da
cld
or dword [edx + edx*4 + 0xd], ebp
dec esp
pop ebp
dec eax
or eax, 0x48f25d4c
add eax, 0x28594c05
mov eax, dword [0xc554893f]
push ecx
pop ebp
sti
or eax, 0x65c8f6f7
aad 0x63
cmc
shl byte [ebp + 3], 0x19
mov cl, 0x91
xchg esp, eax
cmp ebx, esp
and edx, dword [ecx - 0x26]
push esi
insb byte es:[edi], dx
mov word [edx + 0x1178358b], ss
xor dword [esi - 0x6d], edx
je 0x465d7e
push ecx
mov bh, byte [esi + 0x4c]
cmp dh, byte [ebp + 0x2c]
pop ss
pop esp
add bh, al
mov edi, dword [esi]
scasd eax, dword es:[edi]
stosb byte es:[edi], al
int1
inc ecx
mov cl, 0x6d
in eax, dx
jp 0x465d75
cld
pop ss
sbb al, 0x14
adc al, 0xc
sbb ecx, dword [edx - 6]
jbe 0x465e04
mov byte [ecx], ah
and ebx, dword [esi - 0x7b143e03]
rol byte [edx], 0xde
or bh, 0x6c
test al, 0x54
xor al, 0x10
add ebx, dword [ebp - 0x1c]
push ebp
adc byte [ebx], al
pop ebp
in al, 0x55
add byte [edi], 0xf8
invalid
Function at 0x4a9dce
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
mov ebx, ecx
mov dword [ebp - 0xc], ebx
push esi
push edi
test ebx, ebx
jne 0x4a9dea
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0xc984], 0xffffffff
jle 0x4a9dff
mov eax, 0xfffffff6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edx, edx
lea edi, [ebx + 0x11fb0]
mov eax, 0x4a2d20
mov ecx, 0x62
cmovne eax, edx
lea edx, [ebx + 0x12838]
mov esi, eax
mov dword [ebp - 0x2c], eax
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x12138]
mov edi, 0x40
lea esi, [ebx + 0x9a0]
nop dword [eax]
nop dword [eax + eax]
lea eax, [esi - 0x80]
mov dword [ecx - 0x11e14], esi
mov dword [ecx - 0x11e18], eax
lea ecx, [ecx + 0x18]
mov dword [ecx - 0x14], edx
lea eax, [edx - 0x100]
mov dword [ecx - 0x18], eax
lea eax, [esi + 0x80]
mov dword [ecx - 0x11e28], eax
lea eax, [edx + 0x100]
mov dword [ecx - 0x10], eax
lea eax, [esi + 0x100]
mov dword [ecx - 0x11e24], eax
lea eax, [edx + 0x200]
mov dword [ecx - 0xc], eax
lea eax, [esi + 0x180]
mov dword [ecx - 0x11e20], eax
lea eax, [edx + 0x300]
mov dword [ecx - 8], eax
lea eax, [esi + 0x200]
mov dword [ecx - 0x11e1c], eax
add esi, 0x300
lea eax, [edx + 0x400]
add edx, 0x600
mov dword [ecx - 4], eax
sub edi, 1
jne 0x4a9e3e
push dword [ebp - 0x2c]
add ebx, 0x320
xor edx, edx
mov ecx, ebx
mov dword [ebp - 8], ebx
call fcn.004af0be
mov eax, ebx
mov dword [ebp - 0x20], edi
add esp, 4
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x30], 3
Function at 0x5f5661
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x5fd3d0
cmp edx, dword [eax]
je 0x5f5683
add eax, 8
inc ecx
cmp eax, 0x5fd460
jl 0x5f5674
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x5fd3d0]
jne 0x5f57b1
mov eax, dword [0x601d5c]
cmp eax, 1
je 0x5f578b
test eax, eax
jne 0x5f56b4
cmp dword [0x5fd2fc], 1
je 0x5f578b
cmp edx, 0xfc
je 0x5f57b1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x5f56eb
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.005f6040
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.005f64d0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x5f572e
lea eax, [ebp - 0x1a4]
push eax
call fcn.005f64d0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x5fa7b4
push edi
call fcn.005f83a0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.005f6040
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.005f6050
lea eax, [ebp - 0xa0]
push 0x5fa794
push eax
call fcn.005f6050
push dword [esi + 0x5fd3d4]
lea eax, [ebp - 0xa0]
push eax
call fcn.005f6050
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.005f8314
add esp, 0x2c
pop edi
jmp 0x5f57b1
lea eax, [ebp + 8]
lea esi, [esi + 0x5fd3d4]
push 0
push eax
push dword [esi]
call fcn.005f64d0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x10003007
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x10b]
mov byte [ebp - 0x10c], bl
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x10c]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea eax, [ebp - 0x10c]
push 0x5c
push eax
call dword [sym.imp.MSVCRT.dll_strrchr]
mov byte [eax + 1], bl
lea eax, [ebp - 0x10c]
push str.Config.
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x10003140
mov esi, dword [sym.imp.MSVCRT.dll__strcmpi]
lea eax, [ebp - 0x220]
push 0x1000a688
push eax
call esi
pop ecx
test eax, eax
pop ecx
je 0x100030b2
lea eax, [ebp - 0x220]
push 0x1000a684
push eax
call esi
pop ecx
test eax, eax
pop ecx
jne 0x100030d3
push 0x3e8
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea eax, [ebp - 0x24c]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
je 0x10003140
jmp 0x1000308a
mov esi, dword [sym.imp.MSVCRT.dll_strchr]
lea eax, [ebp - 0x220]
push 0x2e
push eax
mov byte [0x1000aa34], 1
call esi
push 0x28
mov edi, 0x1000a96c
push ebx
push edi
mov dword [ebp - 4], eax
call sub.MSVCRT.dll_memset
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x220]
sub eax, ecx
push eax
lea eax, [ebp - 0x220]
push eax
push edi
mov edi, dword [sym.imp.MSVCRT.dll_strncpy]
call edi
push 0x28
push ebx
mov ebx, 0x1000a9ec
push ebx
call sub.MSVCRT.dll_memset
inc dword [ebp - 4]
push 0x2e
push dword [ebp - 4]
call esi
sub eax, dword [ebp - 4]
push eax
push dword [ebp - 4]
push ebx
call edi
add esp, 0x40
push 1
pop ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_FindClose]
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret