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

Disassembly:
push 0x14
mov eax, 0x45788d
call fcn.00450aac
mov esi, ecx
mov dword [ebp - 0x18], esi
xor ebx, ebx
lea eax, [ebp - 0x10]
push ebx
push ebx
push ebx
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x42c8f9
jle 0x42c8e3
movzx eax, ax
or eax, 0x80070000
push eax
lea ecx, [ebp - 0x18]
call fcn.00418994
push 0x45c73c
mov eax, ecx
push eax
call fcn.0043866a
mov eax, dword [ebp - 0x10]
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00435a05
mov edi, eax
pop ecx
cmp dword [ebp - 0x14], ebx
jbe 0x42c98a
mov ecx, dword [ebp - 0x10]
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x1c]
inc ecx
push eax
push edi
push ebx
push dword [esi + 4]
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov esi, eax
test esi, esi
je 0x42c943
cmp esi, 0x103
jne 0x42c970
push edi
lea ecx, [ebp - 0x20]
call fcn.00419772
mov ecx, dword [ebp + 8]
and dword [ebp - 4], 0
push eax
call fcn.0041a6ca
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00419240
inc ebx
cmp ebx, dword [ebp - 0x14]
jae 0x42c98a
mov esi, dword [ebp - 0x18]
jmp 0x42c919
push edi
call fcn.00435690
pop ecx
test esi, esi
jle 0x42c984
movzx esi, si
or esi, 0x80070000
push esi
jmp 0x42c8e4
push edi
call fcn.00435690
pop ecx
call fcn.00450a75
ret 4

Function at 0x42c999
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x14
mov eax, 0x45788d
call fcn.00450aac
mov esi, ecx
mov dword [ebp - 0x18], esi
xor ebx, ebx
lea eax, [ebp - 0x10]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x42c9ea
jle 0x42c9d4
movzx eax, ax
or eax, 0x80070000
push eax
lea ecx, [ebp - 0x18]
call fcn.00418994
push 0x45c73c
mov eax, ecx
push eax
call fcn.0043866a
mov eax, dword [ebp - 0x10]
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00435a05
mov edi, eax
pop ecx
cmp dword [ebp - 0x14], ebx
jbe 0x42ca7b
mov ecx, dword [ebp - 0x10]
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x1c]
inc ecx
push eax
push edi
push ebx
push dword [esi + 4]
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
test esi, esi
je 0x42ca34
cmp esi, 0x103
jne 0x42ca61
push edi
lea ecx, [ebp - 0x20]
call fcn.00419772
mov ecx, dword [ebp + 8]
and dword [ebp - 4], 0
push eax
call fcn.0041a6ca
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00419240
inc ebx
cmp ebx, dword [ebp - 0x14]
jae 0x42ca7b
mov esi, dword [ebp - 0x18]
jmp 0x42ca0a
push edi
call fcn.00435690
pop ecx
test esi, esi
jle 0x42ca75
movzx esi, si
or esi, 0x80070000
push esi
jmp 0x42c9d5
push edi
call fcn.00435690
pop ecx
call fcn.00450a75
ret 4
Function at 0x42d489
Capabilities:
Get system information on windows

