joyce8/EMBER2024-capa huggingface dataset:
Function at 0x477ae3
Capabilities:
Get common file path

Disassembly:
push 0x86c
mov eax, 0x4a224c
call fcn.0049fa2f
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x878], esi
push 0x802
xor ebx, ebx
mov dword [ebp - 0x878], esi
lea eax, [ebp - 0x814]
push ebx
push eax
call dword [sym.imp.VCRUNTIME140.dll_memset]
add esp, 0xc
lea eax, [ebp - 0x814]
push eax
push ebx
push ebx
push 0x801a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x477c46
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x844]
call fcn.00466b44
mov edx, edi
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x85c]
call fcn.0046ef25
push eax
mov edx, str.AdobeHeadlightsCCHLLog_
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x874]
call fcn.00466b44
mov byte [ebp - 4], 5
mov ecx, eax
mov dword [esp], 0x4b9560
call fcn.00466b44
push eax
lea ecx, [ebp - 0x82c]
mov dword [ebp - 0x82c], ebx
mov dword [ebp - 0x81c], ebx
mov dword [ebp - 0x818], ebx
call fcn.00466b44
mov byte [ebp - 4], 6
lea eax, [ebp - 0x82c]
cmp dword [ebp - 0x818], 8
lea ecx, [ebp - 0x844]
push dword [ebp - 0x81c]
cmovae eax, dword [ebp - 0x82c]
push eax
call fcn.00472323
lea ecx, [ebp - 0x82c]
call fcn.0046d98d
lea ecx, [ebp - 0x874]
call fcn.0046d98d
lea ecx, [ebp - 0x85c]
mov byte [ebp - 4], bl
call fcn.0046d98d
lea edx, [ebp - 0x844]
lea ecx, [ebp - 0x85c]
call fcn.004711e9
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.004708e3
lea ecx, [ebp - 0x85c]
mov byte [ebp - 4], 0
mov bl, al
call fcn.0046d98d
test bl, bl
je 0x477c37
lea edx, [ebp - 0x844]
mov ecx, esi
call fcn.0046ee68
lea ecx, [ebp - 0x844]
call fcn.0046d98d
jmp 0x477c52
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x844]
call fcn.0046d98d
push 0x4adacc
mov ecx, esi
call fcn.00466b44
mov eax, esi
call fcn.0049f9de
ret

Function at 0x477c5a
Capabilities:
Get common file path

Disassembly:
push 0x83c
mov eax, 0x4a229b
call fcn.0049fa2f
mov esi, ecx
mov dword [ebp - 0x848], esi
push 0x802
xor ebx, ebx
mov dword [ebp - 0x848], esi
lea eax, [ebp - 0x814]
push ebx
push eax
call dword [sym.imp.VCRUNTIME140.dll_memset]
add esp, 0xc
lea eax, [ebp - 0x814]
push eax
push ebx
push ebx
push 0x801a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x477d2d
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x82c]
call fcn.00466b44
push 0x20
push str.AdobeRTTransferRTDebugLog.txt
lea ecx, [ebp - 0x82c]
mov dword [ebp - 4], ebx
call fcn.00472323
lea edx, [ebp - 0x82c]
lea ecx, [ebp - 0x844]
call fcn.004711e9
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.004708e3
lea ecx, [ebp - 0x844]
mov byte [ebp - 4], 0
mov bl, al
call fcn.0046d98d
test bl, bl
je 0x477d1e
lea edx, [ebp - 0x82c]
mov ecx, esi
call fcn.0046ee68
lea ecx, [ebp - 0x82c]
call fcn.0046d98d
jmp 0x477d39
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x82c]
call fcn.0046d98d
push 0x4adacc
mov ecx, esi
call fcn.00466b44
mov eax, esi
call fcn.0049f9de
ret
Function at 0x47f3f2
Capabilities:
Get common file path

