joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e760
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
cmp byte [0x44c4cc], 0xff
je 0x40e776
mov al, byte [0x44c4cc]
jmp 0x40e7d6
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
mov eax, dword [esp + 0x10]
cmp eax, 2
jne 0x40e7af
mov al, 3
mov edx, dword [esp + 4]
cmp edx, 6
jb 0x40e79b
mov al, 6
jmp 0x40e7d1
cmp edx, 5
jb 0x40e7d1
cmp dword [esp + 8], 1
jb 0x40e7ab
mov al, 5
jmp 0x40e7d1
mov al, 4
jmp 0x40e7d1
cmp eax, 1
jne 0x40e7cf
mov al, 1
cmp dword [esp + 4], 4
ja 0x40e7cb
cmp dword [esp + 4], 4
jne 0x40e7d1
cmp dword [esp + 8], 0xa
jb 0x40e7d1
mov al, 2
jmp 0x40e7d1
xor eax, eax
mov byte [0x44c4cc], al
add esp, 0x94
ret
Function at 0x417dac
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
mov esi, edx
mov ebx, eax
mov eax, dword [0x44dcac]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
push eax
call sub.user32.dll_OpenClipboard
xor eax, eax
push ebp
push 0x417e45
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xc]
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
jne 0x417ded
call fcn.00402ed4
jmp 0x417e4c
mov dword [ebx + 0x1c8], esi
mov ax, word [0x44e610]
mov word [ebp - 0x18], ax
mov dword [ebp - 0x10], 1
mov dword [ebp - 8], 1
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
call fcn.00417bc4
test eax, eax
jne 0x417e2e
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [0x44e610]
push eax
call sub.user32.dll_SetClipboardData
jmp 0x417e32
mov byte [ebp - 1], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x417e4c
call sub.user32.dll_CloseClipboard
ret
mov al, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41948c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x41955a
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
xor eax, eax
mov dword [ebx + 0x2c], eax
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00402808
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x1c], 1
xor eax, eax
mov al, byte [ebx + 0x38]
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp + 8]
push eax
push 0
push 0x4000000
push 0
push 0
push 0
push edi
push 0x419574
push dword [ebp - 4]
lea eax, [ebp - 0x60]
mov edx, 3
call fcn.00403620
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call fcn.00406fac
mov eax, dword [ebp - 0x5c]
call fcn.00403724
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x41953f
mov eax, dword [ebp - 0x50]
mov dword [ebx + 0x2c], eax
mov esi, dword [ebp - 0x58]
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x419561
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.00403340
ret
Function at 0x419758
Capabilities:
Create pipe

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov esi, eax
cmp dword [esi + 8], 0
je 0x41976d
mov bl, 1
jmp 0x419817
mov dword [esp], 0xc
mov dword [esp + 8], 0xffffffff
xor eax, eax
mov dword [esp + 4], eax
push 0
lea eax, [esp + 4]
push eax
lea eax, [esi + 0xc]
push eax
lea eax, [esi + 8]
push eax
call sub.kernel32.dll_CreatePipe
test eax, eax
je 0x4197d0
push 0x2000
lea eax, [esp + 4]
push eax
lea eax, [esi + 0x14]
push eax
lea eax, [esi + 0x10]
push eax
call sub.kernel32.dll_CreatePipe
test eax, eax
je 0x4197d0
push 0x2000
lea eax, [esp + 4]
push eax
lea eax, [esi + 0x1c]
push eax
lea eax, [esi + 0x18]
push eax
call sub.kernel32.dll_CreatePipe
test eax, eax
jne 0x4197d4
xor ebx, ebx
jmp 0x4197d6
mov bl, 1
test bl, bl
je 0x419803
push 0
push 1
mov eax, dword [esi + 0x10]
push eax
call sub.kernel32.dll_SetHandleInformation
push 0
push 1
mov eax, dword [esi + 0x18]
push eax
call sub.kernel32.dll_SetHandleInformation
push 0
push 1
mov eax, dword [esi + 0xc]
push eax
call sub.kernel32.dll_SetHandleInformation
jmp 0x419817
call sub.kernel32.dll_GetLastError_1
mov edi, eax
mov eax, esi
call fcn.00419820
push edi
call sub.kernel32.dll_SetLastError
mov eax, ebx
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x419ad4
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x419c4c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 4], 0
jne 0x419c31
xor eax, eax
mov dword [ebx + 0x2c], eax
xor eax, eax
mov dword [ebx + 0x28], eax
mov eax, ebx
call fcn.00419758
test al, al
jne 0x419b2f
call sub.kernel32.dll_GetLastError_1
mov edx, eax
lea eax, [ebx + 0xa0]
call fcn.0040faa8
jmp 0x419c31
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x44
call fcn.00402808
mov dword [ebp - 0x44], 0x44
mov dword [ebp - 0x18], 0x101
xor eax, eax
mov al, byte [ebx + 0x38]
mov word [ebp - 0x14], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp + 8]
push eax
push 0
push 0x10
push 0xffffffffffffffff
push 0
push 0
push esi
push 0x419c64
push edi
lea eax, [ebp - 0x5c]
mov edx, 3
call fcn.00403620
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x58]
call fcn.00406fac
mov eax, dword [ebp - 0x58]
call fcn.00403724
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x419c14
mov eax, dword [ebp - 0x4c]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x50]
push eax
call sub.kernel32.dll_CloseHandle_1
cmp byte [ebx + 0x39], 1
jne 0x419c00
cmp dword [ebx + 0x20], 0
jne 0x419be1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [ebx + 0x20], eax
lea eax, [ebx + 0x94]
call fcn.0040fcb0
mov eax, ebx
call fcn.0041987c
push 0xffffffffffffffff
mov eax, dword [ebx + 0x20]
push eax
call sub.kernel32.dll_WaitForSingleObject
jmp 0x419c31
lea eax, [ebx + 0x94]
call fcn.0040fcb0
mov eax, ebx
call fcn.0041987c
jmp 0x419c31
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x44], eax
mov eax, ebx
call fcn.00419820
lea eax, [ebx + 0xa0]
mov edx, dword [ebp - 0x44]
call fcn.0040faa8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x419c53
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.00403340
ret
Function at 0x41fcb0
Capabilities:
Create thread
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc9c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], edx
xor edx, edx
push ebp
push 0x41fe91
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [ebp - 4]
xchg edx, eax
call fcn.0040dd00
mov eax, dword [ebp - 4]
mov dl, 6
call fcn.0040d9c4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3c], 0
jne 0x41fe75
mov eax, dword [ebp - 4]
call fcn.0040dd9c
cmp al, 6
jne 0x41fe75
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x406fe000
push 0
push 0x3ff00000
push 0
lea eax, [ebp - 0x340]
call fcn.0041f860
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
shl eax, 2
call fcn.00402600
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x18]
dec esi
test esi, esi
jl 0x41fd54
inc esi
xor ebx, ebx
mov eax, dword [ebp - 4]
mov edx, ebx
call fcn.0040dc94
mov edx, dword [ebp - 8]
mov dword [edx + ebx*4], eax
inc ebx
dec esi
jne 0x41fd40
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c], 0x100
jle 0x41fd83
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0x100
jle 0x41fd83
lea eax, [ebp - 0x364]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x350]
mov dword [ebp - 0xc], eax
jmp 0x41fd8a
mov dword [ebp - 0xc], 1
call fcn.00405dd0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
mov ecx, 1
mov edx, dword [0x41fc9c]
call fcn.00404590
add esp, 4
mov esi, dword [ebp - 0xc]
test esi, esi
jle 0x41fe25
mov edi, 1
mov eax, 0x33c
call fcn.00402600
mov ebx, eax
mov eax, dword [ebp - 8]
mov dword [ebx + 4], eax
push esi
push edi
lea esi, [ebp - 0x340]
lea edi, [ebx + 0x14]
mov ecx, 0xca
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov dword [ebx + 0xc], edi
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 4]
mov dword [ebx + 8], eax
lea eax, [ebp - 0x10]
push eax
push 0
push ebx
push 0x41fb44
push 0
push 0
call sub.kernel32.dll_CreateThread
mov dword [ebx], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebx]
mov dword [eax + edi*4 - 4], edx
mov eax, dword [ebp - 0x18]
mov edx, ebx
call fcn.00405e4c
push 2
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_SetThreadPriority
inc edi
dec esi
jne 0x41fdb8
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_WaitForMultipleObjects
mov esi, dword [ebp - 0xc]
dec esi
test esi, esi
jl 0x41fe65
inc esi
xor edi, edi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + edi*4]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x18]
mov edx, edi
call fcn.00405ee4
mov edx, 0x33c
call fcn.00402618
inc edi
dec esi
jne 0x41fe41
mov eax, dword [ebp - 0x18]
call fcn.00405d54
mov eax, dword [ebp - 8]
call fcn.00402618
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41fe98
lea eax, [ebp - 0x14]
mov edx, dword [0x41fc9c]
call fcn.0040459c
ret
Function at 0x421338
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x248], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4214e9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x144]
mov ecx, 0x421500
mov edx, edi
call fcn.004035ac
mov eax, dword [ebp - 0x144]
call fcn.00403724
push eax
call sub.kernel32.dll_FindFirstFileA
mov esi, eax
cmp esi, 0xffffffff
je 0x4214c5
lea eax, [ebp - 0x140]
mov dword [ebx + 0x10], eax
lea eax, [ebp - 0x244]
lea edx, [ebp - 0x114]
call fcn.00402828
lea eax, [ebp - 0x244]
mov edx, 0x421504
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00402798
je 0x4214a4
lea eax, [ebp - 0x144]
lea edx, [ebp - 0x114]
call fcn.004034d0
mov eax, dword [ebp - 0x144]
mov edx, 0x421510
call fcn.00403670
je 0x4214a4
test byte [ebp - 0x140], 0x10
je 0x421479
cmp byte [ebx + 0x1f], 0
jbe 0x421429
lea eax, [ebp - 0x144]
lea edx, [ebp - 0x114]
mov ecx, 0x104
call fcn.00403548
mov ecx, dword [ebp - 0x144]
mov edx, edi
mov eax, ebx
call fcn.00421230
cmp byte [ebx + 0x1c], 0
jne 0x4214a4
push edi
lea eax, [ebp - 0x248]
lea edx, [ebp - 0x114]
mov ecx, 0x104
call fcn.00403548
push dword [ebp - 0x248]
push 0x42151c
lea eax, [ebp - 0x144]
mov edx, 3
call fcn.00403620
mov edx, dword [ebp - 0x144]
mov eax, ebx
call fcn.00421338
lea eax, [ebp - 0x140]
mov dword [ebx + 0x10], eax
jmp 0x4214a4
cmp byte [ebx + 0x1f], 1
je 0x4214a4
lea eax, [ebp - 0x144]
lea edx, [ebp - 0x114]
mov ecx, 0x104
call fcn.00403548
mov ecx, dword [ebp - 0x144]
mov edx, edi
mov eax, ebx
call fcn.00421230
cmp byte [ebx + 8], 0
jne 0x4214bf
lea eax, [ebp - 0x140]
push eax
push esi
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x4213a2
push esi
call sub.kernel32.dll_FindClose
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4214f0
lea eax, [ebp - 0x248]
call fcn.0040331c
lea eax, [ebp - 0x144]
call fcn.0040331c
ret
Function at 0x422bec
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdcc
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov edi, dword [ebp + 8]
mov eax, edi
call fcn.0040331c
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x20
call fcn.00402808
call fcn.0040ffbc
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x12d]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
call fcn.00403724
mov dword [ebp - 0x1c], eax
mov edx, ebx
mov eax, esi
call fcn.00422b8c
mov dword [ebp - 0x18], eax
test ebx, 0x1000
jle 0x422c61
lea eax, [ebp - 8]
push eax
push 0x12
call fcn.0040ffbc
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
jmp 0x422c9c
test ebx, 0x2000
jle 0x422c82
lea eax, [ebp - 8]
push eax
push 4
call fcn.0040ffbc
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
jmp 0x422c9c
test ebx, 0x401d
jle 0x422c9c
mov dword [ebp - 0x14], 0x422bc8
mov eax, dword [esi + 4]
call fcn.00403724
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x28]
push eax
call sub.shell32.dll_SHBrowseForFolderA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x422cf4
test ebx, 0x3000
jle 0x422cca
mov eax, edi
lea edx, [ebp - 0x12d]
mov ecx, 0x105
call fcn.00403548
jmp 0x422cf4
lea eax, [ebp - 0x232]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, edi
lea edx, [ebp - 0x232]
mov ecx, 0x105
call fcn.00403548
mov eax, dword [ebp - 8]
call fcn.00405828
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x401da0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401db9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401df4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401df0
lea ebx, [ebx]
cmp esi, eax
jae 0x401df4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401de0
cmp esi, eax
jb 0x401dfa
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x403340
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x447a2b
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x45c5d0]
xor eax, esp
mov dword [esp + 0x110], eax
push esi
mov eax, dword [0x45c5d0]
xor eax, esp
push eax
lea eax, [esp + 0x11c]
mov dword fs:[0], eax
mov esi, ecx
push 0x44ecdb
lea ecx, [esp + 0xc]
call fcn.00401fd0
mov dword [esp + 0x124], 0
test esi, esi
je 0x403407
push 0x104
lea ecx, [esp + 0x14]
push 0
push ecx
call fcn.00434d10
mov edx, dword [esp + 0x138]
add esp, 0xc
push edx
lea eax, [esp + 0x14]
push esi
push eax
call fcn.00437370
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x403436
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0xc]
push 0x44ed50
push eax
call fcn.00402110
mov eax, dword [esp + 0x14]
add esp, 8
add eax, 0xfffffff0
mov dword [esp + 0x10], esp
mov esi, esp
push eax
call fcn.004025f0
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00409780
mov dword [esp + 0x124], 0xffffffff
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403432
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x403466
mov dword [esp + 0x124], 0xffffffff
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403461
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0043164a
add esp, 0x120
ret 4
Function at 0x405dd0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x44750b
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x45c5d0]
xor eax, esp
mov dword [esp + 0x12c], eax
push ebx
push ebp
push edi
mov eax, dword [0x45c5d0]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov ebp, 0xf
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
lea eax, [esp + 0x10]
push eax
push 1
push ebx
push str.SOFTWAREMicrosoftInternet_Explorer
mov dword [esp + 0x158], ebx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x405e85
push 6
push str.unknow
lea ecx, [esp + 0x24]
call fcn.00405620
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x24]
push ecx
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.004057d0
cmp dword [esp + 0x34], 0x10
jb 0x405fac
mov edx, dword [esp + 0x20]
push edx
jmp 0x405fa4
push 0x103
lea eax, [esp + 0x3d]
push ebx
push eax
mov byte [esp + 0x44], bl
call fcn.00434d10
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x1c]
push eax
push ebx
push str.svcVersion
push ecx
mov dword [esp + 0x30], 0x104
mov dword [esp + 0x2c], 1
call edi
test eax, eax
je 0x405f46
push 0x104
lea edx, [esp + 0x3c]
push ebx
push edx
call fcn.00434d10
add esp, 0xc
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x1c]
push edx
push ebx
push str.Version
push eax
call edi
test eax, eax
je 0x405f46
push 6
push str.unknow
lea ecx, [esp + 0x24]
call fcn.00405620
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x24]
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push edx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.004057d0
cmp dword [esp + 0x34], 0x10
jb 0x405fac
mov eax, dword [esp + 0x20]
push eax
jmp 0x405fa4
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
push 0x44f010
lea ecx, [esp + 0x24]
call fcn.00405620
lea eax, [esp + 0x38]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x405f68
sub eax, edx
push eax
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x24]
call fcn.00404e90
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x24]
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.004057d0
cmp dword [esp + 0x34], 0x10
jb 0x405fac
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0041304e
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.0043164a
add esp, 0x13c
ret
Function at 0x406120
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x134
mov eax, dword [0x45c5d0]
xor eax, esp
mov dword [esp + 0x130], eax
push ebp
mov ebp, dword [esp + 0x13c]
push esi
push edi
xor esi, esi
push 0x124
lea eax, [esp + 0x18]
push esi
push eax
mov dword [esp + 0x1c], esi
call fcn.00434d10
add esp, 0xc
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x406176
push esi
push esi
push 0x44f024
call fcn.004141a0
xor eax, eax
jmp 0x4061e9
lea ecx, [esp + 0x10]
push ecx
push edi
mov dword [esp + 0x18], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4061e0
lea ecx, [ecx]
push ebx
call fcn.00432c11
lea edx, [esp + 0x38]
push edx
mov esi, eax
call fcn.00432c11
add esp, 8
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x4061c5
test cl, cl
je 0x4061c1
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x4061c5
add eax, 2
add esi, 2
test cl, cl
jne 0x4061a5
xor eax, eax
jmp 0x4061ca
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x406203
lea eax, [esp + 0x10]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x406190
lea esi, [eax + 1]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0043164a
add esp, 0x134
ret 4
mov ecx, dword [esp + 0x18]
push ecx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push ebp
push 8
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov esi, eax
jmp 0x4061e0
Function at 0x4073f0
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447320
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x45c5d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
push ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 4], ebx
push eax
mov dword [ebp - 0x14], ebx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x40748f
test dword [ebp - 0x14], 0x20
je 0x407464
cmp dword [ebp + 0x20], 0x10
jb 0x40744d
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0041304e
add esp, 4
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
cmp dword [ebp + 0x20], 0x10
jb 0x407476
mov edx, dword [ebp + 0xc]
push edx
call fcn.0041304e
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
push ebx
push ebx
push ebx
push ebx
mov edi, 1
push edi
push ebx
lea ecx, [ebp - 0x30]
call fcn.00414b33
mov byte [ebp - 4], 2
cmp dword [ebp + 0x20], 0x10
mov eax, dword [ebp + 0xc]
jae 0x4074b2
lea eax, [ebp + 0xc]
push ebx
push ebx
push edi
push edi
push eax
lea ecx, [ebp - 0x30]
call fcn.00415499
mov esi, eax
mov dword [ebp - 4], edi
cmp esi, ebx
je 0x40750f
push ebx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0x20000013
mov ecx, esi
mov dword [ebp - 0x1c], 4
call fcn.004144d7
cmp eax, ebx
je 0x4074f6
mov edx, dword [ebp - 0x18]
add edx, 0xffffff38
cmp edx, 0x63
jbe 0x4074f9
mov edi, dword [ebp - 0x18]
mov eax, dword [esi]
mov edx, dword [eax + 0x4c]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 1
mov ecx, esi
call edx
jmp 0x407512
or edi, 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004150fd
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.004151e0
cmp dword [ebp + 0x20], 0x10
jb 0x407537
mov eax, dword [ebp + 0xc]
push eax
call fcn.0041304e
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c