Disassembly:
push 0x5c
mov eax, 0x457aa3
call fcn.00450b17
mov edi, ecx
mov dword [ebp - 0x28], edi
xor bl, bl
cmp dword [edi + 0x20], 0
mov byte [ebp - 0x15], bl
jne 0x42d4c4
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x68]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
xor eax, eax
cmp ax, word [ebp - 0x68]
jne 0x42d4e2
mov edi, dword [ebp - 0x28]
cmp dword [edi + 0x20], 1
jne 0x42d4d3
call fcn.0042a1cf
test al, al
je 0x42d4e2
cmp dword [edi + 0x20], 2
jne 0x42d4e9
call fcn.0042a1a3
test al, al
jne 0x42d4e9
xor al, al
jmp 0x42d6fb
and dword [ebp - 4], 0
lea eax, [edi + 0x30]
push dword [edi + 0x14]
mov dword [ebp - 0x2c], eax
push dword [eax]
push dword [edi + 0x2c]
push dword [edi + 0x28]
push 0x412430
push dword [0x460620]
call fcn.0042b2ab
add esp, 0x18
mov esi, 0x460d24
mov ecx, esi
push dword [edi + 0x28]
call fcn.0042c852
test al, al
je 0x42d6f9
push 0x20019
push dword [edi + 0x28]
mov ecx, esi
call fcn.0042c22e
mov esi, eax
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x42d699
push dword [edi + 0x2c]
mov ecx, esi
call fcn.0042c88a
test al, al
je 0x42d699
cmp byte [edi + 0x34], 0
mov ecx, esi
push dword [edi + 0x2c]
je 0x42d60d
call fcn.0042c5eb
push dword [edi + 0x30]
mov dword [ebp - 0x20], eax
call fcn.0043b7a4
mov ebx, eax
pop ecx
test ebx, ebx
je 0x42d5db
call fcn.0043bafa
cmp dword [eax], 0x16
je 0x42d5db
call fcn.0043bafa
cmp dword [eax], 0x22
je 0x42d5db
push dword [ebp - 0x20]
push 0x412614
push dword [0x460620]
call fcn.0042b2ab
add esp, 0xc
push ebx
push 0x4124d0
push dword [0x460620]
call fcn.0042b2ab
add esp, 0xc
cmp byte [edi + 0x35], 0
je 0x42d5d0
cmp ebx, dword [ebp - 0x20]
sbb bl, bl
inc bl
jmp 0x42d696
cmp dword [ebp - 0x20], ebx
sete bl
jmp 0x42d696
mov eax, dword [ebp - 0x2c]
push dword [eax]
push 0x412580
push dword [0x460620]
call fcn.0042b260
add esp, 0xc
lea ecx, [ebp - 0x30]
push 0x8007000d
call fcn.00418994
push 0x45c73c
mov eax, ecx
push eax
call fcn.0043866a
lea eax, [ebp - 0x2c]
push eax
call fcn.0042c496
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.0042e39b
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00419240
mov ebx, dword [ebp - 0x20]
mov eax, ebx
mov ecx, dword [ebp - 0x24]
shrd ecx, eax, 0x10
shr eax, 0x10
movzx eax, cx
push eax
movzx eax, bx
push eax
mov eax, ebx
shr eax, 0x10
push eax
push 0x412508
push dword [0x460620]
call fcn.0042b2ab
add esp, 0x14
lea eax, [edi + 0x30]
cmp byte [edi + 0x35], 0
lea ecx, [ebp - 0x44]
push eax
je 0x42d683
call fcn.0042e39b
cmp ebx, dword [eax + 4]
ja 0x42d694
jb 0x42d67f
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax]
ja 0x42d694
mov bl, 1
jmp 0x42d696
call fcn.0042e39b
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax]
jne 0x42d694
cmp ebx, dword [eax + 4]
je 0x42d67f
xor bl, bl
mov byte [ebp - 0x15], bl
mov byte [ebp - 4], 0
test esi, esi
je 0x42d6a9
push ecx
mov ecx, esi
call fcn.0041d0b7
test bl, bl
je 0x42d6f9
push dword [edi + 0x14]
push 0x412650
push dword [0x460620]
call fcn.0042b292
add esp, 0xc
jmp 0x42d6f9
mov al, bl
call fcn.00450a75
ret
Function at 0x42e5c9
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov eax, edx
xor edi, edi
push edi
mov dword [ebp - 0xc], eax
mov esi, ecx
mov dword [ebp - 4], edi
push dword [eax]
mov dword [ebp - 8], edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x42e640
push ebx
call fcn.00435a05
pop ecx
mov edi, eax
mov eax, dword [ebp - 0xc]
push edi
push ebx
push 0
push dword [eax]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x42e632
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x4113c0
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x42e632
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 8], eax
jmp 0x42e635
mov ebx, dword [ebp - 4]
push edi
call fcn.00435690
pop ecx
xor edi, edi
jmp 0x42e642
mov ebx, edi
mov eax, ebx
mov edx, edi
mov cl, 0x20
call fcn.004510f0
mov dword [esi], eax
mov eax, dword [ebp - 8]
or dword [esi], eax
mov eax, esi
mov dword [esi + 4], edx
or dword [esi + 4], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42ecfb
Capabilities:
Get user security identifier

