joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41bce9
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x481f49
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x4b0760]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x4b0760]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov esi, ecx
mov edx, esi
lea ecx, [esp + 0x38]
call fcn.0041d491
and dword [esp + 0xc0], 0
lea ecx, [esp + 0x50]
mov edx, esi
call fcn.0041d5b0
mov byte [esp + 0xc0], 1
cmp dword [esp + 0x48], 0
je 0x41bf05
cmp dword [esp + 0x60], 0
je 0x41bf05
and dword [esp + 0x30], 0
xorps xmm0, xmm0
xor bl, bl
movlpd qword [esp + 0x14], xmm0
mov dword [esp + 0x34], 0xf
mov byte [esp + 0x20], bl
mov edx, 0x27d4
mov byte [esp + 0xc0], 3
lea ecx, [esp + 0x68]
call fcn.00426aff
cmp dword [eax + 0x14], 8
jb 0x41bda1
mov eax, dword [eax]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
push 0
push 1
lea ecx, [esp + 0x70]
mov edi, eax
call fcn.0040224f
test edi, edi
je 0x41be79
cmp dword [esp + 0x4c], 8
lea ecx, [esp + 0x38]
cmovae ecx, dword [esp + 0x38]
xor eax, eax
push eax
push eax
push 3
push eax
push eax
push 0x50
push ecx
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x41be5b
cmp dword [esp + 0x64], 8
lea ecx, [esp + 0x50]
cmovae ecx, dword [esp + 0x50]
xor edx, edx
push edx
push 0x400000
push edx
push edx
push edx
push ecx
push 0x498b4c
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [esp + 0x10], eax
test eax, eax
je 0x41be3a
lea ecx, [esp + 0x10]
call fcn.0041c9a5
push dword [esp + 0x10]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call esi
jmp 0x41be53
mov ebx, str.Request_cannot_be_completed_on_current_url.
push ebx
call fcn.00401cbd
pop ecx
push eax
push ebx
lea ecx, [esp + 0x28]
call fcn.00402295
mov bl, 1
push dword [esp + 0x1c]
call esi
jmp 0x41be74
mov ebx, str.Cannot_connect_to_server.
push ebx
call fcn.00401cbd
pop ecx
push eax
push ebx
lea ecx, [esp + 0x28]
call fcn.00402295
mov bl, 1
push edi
call esi
jmp 0x41be92
mov esi, str.Cannot_initialize_library.
push esi
call fcn.00401cbd
pop ecx
push eax
push esi
lea ecx, [esp + 0x28]
call fcn.00402295
mov bl, 1
test bl, bl
je 0x41beb3
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x6c]
call fcn.0041b992
push 0x4acc50
lea eax, [esp + 0x6c]
push eax
call fcn.00464fbe
xor ebx, ebx
lea ecx, [esp + 0x20]
push ebx
push 1
call fcn.0040220b
push ebx
push 1
lea ecx, [esp + 0x58]
call fcn.0040224f
push ebx
push 1
lea ecx, [esp + 0x40]
call fcn.0040224f
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.004600e1
mov esp, ebp
pop ebp
ret
push str.Cannot_get_file_size__bad_URL.
lea ecx, [esp + 0x6c]
call fcn.004020e4
lea eax, [esp + 0x68]
mov byte [esp + 0xc0], 2
push eax
lea ecx, [esp + 0x90]
call fcn.0041b992
push 0x4acc50
lea eax, [esp + 0x90]
jmp 0x41bead
Function at 0x41c9a5
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor edi, edi
mov dword [ebp - 4], 8
push edi
push edi
mov esi, ecx
xorps xmm0, xmm0
push edi
push edi
movlpd qword [ebp - 0xc], xmm0
push dword [esi]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
push edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x20000005
push dword [esi]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4216e7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xc
mov eax, 0x4832f9
call fcn.004649c0
mov esi, edx
mov eax, ecx
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x497a98
mov dword [ebp - 0x14], ebx
call fcn.00403358
mov dword [ebp - 4], ebx
push ebx
mov dword [ebp - 0x14], 1
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x100
movzx ecx, si
mov ebx, eax
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
mov dword [ebp - 0x18], eax
push ecx
push ecx
push ebx
push eax
push ecx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
test edi, edi
jle 0x4217ad
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00431519
pop ecx
push edi
mov esi, eax
push esi
push ebx
push dword [ebp - 0x18]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
call fcn.004026a2
mov edi, dword [ebp - 0x10]
pop ecx
push eax
push esi
mov ecx, edi
call fcn.004038d0
push esi
call fcn.00431522
pop ecx
jmp 0x4217b0
mov edi, dword [ebp - 0x10]
mov eax, edi
call fcn.0046498e
ret
Function at 0x4218ba
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483362
mov eax, dword fs:[0]
push eax
mov eax, 0x1070
call fcn.004656d0
mov eax, dword [0x4b0760]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0x1078], edi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x1014]
push 0x800
push eax
push edi
mov dword [ebp - 0x107c], esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x421971
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x1044]
call fcn.00403358
and dword [ebp - 4], 0
lea edx, [ebp - 0x1044]
push esi
lea ecx, [ebp - 0x1074]
call fcn.004217b8
pop ecx
cmp dword [eax + 0x14], 8
jb 0x421947
mov eax, dword [eax]
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push 1
lea ecx, [ebp - 0x1074]
call fcn.0040224f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1044]
push 0
push 1
call fcn.0040224f
mov esi, dword [ebx]
jmp 0x421a0a
push dword [esi]
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x421a01
push 0x800
lea eax, [ebp - 0x814]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x421a01
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x102c]
call fcn.00403358
push dword [ebp - 0x107c]
lea edx, [ebp - 0x102c]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x105c]
call fcn.004217b8
pop ecx
cmp dword [eax + 0x14], 8
jb 0x4219d7
mov eax, dword [eax]
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push 1
lea ecx, [ebp - 0x105c]
call fcn.0040224f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x102c]
push 0
push 1
call fcn.0040224f
mov edi, dword [ebp - 0x1078]
add esi, 4
cmp esi, dword [ebx + 4]
jne 0x421978
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004600e1
mov esp, ebp
pop ebp
ret
Function at 0x4238c0
Capabilities:
Get disk information
Get disk size

