joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10060cff
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x10093134]
xor eax, dword [ebp + 4]
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
jne 0x10060d28
xor eax, eax
jmp 0x10060e96
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 8]
and eax, 0x1f
sar ebx, 5
push esi
lea esi, [eax + eax*8]
lea ebx, [ebx*4 + 0x10095ec0]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0x10060d5b
push 2
push edi
push edi
push dword [ebp + 8]
call fcn.10066ea2
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x10060e2d
cmp dword [ebp + 0x10], edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], edi
jbe 0x10060e68
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x420]
mov dword [ebp - 0xc], edi
cmp ecx, dword [ebp + 0x10]
jae 0x10060db6
mov edx, dword [ebp - 0x10]
inc dword [ebp - 0x10]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x10060da7
inc dword [ebp - 0x18]
mov byte [eax], 0xd
inc eax
inc dword [ebp - 0xc]
mov byte [eax], dl
inc eax
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x400
jl 0x10060d8a
mov edi, eax
lea eax, [ebp - 0x420]
sub edi, eax
push 0
lea eax, [ebp - 0x1c]
push eax
push edi
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10060df6
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x14], eax
cmp eax, edi
jl 0x10060dff
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp + 0xc]
xor edi, edi
cmp eax, dword [ebp + 0x10]
jb 0x10060d7b
jmp 0x10060e01
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
xor edi, edi
mov eax, dword [ebp - 0x14]
cmp eax, edi
jne 0x10060e91
cmp dword [ebp - 8], edi
je 0x10060e68
push 5
pop esi
cmp dword [ebp - 8], esi
jne 0x10060e5a
call fcn.10057e5a
mov dword [eax], 9
call fcn.10057e63
mov dword [eax], esi
jmp 0x10060e63
push edi
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10060e4f
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], eax
jmp 0x10060e01
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x10060e01
push dword [ebp - 8]
call fcn.10057e6c
pop ecx
or eax, 0xffffffff
jmp 0x10060e94
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x10060e7d
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0x1a
jne 0x10060e7d
xor eax, eax
jmp 0x10060e94
call fcn.10057e5a
mov dword [eax], 0x1c
call fcn.10057e63
mov dword [eax], edi
jmp 0x10060e63
sub eax, dword [ebp - 0x18]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop edi
call fcn.1005a011
leave
ret
Function at 0x1006418c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x10093134]
xor eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 4], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x100937c0]
je 0x100641b9
inc eax
cmp eax, 0x12
jb 0x100641aa
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x100937c0]
jne 0x100642ed
mov eax, dword [0x10095a80]
cmp eax, 1
je 0x100642c8
cmp eax, edx
jne 0x100641e9
cmp dword [0x10095a84], 1
je 0x100642c8
cmp ecx, 0xfc
je 0x100642ed
push 0x104
lea eax, [ebp - 0x10c]
push eax
push edx
mov byte [ebp - 8], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10064222
lea eax, [ebp - 0x10c]
push str._program_name_unknown_
push eax
call fcn.10059950
pop ecx
pop ecx
lea eax, [ebp - 0x10c]
push eax
lea edi, [ebp - 0x10c]
call fcn.100561b0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x10064264
lea eax, [ebp - 0x10c]
push eax
call fcn.100561b0
mov edi, eax
lea eax, [ebp - 0x10c]
sub eax, 0x3b
push 3
add edi, eax
push 0x100802a0
push edi
call fcn.10056e60
add esp, 0x10
push edi
call fcn.100561b0
push dword [esi + 0x100937c4]
mov ebx, eax
call fcn.100561b0
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.100570c0
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.10059950
push edi
push ebx
call fcn.10059960
push 0x10080280
push ebx
call fcn.10059960
push dword [esi + 0x100937c4]
push ebx
call fcn.10059960
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.1006745a
add esp, 0x2c
jmp 0x100642ed
push edx
lea eax, [ebp + 8]
push eax
lea esi, [esi + 0x100937c4]
push dword [esi]
call fcn.100561b0
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]
lea esp, [ebp - 0x118]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.1005a011
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10066fe3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10093134]
xor eax, dword [ebp + 4]
push esi
mov esi, dword [ebp + 8]
test esi, esi
mov dword [ebp - 4], eax
je 0x10067065
push esi
call fcn.10068404
test eax, eax
pop ecx
jne 0x10067030
call fcn.10057e63
mov dword [eax], 0xf
call fcn.10057e5a
mov dword [eax], 0xd
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop esi
call fcn.1005a011
leave
ret
and word [ebp - 6], 0
lea eax, [ebp + 8]
push eax
add esi, 0x40
lea eax, [ebp - 0x214]
push eax
mov word [ebp - 0xc], si
mov esi, 0x104
push esi
lea eax, [ebp - 0xc]
push eax
mov word [ebp - 0xa], 0x3a
mov word [ebp - 8], 0x2e
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
jmp 0x10067078
lea eax, [ebp - 0x214]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x10067020
inc eax
cmp eax, esi
ja 0x10067020
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x100670af
cmp eax, dword [ebp + 0x10]
jg 0x10067090
mov eax, dword [ebp + 0x10]
add eax, eax
push eax
call fcn.1005983e
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x100670c4
call fcn.10057e5a
mov dword [eax], 0xc
jmp 0x10067020
cmp eax, dword [ebp + 0x10]
jle 0x100670c4
call fcn.10057e5a
mov dword [eax], 0x22
jmp 0x10067020
lea eax, [ebp - 0x214]
push eax
push ecx
call fcn.100564d6
pop ecx
pop ecx
jmp 0x10067022