Disassembly:
push 0xd4
mov eax, 0x457d4f
call fcn.00450ae0
mov esi, ecx
call fcn.0042ee75
and dword [ebp - 0xd8], 0
and dword [ebp - 4], 0
lea ecx, [ebp - 0xd8]
push 0x100
call fcn.0041974d
mov edi, dword [ebp - 0xd8]
lea ebx, [esi + 0x4c]
push ebx
lea eax, [ebp - 0xdc]
mov dword [ebp - 0xe0], 0x44
push eax
push edi
lea eax, [ebp - 0xe0]
mov dword [ebp - 0xdc], 0x80
push eax
lea eax, [ebp - 0x54]
push eax
push 0x413300
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x42edd8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x42ee31
cmp dword [ebp - 0xe0], 0x44
jbe 0x42ed90
push 0x80004005
call fcn.004189a2
cmp dword [ebp - 0xdc], 0x80
jbe 0x42edb3
push dword [ebp - 0xdc]
lea ecx, [ebp - 0xd8]
call fcn.004313e1
mov edi, dword [ebp - 0xd8]
push ebx
lea eax, [ebp - 0xdc]
push eax
push edi
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x54]
push eax
push 0x413300
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x42ee31
lea eax, [ebp - 0x54]
mov byte [esi + 0x48], 1
push eax
lea eax, [esi + 4]
push eax
push dword [ebp - 0xe0]
call dword [sym.imp.ADVAPI32.dll_CopySid]
test eax, eax
je 0x42ee31
push edi
lea ecx, [esi + 0x54]
call fcn.0041a819
push 0x413300
lea ecx, [esi + 0x50]
call fcn.0041a819
push 0
lea ecx, [esi + 0x5c]
call fcn.0041a819
lea ecx, [ebp - 0xd4]
cmp dword [ebp - 0xd8], ecx
je 0x42ee2d
lea ecx, [ebp - 0xd8]
call fcn.00419744
mov al, 1
jmp 0x42ee53
mov ecx, esi
call fcn.0042ee75
lea eax, [ebp - 0xd4]
cmp dword [ebp - 0xd8], eax
je 0x42ee51
lea ecx, [ebp - 0xd8]
call fcn.00419744
xor al, al
call fcn.00450a8a
ret 8
Function at 0x430e38
Capabilities:
Compare security identifiers

Disassembly:
push 0x64
mov eax, 0x458067
call fcn.00450ae0
mov esi, ecx
cmp dword [esi + 0x34], 0
mov edi, dword [ebp + 8]
jne 0x430e53
xor al, al
jmp 0x430ebc
lea ecx, [ebp - 0x70]
call fcn.0042e8ed
xor ebx, ebx
lea eax, [ebp - 0x70]
mov dword [ebp - 4], ebx
mov ecx, dword [edi]
push eax
call fcn.00430268
lea ecx, [ebp - 0x70]
call fcn.0042ee5b
test al, al
je 0x430eb2
mov esi, dword [esi + 0x34]
lea edi, [esi + 4]
test edi, edi
je 0x430eaa
lea ecx, [ebp - 0x70]
call fcn.0042ee5b
test al, al
je 0x430eaa
mov ecx, esi
call fcn.0042ee5b
test al, al
je 0x430eaa
push edi
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
setne al
jmp 0x430eac
mov al, bl
test al, al
je 0x430eb2
mov bl, 1
lea ecx, [ebp - 0x70]
call fcn.0042ead5
mov al, bl
call fcn.00450a8a
ret 4