Disassembly:
push 0x278
mov eax, 0x4a3862
call fcn.0049fa2f
mov ebx, ecx
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x284], ebx
mov eax, dword fs:[0x2c]
xor esi, esi
mov dword [ebp - 0x284], ebx
mov edi, 0x4cb43c
mov ecx, dword [eax]
mov eax, dword [0x4cb438]
cmp eax, dword [ecx + 4]
jle 0x47f46f
push 0x4cb438
call fcn.00466b44
cmp dword [0x4cb438], 0xffffffff
pop ecx
jne 0x47f46f
push 0x4b9024
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.00466b44
push 0x4a6690
call fcn.00466b44
or dword [ebp - 4], 0xffffffff
mov dword [esp], 0x4cb438
call fcn.00466b44
pop ecx
cmp dword [0x4cb44c], 0
jne 0x47f590
push 0x20a
lea eax, [ebp - 0x21c]
push esi
push eax
call dword [sym.imp.VCRUNTIME140.dll_memset]
add esp, 0xc
call fcn.00466b44
test al, al
je 0x47f563
push str.LogSession
lea ecx, [ebp - 0x24c]
call fcn.00466b44
lea ecx, [ebp - 0x24c]
mov dword [ebp - 4], 1
call fcn.00477e85
mov ebx, eax
lea ecx, [ebp - 0x264]
push 0x4adacc
mov eax, dword [ebx]
mov edi, dword [eax + 0x40]
call fcn.00466b44
mov esi, eax
push str.IE_is_protected_mode_
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 2
call fcn.00466b44
push esi
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 3
push eax
mov ecx, edi
call dword [0x4a75c0]
mov ecx, ebx
call edi
lea ecx, [ebp - 0x234]
call fcn.0046a23d
lea ecx, [ebp - 0x264]
call fcn.0046a23d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.0046a23d
lea ecx, [ebp - 0x27c]
call fcn.00474779
mov esi, eax
mov edi, 0x4cb43c
cmp esi, edi
je 0x47f550
mov ecx, edi
call fcn.0046d98d
push esi
mov ecx, edi
call fcn.00466b44
lea ecx, [ebp - 0x27c]
call fcn.0046d98d
mov ebx, dword [ebp - 0x280]
jmp 0x47f590
lea eax, [ebp - 0x21c]
push eax
push esi
push esi
push 0x801a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
lea ecx, [ebp - 0x21c]
mov eax, 0x4b9024
cmovne ecx, eax
push ecx
mov ecx, edi
call fcn.00466b44
push edi
mov ecx, ebx
call fcn.004723ba
mov eax, ebx
call fcn.0049f9de
ret

Function at 0x47f7a8
Capabilities:
Get session user name

Disassembly:
push 0x254
mov eax, 0x4a38b6
call fcn.0049fa2f
mov esi, ecx
mov dword [ebp - 0x260], esi
xor eax, eax
mov dword [ebp - 0x260], esi
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x214]
mov dword [ebp - 0x260], 0x100
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x25c]
call fcn.00466b44
and dword [ebp - 4], 0
lea edx, [ebp - 0x25c]
lea ecx, [ebp - 0x22c]
call fcn.0046ee68
push str.AdobeHeadlights
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 1
call fcn.00466b44
mov byte [ebp - 4], 2
lea eax, [ebp - 0x22c]
cmp dword [ebp - 0x218], 0x10
lea ecx, [ebp - 0x244]
push dword [ebp - 0x21c]
cmovae eax, dword [ebp - 0x22c]
push eax
call fcn.0046a372
push eax
mov ecx, esi
call fcn.00469e2b
lea ecx, [ebp - 0x244]
call fcn.0046a23d
lea ecx, [ebp - 0x22c]
call fcn.0046a23d
lea ecx, [ebp - 0x25c]
call fcn.0046d98d
mov eax, esi
call fcn.0049f9de
ret
Function at 0x47fe6f
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xf4
mov eax, 0x4a39c0
call fcn.0049fa2f
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x48], eax
cmp dword [ecx], ebx
jne 0x47fe97
xor al, al
jmp 0x47ff75
push 0x802
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x4c], 0x400
call fcn.00466b44
mov dword [esp], 0x802
mov edi, eax
push ebx
push edi
call dword [sym.imp.VCRUNTIME140.dll_memset]
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x47fec9
mov eax, dword [esi]
lea ecx, [ebp - 0x4c]
push ecx
push edi
lea ecx, [ebp - 0x44]
push ecx
push ebx
push eax
mov eax, dword [ebp - 0x50]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cdq
cmp eax, ebx
jne 0x47ff55
cmp edx, ebx
jne 0x47ff55
cmp dword [ebp - 0x44], 4
jne 0x47ff48
mov esi, dword [edi]
push ecx
lea ecx, [ebp - 0x100]
call fcn.0048014f
push esi
lea ecx, [ebp - 0xf0]
mov dword [ebp - 4], ebx
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int_]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xe8]
call fcn.0047276e
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x28]
push eax
call fcn.00466b44
lea ecx, [ebp - 0x28]
call fcn.0046d98d
lea ecx, [ebp - 0x98]
call fcn.0048011f
lea ecx, [ebp - 0x98]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
jmp 0x47ff51
mov ecx, dword [ebp - 0x48]
push edi
call fcn.00466b44
mov bl, 1
jmp 0x47ff6c
push esi
mov edx, str.Query_registry_value_with_key:
lea ecx, [ebp - 0x40]
call fcn.00466b44
pop ecx
lea ecx, [ebp - 0x40]
call fcn.0046d98d
push edi
call fcn.0048844b
pop ecx
mov al, bl
call fcn.0049f9de
ret 8