Disassembly:
push 0x74
mov eax, 0x483666
call fcn.004649f3
mov edi, ecx
mov ebx, dword [edi + 4]
mov esi, dword [edi]
jmp 0x4238df
mov ecx, esi
call fcn.0040c046
add esi, 0x48
cmp esi, ebx
jne 0x4238d5
mov eax, dword [edi]
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
push 7
mov ebx, eax
xor esi, esi
pop edx
xor eax, eax
mov ecx, esi
inc eax
shl eax, cl
test ebx, eax
je 0x423a52
and dword [ebp - 0x48], 0
xor eax, eax
and dword [ebp - 0x30], eax
and dword [ebp - 0x18], eax
mov dword [ebp - 0x44], edx
mov word [ebp - 0x58], ax
mov dword [ebp - 0x2c], edx
mov word [ebp - 0x40], ax
mov dword [ebp - 0x14], edx
mov word [ebp - 0x28], ax
and dword [ebp - 4], eax
lea ecx, [ebp - 0x58]
lea eax, [esi + 0x41]
push eax
push 1
call fcn.00423b74
push 0x4990d4
call fcn.004026a2
pop ecx
push eax
push 0x4990d4
lea ecx, [ebp - 0x58]
call fcn.004038d0
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x423a43
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x78]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x423a06
mov eax, dword [ebp - 0x78]
mul dword [ebp - 0x74]
push 0
push dword [ebp - 0x7c]
push edx
push eax
call fcn.00465bc0
shrd eax, edx, 0xa
lea ecx, [ebp - 0x70]
shr edx, 0xa
push edx
push eax
call fcn.00423530
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.004033ae
push 0
push 1
lea ecx, [ebp - 0x70]
call fcn.0040224f
mov eax, dword [ebp - 0x78]
mul dword [ebp - 0x74]
push 0
push dword [ebp - 0x80]
push edx
push eax
call fcn.00465bc0
shrd eax, edx, 0xa
lea ecx, [ebp - 0x70]
shr edx, 0xa
push edx
push eax
call fcn.00423530
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.004033ae
push 0
push 1
lea ecx, [ebp - 0x70]
call fcn.0040224f
jmp 0x423a38
push 0x499104
call fcn.004026a2
pop ecx
push eax
push 0x499104
lea ecx, [ebp - 0x28]
call fcn.00403a06
push 0x499104
call fcn.004026a2
pop ecx
push eax
push 0x499104
lea ecx, [ebp - 0x40]
call fcn.00403a06
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.00423aeb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0040c046
push 7
pop edx
inc esi
cmp esi, 0x20
jb 0x4238f5
call fcn.004649a2
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4b0760]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, ecx
lea ecx, [ebp - 0x1c]
push ebx
call fcn.00427b77
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x423f3d
test al, 0x10
jne 0x423f3d
mov bl, 1
jmp 0x423f3f
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.0040224f
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.004600e1
mov esp, ebp
pop ebp
ret
Function at 0x423f5c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48379c
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4b0760]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x4b0760]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x10], 0
jne 0x423fa2
xor al, al
jmp 0x4240ad
push 1
push ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x2e
push eax
call fcn.0041d092
mov edi, eax
cmp edi, 0xffffffff
je 0x423f9b
push esi
lea ecx, [esp + 0x1c]
call fcn.00409783
and dword [esp + 0x70], 0
xor ebx, ebx
inc ebx
lea ecx, [esp + 0x18]
call fcn.00423f03
test al, al
lea eax, [esp + 0x18]
je 0x424088
cmp eax, esi
je 0x423ff5
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.00403973
push 0x499108
lea ecx, [esp + 0x34]
call fcn.00403358
mov edx, ebx
mov byte [esp + 0x70], 1
lea ecx, [esp + 0x48]
call fcn.004047f1
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x7c], 2
call fcn.0040382a
push 0
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x78], 1
call fcn.0040224f
push 0x497b30
call fcn.004026a2
pop ecx
push eax
push 0x497b30
lea ecx, [esp + 0x38]
call fcn.004038d0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x38]
push eax
push edi
lea ecx, [esp + 0x28]
call fcn.0040af0b
push 0
push 1
lea ecx, [esp + 0x38]
mov byte [esp + 0x78], 0
call fcn.0040224f
inc ebx
cmp ebx, 0x186a0
jl 0x423fd0
xor bl, bl
jmp 0x42409e
cmp esi, eax
je 0x42409c
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.00403973
mov bl, 1
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.0040224f
mov al, bl
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.004600e1
mov esp, ebp
pop ebp
ret
Function at 0x4243c1
Capabilities:
Check os version
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x784
mov eax, dword [0x4b0760]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
lea eax, [ebp - 0x780]
push 0x40
push edi
push eax
mov dword [ebp - 0x784], edi
call fcn.00462bd0
add esp, 0xc
lea eax, [ebp - 0x20c]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x740], xmm0
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, 0x114
lea eax, [ebp - 0x730]
push esi
push edi
push eax
call fcn.00462bd0
add esp, 0xc
mov dword [ebp - 0x730], esi
lea eax, [ebp - 0x730]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x72c], 6
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
jb 0x424454
push str.cmd.exe__C_timeout_3___Nul__Del___s_
jmp 0x424459
push str.cmd.exe__C_ping_1.1.1.1__n_1__w_4000___Nul__Del___s_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x740]
push eax
lea eax, [ebp - 0x784]
push eax
push edi
push edi
push 0x8000000
push edi
push edi
push edi
lea eax, [ebp - 0x61c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [ebp - 0x73c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x740]
call esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004600e1
mov esp, ebp
pop ebp
ret

Function at 0x4244df
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x3c
mov eax, 0x483895
call fcn.004649f3
push 7
pop edx
xor ebx, ebx
mov dword [ebp - 0x2c], edx
xor eax, eax
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x40], ax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea edx, [ebp - 0x40]
call fcn.0042607c
pop ecx
test al, al
je 0x4245a7
mov edx, 0x20119
lea ecx, [ebp - 0x40]
call fcn.00425f67
mov esi, eax
test esi, esi
jne 0x424548
mov edx, 0x20219
lea ecx, [ebp - 0x40]
call fcn.00425f67
mov esi, eax
test esi, esi
je 0x4245a7
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x48]
push ecx
push ebx
push ebx
lea eax, [ebp - 0x28]
mov dword [ebp - 0x48], ebx
cmovae eax, dword [ebp - 0x28]
push ebx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x4245a5
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
cmp word [ecx + eax*2 - 2], 0x2a
jne 0x4245a7
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00409783
lea eax, [ebp - 0x44]
mov edx, 0x20019
push eax
mov ecx, esi
call fcn.0042611c
add esp, 0x1c
mov bl, al
jmp 0x4245a7
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0040224f
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.0040224f
mov al, bl
call fcn.004649a2
ret
Function at 0x42482b
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x44
mov eax, 0x4838ff
call fcn.004649f3
mov dword [ebp - 0x50], edx
and dword [ebp - 0x34], 0
xor eax, eax
push 7
pop edx
mov dword [ebp - 0x30], edx
mov word [ebp - 0x44], ax
and dword [ebp - 4], eax
and dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov word [ebp - 0x2c], ax
inc eax
lea edx, [ebp - 0x44]
mov byte [ebp - 4], al
lea eax, [ebp - 0x2c]
push eax
call fcn.0042607c
pop ecx
test al, al
je 0x424944
mov edx, 0x20119
lea ecx, [ebp - 0x44]
call fcn.00425f67
mov esi, eax
test esi, esi
jne 0x42489a
mov edx, 0x20219
lea ecx, [ebp - 0x44]
call fcn.00425f67
mov esi, eax
test esi, esi
je 0x424944
xor edx, edx
lea ecx, [ebp - 0x48]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push ecx
cmovae eax, dword [ebp - 0x2c]
mov bl, dl
push edx
push edx
push edx
push eax
push esi
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42493b
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x42493b
inc eax
push 0x4b5f3c
push eax
call fcn.00461fc9
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x424944
mov ecx, dword [ebp - 0x48]
inc ecx
push ecx
push 0
push edi
call fcn.00462bd0
add esp, 0xc
lea ecx, [ebp - 0x48]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
push edi
lea ecx, [ebp - 0x4c]
push ecx
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x424934
cmp dword [ebp - 0x4c], 1
jne 0x424934
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x14], 8
jb 0x424920
mov eax, dword [eax]
push eax
push edi
call fcn.00462381
pop ecx
pop ecx
test eax, eax
movzx ebx, bl
push 1
pop eax
cmovne ebx, eax
push edi
call fcn.00431522
pop ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x424946
xor bl, bl
xor esi, esi
lea ecx, [ebp - 0x2c]
push 0
inc esi
push esi
call fcn.0040224f
push 0
push esi
lea ecx, [ebp - 0x44]
call fcn.0040224f
mov al, bl
call fcn.004649a2
ret
Function at 0x42611c
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x280
mov eax, 0x483b26
call fcn.004649f3
mov ebx, edx
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x27c], ecx
mov edi, dword [ebp + 8]
and dword [ebp - 4], 0
lea eax, [ebp - 0x278]
push 1
push ecx
push eax
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x278], 0x5c
call fcn.0041d092
mov esi, eax
lea ecx, [ebp + 0xc]
push esi
push 0
lea eax, [ebp - 0x22c]
push eax
call fcn.004033f1
mov byte [ebp - 4], 1
lea eax, [esi + 1]
mov ecx, dword [ebp + 0x1c]
sub ecx, esi
sub ecx, 2
push ecx
push eax
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp + 0xc]
call fcn.004033f1
mov byte [ebp - 4], 2
cmp dword [ebp - 0x21c], 0
jne 0x4261a1
xor eax, eax
jmp 0x4261b5
cmp dword [ebp - 0x218], 8
lea eax, [ebp - 0x22c]
cmovae eax, dword [ebp - 0x22c]
push edi
push ebx
xor ebx, ebx
push ebx
push eax
push dword [ebp - 0x27c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x426334
cmp dword [edi], ebx
je 0x426334
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x288]
mov dword [ebp - 0x278], ebx
push eax
push ebx
lea eax, [ebp - 0x284]
mov dword [ebp - 0x284], ebx
push eax
lea eax, [ebp - 0x278]
mov dword [ebp - 0x288], ebx
push eax
push ebx
push ebx
push ebx
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov esi, ebx
cmp dword [ebp - 0x278], ebx
jbe 0x426334
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x28c]
mov dword [ebp - 0x28c], 0xff
push eax
lea eax, [ebp - 0x214]
push eax
push esi
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x426295
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x25c]
call fcn.00403358
push dword [ebp - 0x234]
cmp dword [ebp - 0x230], 8
lea ecx, [ebp - 0x244]
push ebx
cmovae ecx, dword [ebp - 0x244]
push ecx
mov ecx, eax
call fcn.00403690
cmp eax, 0xffffffff
lea ecx, [ebp - 0x25c]
push 0
push 1
setne bl
call fcn.0040224f
test bl, bl
jne 0x4262a7
xor ebx, ebx
inc esi
cmp esi, dword [ebp - 0x278]
jb 0x42621c
jmp 0x426334
push 0x497a94
lea edx, [ebp - 0x22c]
lea ecx, [ebp - 0x274]
call fcn.00403da6
lea ecx, [ebp - 0x214]
mov byte [ebp - 4], 3
push ecx
mov edx, eax
lea ecx, [ebp - 0x25c]
call fcn.0040ad28
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x22c]
call fcn.004033ae
xor ebx, ebx
lea ecx, [ebp - 0x25c]
push ebx
push 1
call fcn.0040224f
push ebx
push 1
lea ecx, [ebp - 0x274]
call fcn.0040224f
cmp dword [ebp - 0x218], 8
lea eax, [ebp - 0x22c]
push edi
push dword [ebp - 0x280]
cmovae eax, dword [ebp - 0x22c]
push ebx
push eax
push dword [ebp - 0x27c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x426334
cmp dword [edi], ebx
je 0x426334
mov bl, 1
xor esi, esi
lea ecx, [ebp - 0x244]
push esi
push 1
call fcn.0040224f
push esi
push 1
lea ecx, [ebp - 0x22c]
call fcn.0040224f
push esi
push 1
lea ecx, [ebp + 0xc]
call fcn.0040224f
mov al, bl
call fcn.004649a2
ret
Function at 0x426a7f
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x483c48
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4b0760]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x4b0760]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
and dword [esp + 0xc], 0
lea ecx, [esp + 0x10]
call fcn.00426aff
and dword [esp + 0x38], 0
lea edx, [esp + 0x10]
mov ecx, esi
call fcn.00426779
push 0
push 1
lea ecx, [esp + 0x18]
call fcn.0040224f
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004600e1
mov esp, ebp
pop ebp
ret
Function at 0x4282c3
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x4b0760]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x1f4
lea eax, [ebp - 0x314]
push 0
push eax
call fcn.00462bd0
mov esi, 0x114
lea eax, [ebp - 0x120]
push esi
push 0
mov ebx, 0x1f8
push eax
mov dword [ebp - 0x318], ebx
call fcn.00462bd0
add esp, 0x18
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jae 0x428330
sub dword [ebp - 0x318], 4
push 0
lea eax, [ebp - 0x318]
push eax
push ebx
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [ebp - 0x180]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004600e1
mov esp, ebp
pop ebp
ret

