joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1cf16110
Capabilities:
Encode data using xor

Disassembly:
or eax, 0xd0d0d0d
or eax, 218959117
or eax, 218959117
or eax, 218959117
or eax, 101518605
or eax, 218959111
or eax, 218959117
or byte [218959117], cl
or eax, 218958093
or eax, 218762509
or eax, 218959117
or ecx, dword [-1127429108]
mov esp, 150607028
adc byte [esi + 0x27], 0xeb
inc eax
mov esp, 0x8fa14b4
adc byte [esi + 0x27], 0xeb
inc eax
mov edi, 0xd4ded059
wait
xor ecx, eax
dec ebx
jae 0x1cf160d3
loop 0x1cf16149
iretd
mov esi, ecx
mov dword [ebp - 4], esi
lea ecx, [esi + 8]
mov dword [esi + 4], eax
mov dword [esi], 0x1d079834
call fcn.1cf66080
mov byte [esi + 0x20], 0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x1cf222ce
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x1cfb3458
call fcn.1cf222e0
push 1
call fcn.1cf21562
pop ecx
test al, al
jne 0x1cf22185
push 7
call fcn.1cf223e7
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.1cf2152d
mov byte [ebp - 0x24], al
mov eax, dword [0x1cf98548]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x1cf2217e
test eax, eax
jne 0x1cf221ef
mov dword [0x1cf98548], ecx
push 0x1cf9a38c
push 0x1cf9a368
call fcn.1cf47840
pop ecx
pop ecx
test eax, eax
je 0x1cf221d2
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x1cf222c8
push 0x1cf9a364
push 0x1cf9a320
call fcn.1cf477e4
pop ecx
pop ecx
mov dword [0x1cf98548], 2
jmp 0x1cf221f4
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.1cf216cf
pop ecx
call fcn.1cf226d9
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x1cf22224
push esi
call fcn.1cf21645
pop ecx
test al, al
je 0x1cf22224
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.1cf222d8
call esi
call fcn.1cf226df
mov esi, eax
cmp dword [esi], edi
je 0x1cf22242
push esi
call fcn.1cf21645
pop ecx
test al, al
je 0x1cf22242
push dword [esi]
call fcn.1cf463e7
pop ecx
call fcn.1cf22503
movzx eax, ax
push eax
call fcn.1cf47791
push eax
push edi
push 0x1cf00000
call main
mov esi, eax
call fcn.1cf22536
test al, al
jne 0x1cf2226d
push esi
call fcn.1cf4641f
test bl, bl
jne 0x1cf22276
call fcn.1cf463c2
push edi
push 1
call fcn.1cf216ec
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x1cf222c8
call fcn.1cf22326
ret
call fcn.1cf2261e
jmp 0x1cf22166

Function at 0x1cf40678
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x1cfa1b90
push 0x1cfa1b88
push str.FlsAlloc
push 0
call fcn.1cf405f8
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1cf406aa
push dword [ebp + 8]
mov ecx, esi
call fcn.1cf222d8
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x1cf406ec
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x1cfa1ba0
push 0x1cfa1b98
push str.FlsGetValue
push 2
call fcn.1cf405f8
add esp, 0x10
mov esi, eax
push dword [ebp + 8]
test esi, esi
je 0x1cf4071d
mov ecx, esi
call fcn.1cf222d8
call esi
jmp 0x1cf40723
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop esi
pop ebp
ret
Function at 0x1cf6cb90
Capabilities:
Encode data using xor

Disassembly:
sbb byte [ebx], ch
mov esi, 0x80870307
push ds
push ss
jo 0x1cf6cbbf
outsb dx, byte [esi]
outsd dx, dword [esi]
sbb byte [esi - 0x62bed130], ch
mov edx, 0xe53634ab
pop edx
sar edi, 0xe7
leave
stc
rcl byte [esi + 0x76459578], 0x54
mov ah, 0x56
fisttp qword [edi]
fidivr dword [esi + 1]
inc ebp
push esp
jl 0x1cf6cc22
bound ebp, qword [ebp + 0x14]
cwde
insd dword es:[edi], dx
adc al, 0x67
cwde
pop ebx
inc edi
dec edx
aas
push ds
pop es
xchg esp, eax
sbb bh, byte [ebp - 4]
insb byte es:[edi], dx
push ecx
ret 0xb737
invalid
sub al, 0xc7
adc al, 8
xchg esp, eax
dec esi
inc esi
jns 0x1cf6cbf9
aas
mov ebx, 0x8cd5b026
salc
mov al, 0xd5
mov esi, ss
add dword [ecx + ecx*2 - 0x6db2d0b8], ebx
cdq
inc eax
cmp byte [esp + eax + 0x5f], dl
sbb bh, byte [edx]
cmp eax, dword [ecx]
mov bl, cl
xor dword [edx + ecx*2 - 0x5fbaf7bc], eax
adc byte [ebp - 0x52799e94], dh
leave
sbb bh, byte [ebp + 0x8bf92cd]
adc al, 0xe4
out dx, al
loope 0x1cf6cc2f
out 0xe5, al
and dword [edi], esi
fisub dword [ecx]
cmpsd dword [esi], dword es:[edi]
or dword [edx - 0x51e57e3d], esp
adc al, 0x1e
pushfd
and al, 0xa4
nop
sal byte [eax - 0x2df9b8cb], 0xd
invalid
Function at 0x41d1a0
Capabilities:
Terminate process