Function at 0x48ab60
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
push esi
xor esi, esi
cmp ecx, edx
je 0x48ab95
nop
movsx eax, byte [ecx]
inc ecx
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor esi, eax
rol esi, 0xd
add esi, 0xfaddaf14
lea esi, [esi + esi*4]
cmp ecx, edx
jne 0x48ab70
mov eax, 3
mov ecx, esi
mul esi
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 0x1e
imul ecx, ecx, 0x7fffffff
sub esi, ecx
or esi, 0x40000000
mov eax, esi
pop esi
ret
Function at 0x403a5d
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 0x403aa4
cmp ebx, 0x20
je 0x403aa4
cmp ebx, 0xffffffe0
je 0x403aa4
jne 0x403aad
add eax, 1
cmp esi, eax
je 0x403aba
jne 0x403a89
pop edx
mov edx, dword [edx]
xor eax, eax
pop ebx
cmp ebx, edx
push ebx
je 0x403abe
jne 0x403a85
pop edx
mov eax, dword [edx + 0x18]
leave
ret 4

Function at 0x403ad2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
sub esp, 0x10
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [edx]
test eax, eax
je 0x403b93
test ecx, ecx
je 0x403b93
mov ebx, dword [eax + 0x3c]
mov edx, dword [ebx + eax + 0x78]
mov ebx, dword [ebx + eax + 0x7c]
test edx, edx
je 0x403b93
test ebx, ebx
je 0x403b93
mov ebx, eax
add ebx, edx
je 0x403b93
mov esi, dword [edx + eax + 0x18]
test esi, esi
je 0x403b93
cmp dword [edx + eax + 0x14], 0
je 0x403b93
mov edi, dword [edx + eax + 0x20]
mov ebx, dword [edx + eax + 0x24]
add edi, eax
mov edx, dword [edx + eax + 0x1c]
add ebx, eax
add edx, eax
test esi, esi
jbe 0x403b93
mov dword [esp], edx
xor ebp, ebp
mov dword [esp + 0xc], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 8]
movzx ecx, word [ebx + ebp*2]
mov esi, dword [eax + ebp*4]
add esi, dword [esp + 0x24]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x403b83
test dl, dl
je 0x403b7f
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x403b83
add edi, 2
add esi, 2
test dl, dl
jne 0x403b63
xor eax, eax
jmp 0x403b88
sbb eax, eax
or eax, 1
test eax, eax
je 0x403b9f
inc ebp
cmp ebp, dword [esp + 4]
jb 0x403b50
xor eax, eax
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8
mov edx, dword [esp]
mov edx, dword [edx + ecx*4]
mov eax, dword [esp + 0x24]
add eax, edx
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8
Function at 0x404a95
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x404ac3
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x404aba
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x404ab2
mov eax, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x404ae4
mov esp, ebp
pop ebp
ret

Function at 0x404ae8
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0x10]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x404b54
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x404b81
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x404b70
xor ecx, eax
xor edx, ebx
dec edi
jne 0x404b61
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x404ba7
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x404b48
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
pop ecx
pop edx
pop edi
pop ebx
pop esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x404bd3
mov esp, ebp
pop ebp
ret 0xc