Function at 0x1006745a
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x10095e84], ebx
push esi
push edi
jne 0x100674da
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x10067515
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
mov dword [0x10095e84], eax
je 0x10067515
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x10095e88], eax
call esi
cmp dword [0x10095a2c], 2
mov dword [0x10095e8c], eax
jne 0x100674da
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x10095e94], eax
je 0x100674da
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x10095e90], eax
mov eax, dword [0x10095e90]
test eax, eax
je 0x1006751f
call eax
test eax, eax
je 0x10067506
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x10095e94]
test eax, eax
je 0x10067506
test byte [ebp - 8], 1
jne 0x1006751f
cmp dword [0x10095a38], 4
jb 0x10067519
or byte [ebp + 0x12], 0x20
jmp 0x1006753e
xor eax, eax
jmp 0x1006754e
or byte [ebp + 0x12], 4
jmp 0x1006753e
mov eax, dword [0x10095e88]
test eax, eax
je 0x1006753e
call eax
mov ebx, eax
test ebx, ebx
je 0x1006753e
mov eax, dword [0x10095e8c]
test eax, eax
je 0x1006753e
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x10095e84]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10067553
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x100813a0
call fcn.10055e60
xor edi, edi
xor ebx, ebx
inc ebx
cmp dword [0x10095e98], edi
jne 0x10067597
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10067582
mov dword [0x10095e98], ebx
jmp 0x10067597
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x10067597
mov dword [0x10095e98], 2
mov eax, dword [0x10095e98]
cmp eax, ebx
jne 0x100675b7
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x1006767a
cmp eax, 2
je 0x100675c0
cmp eax, edi
jne 0x100675e8
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
cmp dword [ebp + 0x18], edi
jne 0x100675d3
mov eax, dword [0x10095e34]
mov dword [ebp + 0x18], eax
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 0x24], eax
cmp eax, edi
jne 0x100675ef
xor eax, eax
jmp 0x1006767a
mov dword [ebp - 4], edi
add eax, 3
and eax, 0xfffffffc
call fcn.100570c0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [ebp - 0x28], esi
or dword [ebp - 4], 0xffffffff
jmp 0x10067622
cmp esi, edi
jne 0x10067638
push dword [ebp - 0x24]
call fcn.1005983e
pop ecx
mov esi, eax
cmp esi, edi
je 0x100675e8
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x24]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x1006766b
cmp dword [ebp + 0x14], edi
jne 0x10067655
push edi
push edi
jmp 0x1006765b
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push esi
push ebx
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], edi
je 0x10067677
push esi
call fcn.10057a3f
pop ecx
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0x34]
call fcn.10055e9b
ret
Function at 0x10067683
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x100813b0
call fcn.10055e60
xor esi, esi
cmp dword [0x10095e9c], esi
jne 0x100676c7
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100676b2
mov dword [0x10095e9c], edi
jmp 0x100676c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x100676c7
mov dword [0x10095e9c], 2
mov eax, dword [0x10095e9c]
cmp eax, 2
je 0x100677a8
cmp eax, esi
je 0x100677a8
cmp eax, 1
jne 0x1006770c
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x18], esi
jne 0x100676f5
mov eax, dword [0x10095e34]
mov dword [ebp + 0x18], eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
jne 0x10067713
xor eax, eax
jmp 0x100677ba
mov dword [ebp - 4], esi
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.100570c0
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
jmp 0x10067749
cmp edi, esi
jne 0x10067764
lea eax, [ebx + ebx]
push eax
call fcn.1005983e
pop ecx
mov edi, eax
cmp edi, esi
je 0x1006770c
mov dword [ebp - 0x20], 1
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10067797
push esi
push esi
cmp dword [ebp + 0x14], esi
jne 0x10067781
push esi
push esi
jmp 0x10067787
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push edi
push esi
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0x100677a3
push edi
call fcn.10057a3f
pop ecx
mov eax, dword [ebp - 0x1c]
jmp 0x100677ba
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esp, [ebp - 0x34]
call fcn.10055e9b
ret
Function at 0x10068813
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
mov dword [ebp - 8], ebx
je 0x1006887e
push 0x3d
push dword [ebp + 8]
call fcn.10056644
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], esi
je 0x1006887e
cmp dword [ebp + 8], esi
je 0x1006887e
xor eax, eax
cmp byte [esi + 1], al
sete al
mov dword [ebp - 4], eax
mov eax, dword [0x10095a4c]
cmp eax, dword [0x10095a50]
jne 0x10068864
mov edi, eax
call fcn.100687b2
mov dword [0x10095a4c], eax
cmp eax, ebx
jne 0x100688bd
cmp dword [ebp + 0xc], ebx
je 0x10068886
cmp dword [0x10095a54], ebx
je 0x10068886
call fcn.10068399
test eax, eax
je 0x100688bd
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
cmp dword [ebp - 4], ebx
jne 0x100689c1
push 4
call fcn.1005983e
cmp eax, ebx
pop ecx
mov dword [0x10095a4c], eax
je 0x1006887e
mov dword [eax], ebx
cmp dword [0x10095a54], ebx
jne 0x100688bd
push 4
call fcn.1005983e
cmp eax, ebx
pop ecx
mov dword [0x10095a54], eax
je 0x1006887e
mov dword [eax], ebx
mov ebx, dword [0x10095a4c]
mov edi, esi
mov esi, dword [ebp + 8]
sub edi, esi
push esi
call fcn.10068765
mov edi, eax
test edi, edi
pop ecx
jl 0x10068916
cmp dword [ebx], 0
je 0x10068916
lea esi, [ebx + edi*4]
push dword [esi]
call fcn.10057a3f
xor eax, eax
cmp dword [ebp - 4], eax
pop ecx
jne 0x100688fe
mov eax, dword [ebp + 8]
mov dword [esi], eax
jmp 0x1006894c
mov ecx, dword [esi + 4]
mov dword [esi], ecx
inc edi
add esi, 4
cmp dword [esi], eax
jne 0x100688f5
mov eax, edi
shl eax, 2
push eax
push ebx
call fcn.10059be5
test eax, eax
pop ecx
pop ecx
je 0x1006894c
jmp 0x10068947
cmp dword [ebp - 4], 0
jne 0x100689ba
test edi, edi
jge 0x10068926
neg edi
lea eax, [edi*4 + 8]
push eax
push ebx
call fcn.10059be5
test eax, eax
pop ecx
pop ecx
je 0x1006887e
lea ecx, [eax + edi*4]
and dword [ecx + 4], 0
mov dword [ecx], esi
mov dword [0x10095a4c], eax
cmp dword [ebp + 0xc], 0
je 0x100689a3
push dword [ebp + 8]
call fcn.100561b0
inc eax
inc eax
push eax
call fcn.1005983e
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x100689a3
push dword [ebp + 8]
push esi
call fcn.10059950
mov eax, esi
sub eax, dword [ebp + 8]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
and byte [eax], 0
mov ecx, dword [ebp - 4]
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x1006899c
or dword [ebp - 8], 0xffffffff
push esi
call fcn.10057a3f
pop ecx
cmp dword [ebp - 4], 0
je 0x100689b2
push dword [ebp + 8]
call fcn.10057a3f
pop ecx
mov eax, dword [ebp - 8]
jmp 0x10068881
push esi
call fcn.10057a3f
pop ecx
xor eax, eax
jmp 0x10068881
Function at 0x43efc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, edx
push esi
push edi
mov esi, ebp
xor edi, edi
and esi, 3
mov eax, ecx
jle 0x43efe1
mov dl, byte [eax]
inc eax
cmp dl, bl
je 0x43f03b
inc edi
cmp edi, esi
jl 0x43efd5
mov edi, ebx
and edi, 0xff
mov esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
lea edi, [ecx + ebp]
cmp eax, edi
jae 0x43f070
mov edx, dword [eax]
xor edx, esi
lea ebp, [edx - 0x1010101]
not edx
and ebp, edx
test ebp, 0x80808080
je 0x43f02a
cmp byte [eax], bl
je 0x43f045
cmp byte [eax + 1], bl
je 0x43f04e
cmp byte [eax + 2], bl
je 0x43f058
cmp byte [eax + 3], bl
je 0x43f064
add eax, 4
cmp eax, edi
jb 0x43f001
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
dec eax
pop ebx
ret 4
pop edi
pop esi
pop ebp
sub eax, ecx
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
inc eax
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 2
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 3
pop ebx
ret 4
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4