Disassembly:
push 0xc
push 0x41e850
call fcn.0041def8
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x41f550
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x41cfc8
cmp eax, esi
jne 0x41cfbb
xor esi, esi
inc esi
mov edi, esi
jmp 0x41cfcb
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41cf9f
xor esi, esi
inc esi
cmp dword [0x41f554], esi
jne 0x41cfdd
push 0x1f
call fcn.00597000
pop ecx
jmp 0x41d017
cmp dword [0x41f554], ebx
jne 0x41d011
mov dword [0x41f554], esi
push 0x402848
push 0x40283c
call fcn.0041d0fc
pop ecx
pop ecx
test eax, eax
je 0x41d017
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x41d0ec
mov dword [0x41f114], esi
cmp dword [0x41f554], esi
jne 0x41d03a
push 0x402838
push 0x4027dc
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x41f554], 2
test edi, edi
jne 0x41d047
xor eax, eax
mov ecx, 0x41f550
xchg dword [ecx], eax
cmp dword [0x41f564], 0
je 0x41d073
push 0x41f564
call fcn.0041dd50
pop ecx
test eax, eax
je 0x41d073
push ebx
push 2
push ebx
mov esi, dword [0x41f564]
mov ecx, esi
call dword [0x420210]
call esi
push dword [0x41f120]
push dword [0x41f11c]
push dword [0x41f118]
call fcn.0040c7c4
add esp, 0xc
mov dword [0x41f110], eax
cmp dword [0x41f128], 0
jne 0x41d0d1
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push ecx
push eax
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x41f114], 0
jne 0x41d0e5
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x41f110]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
call fcn.0041de45
jmp 0x41cf83

Function at 0x41dc34
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x41e948
call fcn.0041def8
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x41dc94
cmp eax, 0xffffffff
je 0x41dc94
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x41dc8d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x41dc8d
cmp edx, 0x10000000
jae 0x41dc8d
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x41dc8a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41dd00
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x41dd3e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x41dd36
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x41dd40
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x41dd26
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x6241b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00624140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00624140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00624140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00624140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x624bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x624c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x63687c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x624c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x624c52
xor eax, eax
pop esi
leave
ret 4

Function at 0x1002195
Capabilities:
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xf0
push 4
call fcn.010012b0
test eax, eax
pop ecx
je 0x10021b6
mov ecx, eax
call dword [sym.imp.ulib.dll_public:_void___thiscall_CLASS_DESCRIPTOR::constructor_void_]
jmp 0x10021b8
xor eax, eax
test eax, eax
mov dword [0x1004004], eax
je 0x10021c9
mov ecx, eax
call dword [sym.imp.ulib.dll_public:_unsigned_char___thiscall_CLASS_DESCRIPTOR::Initialize_void_]
lea ecx, [ebp - 0x78]
call fcn.010012ff
lea ecx, [ebp - 0x78]
call fcn.01001cd6
test al, al
je 0x10021ee
lea ecx, [ebp - 0x78]
call fcn.0100133e
test al, al
je 0x10021ee
push dword [ebp + 0x10]
jmp 0x10021f0
push 2
call dword [sym.imp.msvcrt.dll_exit]
int3
Function at 0x1006035
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1009018]
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
cmp dword [0x1009034], ebx
push edi
mov dword [ebp - 4], eax
mov edi, 0x400
jne 0x100608d
push 0x103
lea eax, [ebp - 0x108]
push eax
push 0x11
push edi
mov dword [0x1009034], 1
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea eax, [ebp - 0x108]
push eax
call sub.cmutil.dll_CmAtolA
mov dword [0x1009030], eax
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push 0x1001d20
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp + 0x10]
add esp, 0xc
dec eax
push eax
push esi
push ebx
lea eax, [ebp - 0x108]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
mov eax, dword [0x1009030]
cmp eax, ebx
je 0x10060ef
cmp edi, eax
jbe 0x10060ef
mov ecx, esi
sub ecx, eax
lea eax, [ecx + edi - 1]
push eax
call sub.cmutil.dll_CmIsDigitA
test eax, eax
jne 0x10060ef
sub esi, dword [0x1009030]
mov byte [esi + edi - 1], bl
jmp 0x10060f5
mov dword [0x1009034], ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0100617c
leave
ret 0xc