Function at 0x4283cb
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4b0760]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov word [ebp - 8], 0x500
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], ebx
push eax
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x42841c
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
cmp dword [ebp - 0x10], 0
pop ebx
je 0x42842c
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004600e1
mov esp, ebp
pop ebp
ret
Function at 0x42843d
Capabilities:
Enumerate processes

Disassembly:
push 0x264
mov eax, 0x4840e3
call fcn.004649f3
and dword [ebp - 4], 0
lea ecx, [ebp + 8]
xor bl, bl
call fcn.0042696d
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x42855b
lea eax, [ebp - 0x270]
mov dword [ebp - 0x270], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x428554
push 0x497a98
lea ecx, [ebp - 0x40]
call fcn.00403358
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 1
push eax
call fcn.004026a2
pop ecx
push eax
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x40]
call fcn.00403a06
lea ecx, [ebp - 0x40]
call fcn.0042696d
lea edx, [ebp + 8]
lea ecx, [ebp - 0x40]
call fcn.004025ba
test al, al
je 0x42852d
inc bl
jmp 0x428548
push 0x497a98
lea ecx, [ebp - 0x28]
call fcn.00403358
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 2
push eax
call fcn.004026a2
pop ecx
push eax
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00403a06
lea ecx, [ebp - 0x28]
call fcn.0042696d
lea edx, [ebp + 8]
lea ecx, [ebp - 0x28]
call fcn.004025ba
lea ecx, [ebp - 0x28]
push 0
push 1
test al, al
jne 0x428541
mov byte [ebp - 4], 1
call fcn.0040224f
lea eax, [ebp - 0x270]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4284d8
jmp 0x428548
mov bl, 1
call fcn.0040224f
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.0040224f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 1
lea ecx, [ebp + 8]
call fcn.0040224f
mov al, bl
call fcn.004649a2
ret