Function at 0x4335d4
Capabilities:
Check mutex on windows

Disassembly:
push 0x30
mov eax, 0x458507
call fcn.00450ae0
mov dword [ebp - 0x3c], ecx
mov eax, dword [0x45d9d0]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x20]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CoCreateGuid]
lea esi, [ebp - 0x20]
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00433b90
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.00419a78
lea ecx, [ebp - 0x38]
call fcn.00419240
push dword [ebp - 0x34]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, dword [ebp - 0x3c]
mov dword [esi + 4], eax
test eax, eax
jne 0x433684
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x433659
cmp eax, 0xb7
je 0x433659
test eax, eax
jg 0x433654
mov ebx, eax
jmp 0x433684
movzx ebx, ax
jmp 0x43367e
push dword [ebp - 0x34]
push ebx
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [esi + 4], eax
test eax, eax
jne 0x433684
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x433684
movzx ebx, bx
or ebx, 0x80070000
lea ecx, [ebp - 0x34]
call fcn.00419240
mov eax, ebx
call fcn.00450a8a
ret 4

Function at 0x438337
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x401948
push 0x401940
push 0x401948
push 0
call fcn.004382b7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x438369
push dword [ebp + 8]
mov ecx, esi
call fcn.0043620b
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x4383ab
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x40196c
push 0x401964
push 0x40196c
push 2
call fcn.004382b7
add esp, 0x10
mov esi, eax
push dword [ebp + 8]
test esi, esi
je 0x4383dc
mov ecx, esi
call fcn.0043620b
call esi
jmp 0x4383e2
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop esi
pop ebp
ret
Function at 0x4383e5
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x401980
push 0x401978
push 0x401980
push 3
call fcn.004382b7
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x438419
mov ecx, esi
call fcn.0043620b
call esi
jmp 0x43841f
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret

Function at 0x43dfa3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edi, 0xfffc63e8
call dword [eax + 0x56]
push dword [ebp + 8]
call fcn.0043dbc1
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
inc ebp
movsb byte es:[edi], byte [esi]
and al, dh
inc ebp
movsd dword es:[edi], dword [esi]
xor eax, 0x41a645c6

Function at 0x43e41c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add dh, al
test dword [esi - 0x25000004], ebp
and byte [ebp - 0x351], 0
mov byte [ebp - 0x350], 0x62
mov byte [ebp - 0x34f], 0x40
mov byte [ebp - 0x34e], 0x51
mov byte [ebp - 0x34d], 0x75
mov byte [ebp - 0x34c], 0x57
mov byte [ebp - 0x34b], 0x4a
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
inc eax
Function at 0x443206
Capabilities:
Read file on windows

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

Function at 0x443211
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044304a
Function at 0x65250caf
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
cmp dword [ebp + 8], 0
nop
jmp 0x65250cc3
nop
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._read
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x65250ced
cmp dword [ebp - 0x10], 0
je 0x65250d02
jmp 0x65250d0a
mov eax, dword [sym.imp.msvcrt.dll__errno]
call eax
mov eax, dword [eax]
cmp eax, 4
je 0x65250d18
mov eax, 0xffffffff
jmp 0x65250d22
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp + 0x10]
jmp 0x65250d22
mov eax, dword [ebp - 0x10]
sub dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x10]
add dword [ebp + 0xc], eax
jmp 0x65250d19
nop
cmp dword [ebp + 0x10], 0
jne 0x65250cc2
mov eax, dword [ebp - 0xc]
leave
ret