Function at 0x43f670
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x43f6c6
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x43f6ad
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x442210
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x464670
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00441dc0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00441e40
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00441e40
lea ecx, [esi + 0xc]
call fcn.0045c576
lea ecx, [esi + 0x10]
call fcn.0045c576
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004433d0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004433d0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004433d0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0045c5eb
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0045c5eb
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4115c0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4847cb
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.00477192
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x411642
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00474c10
mov eax, dword [eax]
push 0x63f234
push eax
call fcn.00467694
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0047741d
test bl, bl
je 0x411642
push 0x63f234
lea ecx, [esp + 0xc]
call fcn.004777f9
push 0x642dac
lea ecx, [esp + 0xc]
call fcn.004777f9
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 0x41167e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0047741d
jmp 0x411749
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 0x411702
lea edx, [esp + 0x7c]
push 0x642da8
push edx
call fcn.00467694
add esp, 8
test eax, eax
je 0x411702
lea eax, [esp + 0x7c]
push 0x642da4
push eax
call fcn.00467694
add esp, 8
test eax, eax
je 0x411702
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 0x411692
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.0047741d
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 0x411f40
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 0x411fa2
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 0x411fb0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48484b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x649d94]
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 0x4120e8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x412016
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047741d
xor eax, eax
jmp 0x41215f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004775a6
push esi
lea ecx, [esp + 0xc]
call fcn.00477835
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x642de4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41213d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00411f40
test eax, eax
jne 0x41213d
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.00411f40
test eax, eax
jne 0x41213d
lea eax, [esp + 0x14]
push 0x642dc0
push eax
call fcn.00468770
mov esi, eax
add esp, 8
test esi, esi
jne 0x41211c
lea ecx, [esp + 0x14]
push 0x642dbc
push ecx
call fcn.004686f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41211c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41211f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00477556
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41202e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047741d
xor eax, eax
jmp 0x41215f
mov byte [esi], 0
push 0x642db8
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.0047741d
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