Function at 0x406230
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x40624e
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x406243
pop esi
ret
Function at 0x423679
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x423688
pop dword [ebp - 0x40]
mov eax, 0x4341169d
add eax, 0xbd011feb
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x3b467
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0x586f1100
add ecx, 0xa7913260
mov edx, eax
mov ebx, 0x894287d6
add ebx, 0x7700a62a
add ebx, dword [ebp - 0x40]
mov esi, 0x3ff57ec7
add esi, 0x6aeee055
sub dword [ebp - 0x24], edx
mov edi, dword [ebx]
add dword [ebp - 8], 0x823232ff
xor edi, esi
mov dword [edx], edi
xor dword [ebp - 0x34], edi
add edx, 0x4cecaca3
add edx, 0xb3135361
add ebx, 4
loop 0x4236e2
add eax, 0xd267af8e
add eax, 0x2d9950c5
mov ebx, eax
add eax, 0x292543e7
add eax, 0xd6dabc1e
mov ecx, 0x400000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x57b7431b
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x57b78098]
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x218], edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x57b74357
mov eax, 0x80004005
jmp 0x57b743de
push esi
lea eax, [ebp - 0x210]
push eax
push 0x2000000
xor esi, esi
push esi
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x57b743db
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, 0x104
jmp 0x57b74392
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call fcn.57b7431b
lea eax, [ebp - 0x224]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x210]
mov dword [ebp - 0x214], ebx
call edi
test eax, eax
je 0x57b74380
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
pop edi
pop ebx
call fcn.57b73ebd
leave
ret 8
Function at 0x57b743f1
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x284
mov eax, dword [0x57b78098]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
lea esi, [ebp + 8]
lea edi, [ebp - 0x26c]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp + 0x20]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x280], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x284], eax
movsd dword es:[edi], dword [esi]
push 0x27
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x26c]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 0x18]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x25c]
push 0x57b7167c
push eax
call esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
add esp, 0xc
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x25c]
push eax
push 0x80000000
call ebx
test eax, eax
jne 0x57b74570
push edi
mov edi, 0x57b71674
lea eax, [ebp - 0x25c]
push edi
push eax
call esi
add esp, 0xc
push 0x208
lea eax, [ebp - 0x25c]
push eax
push 1
push 0
push dword [ebp - 0x270]
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
test eax, eax
mov dword [ebp - 0x278], eax
je 0x57b744cd
push dword [ebp - 0x270]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x57b7456a
push dword [ebp - 0x284]
lea eax, [ebp - 0x25c]
push edi
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0x270]
call ebx
mov ebx, eax
test ebx, ebx
je 0x57b7450c
push dword [ebp - 0x270]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x57b74570
push dword [ebp - 0x27c]
lea eax, [ebp - 0x25c]
push edi
push eax
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
add esp, 0xc
lea eax, [ebp - 0x25c]
push eax
call ebx
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x25c]
push eax
push 1
push 0
push dword [ebp - 0x274]
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
test eax, eax
mov dword [ebp - 0x278], eax
je 0x57b74577
push dword [ebp - 0x270]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x274]
call esi
mov eax, dword [ebp - 0x278]
or eax, 0x80070000
jmp 0x57b745de
push dword [ebp - 0x280]
lea eax, [ebp - 0x25c]
push edi
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x25c]
push eax
call ebx
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x25c]
push eax
push 1
push 0
push 0x57b71654
push dword [ebp - 0x274]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x270]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
call esi
push dword [ebp - 0x274]
call esi
test edi, edi
jle 0x57b745dc
and edi, 0xffff
or edi, 0x80070000
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.57b73ebd
leave
ret 0x20
Function at 0x57b7691a
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x18]
push eax
lea ecx, [ebp - 4]
call fcn.57b71795
xor edi, edi
cmp dword [esi + 0x14], edi
jne 0x57b76953
lea eax, [ebp - 8]
push eax
push edi
push esi
push 0x57b768ec
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
mov dword [esi + 0x14], eax
je 0x57b76953
inc edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x410010
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.004101c0
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x41010e
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x4100b1
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x4100f4
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x4100c8
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x4100e3
test al, 0x40
je 0x4100da
mov ecx, dword [edi + 0x20]
jmp 0x4100e1
test al, 0x80
je 0x4100f4
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x4100f4
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x410080
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x42a380
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4dc5cb
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.004d0280
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x42a402
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004cd276
mov eax, dword [eax]
push 0x5a7e84
push eax
call fcn.004beef4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004d050b
test bl, bl
je 0x42a402
push 0x5a7e84
lea ecx, [esp + 0xc]
call fcn.004d089b
push 0x5a7e90
lea ecx, [esp + 0xc]
call fcn.004d089b
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 0x42a43e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004d050b
jmp 0x42a509
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 0x42a4c2
lea edx, [esp + 0x7c]
push 0x5a7e8c
push edx
call fcn.004beef4
add esp, 8
test eax, eax
je 0x42a4c2
lea eax, [esp + 0x7c]
push 0x5a7e88
push eax
call fcn.004beef4
add esp, 8
test eax, eax
je 0x42a4c2
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 0x42a452
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.004d050b
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 0x42ad20
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 0x42ad82
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