Function at 0x65257846
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x20
mov dword [esp], 1
mov eax, dword [dbg.__acrt_iob_func]
call eax
mov dword [esp], eax
call sym._fflush
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x652578a0
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x34]
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x30]
mov dword [esp], 2
mov eax, dword [dbg.__acrt_iob_func]
call eax
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x6526b1f0
mov dword [esp], eax
call sym._fprintf
mov dword [esp], 2
mov eax, dword [dbg.__acrt_iob_func]
call eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], 9
mov dword [esp + 4], 1
mov dword [esp], str.Warning:
call sym._fwrite
lea eax, [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 0xc]
mov dword [esp], 2
mov eax, dword [dbg.__acrt_iob_func]
call eax
mov dword [esp + 8], ebx
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._vfprintf
mov dword [esp], 2
mov eax, dword [dbg.__acrt_iob_func]
call eax
mov dword [esp + 4], eax
mov dword [esp], 0xa
call sym._fputc
nop
add esp, 0x20
pop ebx
pop esi
pop ebp
ret
Function at 0x6525eb88
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
mov dword [esp + 0xc], 0
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dbg.lseek64
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
xor eax, 0xffffffff
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xc]
xor eax, 0xffffffff
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov eax, ecx
or eax, edx
test eax, eax
jne 0x6525ebea
mov eax, 0xffffffff
jmp 0x6525ec54
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._read
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x6525ec13
mov eax, 0xffffffff
jmp 0x6525ec54
mov dword [esp + 0xc], 0
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dbg.lseek64
mov ecx, eax
xor ecx, 0xffffffff
mov esi, ecx
mov eax, edx
xor eax, 0xffffffff
mov edi, eax
mov eax, edi
or eax, esi
test eax, eax
jne 0x6525ec51
mov eax, 0xffffffff
jmp 0x6525ec54
mov eax, dword [ebp - 0x14]
add esp, 0x30
pop esi
pop edi
pop ebp
ret

Function at 0x6525f790
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call dbg.__acrt_iob_func
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov dword [esp], 2
call dbg.__acrt_iob_func
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._vfprintf
call sym._abort
lea esi, [esi]
Function at 0x42a800
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d61db
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.004ca146
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x42a882
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004c74e6
mov eax, dword [eax]
push 0x51ee7c
push eax
call fcn.004b8db4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004ca3d1
test bl, bl
je 0x42a882
push 0x51ee7c
lea ecx, [esp + 0xc]
call fcn.004ca761
push 0x51ee88
lea ecx, [esp + 0xc]
call fcn.004ca761
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 0x42a8be
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004ca3d1
jmp 0x42a989
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 0x42a942
lea edx, [esp + 0x7c]
push 0x51ee84
push edx
call fcn.004b8db4
add esp, 8
test eax, eax
je 0x42a942
lea eax, [esp + 0x7c]
push 0x51ee80
push eax
call fcn.004b8db4
add esp, 8
test eax, eax
je 0x42a942
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 0x42a8d2
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.004ca3d1
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 0x42bc20
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 0x42bc82
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x42bc90
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d633b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x530b18]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x42bdc8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x42bcf6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004ca3d1
xor eax, eax
jmp 0x42be3f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004ca50e
push esi
lea ecx, [esp + 0xc]
call fcn.004ca79d
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x51eecc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x42be1d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0042bc20
test eax, eax
jne 0x42be1d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.0042bc20
test eax, eax
jne 0x42be1d
lea eax, [esp + 0x14]
push 0x51eea8
push eax
call fcn.004b9f20
mov esi, eax
add esp, 8
test esi, esi
jne 0x42bdfc
lea ecx, [esp + 0x14]
push 0x51eea4
push ecx
call fcn.004b9ea0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42bdfc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42bdff
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004ca4be
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42bd0e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004ca3d1
xor eax, eax
jmp 0x42be3f
mov byte [esi], 0
push 0x51eea0
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004ca3d1
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4