Function at 0x1006699
Capabilities:
Read file via mapping

Disassembly:
mov edi, edi
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi], edi
jne 0x1006753
cmp dword [esi + 4], edi
jne 0x1006753
push ebx
xor ebx, ebx
call sub.cmutil.dll_GetOSVersion
cmp eax, 2
jne 0x10066d0
call sub.cmutil.dll_GetOSMajorVersion
cmp eax, 5
jb 0x10066d0
push 0x1001dac
jmp 0x10066d5
push 0x1001d88
push edi
push 6
call dword [0x1009170]
cmp eax, edi
mov dword [esi], eax
je 0x1006736
push edi
push edi
push edi
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, edi
mov dword [esi + 4], eax
jne 0x1006703
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], edi
jmp 0x1006736
call sub.cmutil.dll_GetOSVersion
cmp eax, 2
jne 0x100671e
call sub.cmutil.dll_GetOSMajorVersion
cmp eax, 5
jb 0x100671e
push 0x1001d58
jmp 0x1006723
push 0x1001d34
push edi
push 0xe0000000
call dword [0x100917c]
cmp eax, edi
mov dword [esi + 0xc], eax
jne 0x100674e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, edi
jle 0x100674e
and ebx, 0xffff
or ebx, 0x80070000
mov eax, ebx
pop ebx
jmp 0x1006758
mov eax, 0x80070005
pop edi
pop esi
ret
Function at 0x5200d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0xda000]
push edi
or ebp, 0xffffffff
jmp 0x5200f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5200f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5200e8
mov eax, 1
add ebx, ebx
jne 0x52010b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x52011c
jne 0x52013b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52013b
dec eax
add ebx, ebx
jne 0x520128
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x520100
add ebx, ebx
jne 0x520137
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x52018d
xor ecx, ecx
sub eax, 3
jb 0x520153
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5201c2
sar eax, 1
mov ebp, eax
jmp 0x52015e
add ebx, ebx
jne 0x52015e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52012c
inc ecx
add ebx, ebx
jne 0x52016c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52012c
add ebx, ebx
jne 0x520179
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x52016e
jne 0x52018a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x52016e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5201ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x52019e
jmp 0x5200ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5201ac
add edi, ecx
jmp 0x5200ee
pop esi
mov edi, esi
mov ecx, 0x2205
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5201ca
cmp byte [edi], 0xa
jne 0x5201ca
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 0x5201cf
lea edi, [esi + 0x11c000]
mov eax, dword [edi]
or eax, eax
je 0x520247
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x167c68]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x167e44]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5201fc
mov ecx, edi
jns 0x52022b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x167e4c]
or eax, eax
je 0x520241
mov dword [ebx], eax
add ebx, 4
jmp 0x520219
call dword [esi + 0x167e48]
mov ebp, dword [esi + 0x167e50]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x24f]
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 0x52027b
sub esp, 0xffffff80
jmp 0x430bc6
Function at 0xeed458
Capabilities:
Encode data using xor

Disassembly:
jmp 0xeed462
pushal
call 0xeed468
pop ebp
sub ebp, 0x10
sub ebp, 0xaed458
jmp 0xeed47e
mov eax, 0xaed458
add eax, ebp
add eax, 0x4c
mov ecx, 0x5ce
mov edx, 0x2ef3e467
xor byte [eax], dl
inc eax
dec ecx
jne 0xeed495
jmp 0xeed4a8
in al, dx
stosb byte es:[edi], al
in al, dx
out dx, al
pop ebx
out 0xa6, al
lahf
stosb byte es:[di], al
fbld tbyte [ecx + 0x67]
fisttp qword [bx + 0x67]
nop
test dword [edi + ebp*4 - 0x14], esp
out 0x6b, al
mov byte fs:[0x3737], al
movq mm5, qword [eax]
inc esi
movaps xmm4, xmm2
ljmp 0x8d0f
Function at 0x10009761
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x1001f5e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
call fcn.1000a23f
test eax, eax
je 0x10009876
xor ebx, ebx
mov dword [ebp - 0x214], 0x104
push ebx
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.shlwapi.dll_PathCreateFromUrlW]
test eax, eax
js 0x10009876
push ebx
push 0x80
push 3
push ebx
inc ebx
lea eax, [ebp - 0x20c]
push ebx
push SysReAllocStringLen
push eax
call dword [sym.imp.kernel32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x10009876
push 0
lea eax, [ebp - 0x218]
push eax
push 4
lea eax, [ebp - 0x210]
push eax
push edi
call dword [sym.imp.kernel32.dll_ReadFile]
push edi
mov esi, eax
call dword [sym.imp.kernel32.dll_CloseHandle]
test esi, esi
je 0x10009876
cmp dword [ebp - 0x218], 4
jne 0x10009876
push 3
lea eax, [ebp - 0x210]
push 0x10017620
push eax
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x10009840
push 3
lea eax, [ebp - 0x210]
push 0x10017624
push eax
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x10009840
mov al, bl
jmp 0x10009878
xor eax, eax
push eax
push eax
push eax
movsx ax, byte [ebp - 0x20d]
movzx eax, ax
push eax
call fcn.10009989
mov ecx, dword [0x10020678]
add esp, 0x10
mov edi, eax
mov esi, edx
call fcn.10009989
cmp edx, esi
jb 0x10009872
ja 0x1000983c
cmp eax, edi
jae 0x1000983c
xor bl, bl
jmp 0x1000983c
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10013bb0
leave
ret 4

Function at 0x10009989
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x10009998
pop dword [ebp - 0x38]
mov eax, 0x98c3d895
sub eax, 0x88c33efd
sub dword [ebp - 0x38], eax
push 0x40
push 0x1000
push 0x3d726
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x38]
call dword [eax]
mov ecx, 0x54cd
xor ebx, ebx
add ebx, eax
mov edi, 0x6dde8f1f
sub edi, 0x5ddc4b1f
add edi, dword [ebp - 0x38]
mov edx, 0xf83f6135
xor dword [ebp - 0x30], 0xc259cebd
mov esi, dword [edi]
sub dword [ebp - 0x18], 0x224469f5
sub esi, edx
add dword [ebp - 0x34], esi
mov dword [ebx], esi
add ebx, 4
add edi, 4
loop 0x100099e8
add eax, 0x163a2bfe
add eax, 0xe9c71a09
xor ebx, ebx
add ebx, eax
add eax, 0xe9333bc7
add eax, 0x16ccc43e
mov ecx, 0x10000000
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x4078a8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x4078b7
pop dword [ebp - 0xc]
mov eax, 0x67bdf5b5
sub eax, 0x677d7cfe
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x3fc64
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0x90e77ea6
sub ecx, 0x90e72ecd
mov edx, eax
mov ebx, 0x435400
add ebx, dword [ebp - 0xc]
mov edi, 0xf542999f
xor dword [ebp - 4], 0xa7070280
mov esi, dword [ebx]
sub dword [ebp - 8], eax
sub esi, edi
mov dword [ebp - 4], 0x73331812
mov dword [edx], esi
sub dword [ebp - 4], ecx
add edx, 4
add ebx, 0x4ad02b3c
sub ebx, 0x4ad02b38
loop 0x407905
add eax, 0xcd08e79b
add eax, 0x32f84a9c
xor ebx, ebx
add ebx, eax
add eax, 0x8aeb9339
add eax, 0x75146ccc
mov ecx, 0x2a71017
sub ecx, 0x2671017
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x40ce23
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov edi, dword [ebp + 8]
mov edi, dword [edi]
push edi
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
pop edi
mov esi, ecx
not esi
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0xc]
lea eax, [eax + 0x10]
push dword [eax]
xor eax, eax
push edx
mov ecx, dword [edx + 0x30]
movzx ebx, byte [eax + edi]
movzx edx, byte [ecx + eax*2]
sub ebx, edx
cmp ebx, 0
je 0x40ce6a
cmp ebx, 0x20
je 0x40ce6a
cmp ebx, 0xffffffe0
je 0x40ce6a
jne 0x40ce73
add eax, 1
cmp esi, eax
je 0x40ce80
jne 0x40ce4f
pop edx
mov edx, dword [edx]
xor eax, eax
pop ebx
cmp ebx, edx
push ebx
je 0x40ce84
jne 0x40ce4b
pop edx
mov eax, dword [edx + 0x18]
leave
ret 4
Function at 0x457440
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x52da0b
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.0052115f
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4574c2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0051e072
mov eax, dword [eax]
push 0x578d84
push eax
call fcn.004fdb84
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.005213ea
test bl, bl
je 0x4574c2
push 0x578d84
lea ecx, [esp + 0xc]
call fcn.0052177a
push 0x578d90
lea ecx, [esp + 0xc]
call fcn.0052177a
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 0x4574fe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.005213ea
jmp 0x4575c9
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 0x457582
lea edx, [esp + 0x7c]
push 0x578d8c
push edx
call fcn.004fdb84
add esp, 8
test eax, eax
je 0x457582
lea eax, [esp + 0x7c]
push 0x578d88
push eax
call fcn.004fdb84
add esp, 8
test eax, eax
je 0x457582
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 0x457512
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.005213ea
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 0x457dc0
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 0x457e22
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