joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443be0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov edi, dword [ebp + 8]
mov eax, dword [0x520014]
xor eax, ebp
mov dword [esp + 0x48], eax
xor eax, eax
dec eax
lea esi, [esp + 0x10]
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
mov ebx, esp
push 0x1e8
push str..._.._base_files_file_util_win.cc
push str.PathExists
push ebx
call fcn.0046e3e0
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.004735a0
cmp byte [edi + 0xb], 0
jns 0x443c45
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
dec ecx
cmp eax, ecx
setne bl
mov ecx, esi
call fcn.004735e0
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.0048a678
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x443c70
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov edi, dword [ebp + 8]
mov eax, dword [0x520014]
xor eax, ebp
mov dword [esp + 0x48], eax
xor eax, eax
dec eax
lea esi, [esp + 0x10]
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
mov ebx, esp
push 0x210
push str..._.._base_files_file_util_win.cc
push str.DirectoryExists
push ebx
call fcn.0046e3e0
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.004735a0
cmp byte [edi + 0xb], 0
jns 0x443cd5
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
xor eax, eax
dec eax
cmp ebx, eax
setne al
and ebx, 0x10
shr ebx, 4
and bl, al
mov ecx, esi
call fcn.004735e0
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.0048a678
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x443d10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
mov eax, dword [0x520014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x21a]
push 0x20a
push 0xff
push edi
call fcn.0048d770
add esp, 0xc
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
dec esi
cmp esi, 0x102
ja 0x443d93
push edi
call fcn.004a3276
add esp, 4
lea ebx, [ebp - 0x234]
mov ecx, ebx
push eax
push edi
call fcn.00440530
lea edi, [ebp - 0x228]
mov ecx, ebx
push edi
call fcn.004417c0
mov ecx, dword [ebp + 8]
push edi
call fcn.00440650
mov ecx, edi
call fcn.0046d580
mov ecx, ebx
call fcn.0046d580
cmp esi, 0x103
setb bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048a678
mov eax, ebx
add esp, 0x228
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x444030
Capabilities:
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov esi, dword [ebp + 8]
mov eax, dword [0x520014]
xor eax, ebp
mov dword [esp + 0x58], eax
xor eax, eax
dec eax
lea edi, [esp + 0x20]
mov dword [edi + 0x34], eax
mov dword [edi + 0x30], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
lea ebx, [esp + 0x10]
push 0x29d
push str..._.._base_files_file_util_win.cc
push str.CreateDirectoryAndGetError
push ebx
call fcn.0046e3e0
add esp, 0x10
mov ecx, edi
push 0
push ebx
call fcn.004735a0
cmp byte [esi + 0xb], 0
mov edi, esi
jns 0x444099
mov esi, dword [edi]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
dec ecx
cmp eax, ecx
je 0x4440cf
mov bl, 1
test al, 0x10
je 0x44413c
lea ecx, [esp + 0x20]
call fcn.004735e0
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.0048a678
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov ecx, edi
lea eax, [esp + 0x10]
push eax
call fcn.0046d5a0
movzx ecx, byte [esp + 0x1b]
mov eax, ecx
test cl, cl
jns 0x4440f6
mov eax, dword [esp + 0x14]
movzx ebx, byte [edi + 0xb]
mov edx, ebx
test bl, bl
jns 0x444103
mov edx, dword [edi + 4]
cmp eax, edx
je 0x44415a
push dword [ebp + 0xc]
lea eax, [esp + 0x14]
push eax
call fcn.00444030
add esp, 8
test al, al
je 0x4441e1
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
je 0x4441a6
lea ecx, [esp + 0x10]
call fcn.0046d580
jmp 0x4440b1
cmp dword [ebp + 0xc], 0
je 0x44414b
mov eax, dword [ebp + 0xc]
mov dword [eax], 0xfffffff7
push 0x50
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x4440b1
test eax, eax
je 0x444193
lea edx, [esp + 0x10]
mov dword [esp + 0xc], edx
test cl, cl
jns 0x444172
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc], ecx
mov ecx, edi
test bl, bl
jns 0x44417a
mov ecx, dword [edi]
xor ebx, ebx
mov edx, dword [esp + 0xc]
movzx edx, word [edx + ebx*2]
cmp dx, word [ecx + ebx*2]
jne 0x444107
inc ebx
cmp eax, ebx
jne 0x44417c
cmp dword [ebp + 0xc], 0
je 0x4441a2
mov eax, dword [ebp + 0xc]
mov dword [eax], 0xfffffffc
push 2
jmp 0x4441db
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp eax, 0xb7
jne 0x4441c6
push edi
call fcn.00443c70
add esp, 4
test al, al
jne 0x44412e
cmp dword [ebp + 0xc], 0
je 0x4441da
push esi
call fcn.004445d0
add esp, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x44412e
Function at 0x444400
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov dword [esp + 8], ecx
mov eax, dword [0x520014]
xor eax, ebp
mov dword [esp + 0x58], eax
xor edi, edi
dec edi
lea ebx, [esp + 0x20]
mov dword [ebx + 0x34], edi
mov dword [ebx + 0x30], edi
pcmpeqd xmm0, xmm0
movdqa xmmword [ebx + 0x20], xmm0
movdqa xmmword [ebx + 0x10], xmm0
movdqa xmmword [ebx], xmm0
lea esi, [esp + 0x10]
push 0x88
push str..._.._base_files_file_win.cc
push str.WriteAtCurrentPos
push esi
call fcn.0046e3e0
add esp, 0x10
mov ecx, ebx
mov ebx, dword [ebp + 0xc]
push 0
push esi
call fcn.004735a0
test ebx, ebx
js 0x4444b0
mov edi, dword [ebp + 8]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0
call fcn.00473210
test al, al
jne 0x4444d0
lea esi, [esp + 0xc]
mov dword [esi], 0xffffffff
push 0
push esi
push ebx
push edi
mov eax, dword [esp + 0x18]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor edi, edi
cmp eax, 1
sbb edi, edi
or edi, dword [esi]
lea ecx, [esp + 0x10]
call fcn.00473230
lea ecx, [esp + 0x20]
call fcn.004735e0
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.0048a678
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
lea ecx, [esp + 0x10]
push 0
push ebx
push dword [esp + 0x10]
push str.File::WriteAtCurrentPos
call fcn.004d96b0
jmp 0x444483

Function at 0x4444f0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov dword [esp + 4], ecx
mov eax, dword [0x520014]
xor eax, ebp
mov dword [esp + 0x58], eax
xor eax, eax
dec eax
lea ebx, [esp + 0x20]
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x30], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [ebx + 0x20], xmm0
movdqa xmmword [ebx + 0x10], xmm0
movdqa xmmword [ebx], xmm0
lea edi, [esp + 0x10]
push 0x9c
push str..._.._base_files_file_win.cc
push str.GetLength
push edi
call fcn.0046e3e0
add esp, 0x10
xor esi, esi
mov ecx, ebx
push esi
push edi
call fcn.004735a0
xor eax, eax
dec eax
mov dword [edi + 4], eax
mov dword [edi], esi
call fcn.00473210
test al, al
jne 0x4445b0
lea ebx, [esp + 8]
xor eax, eax
dec eax
mov dword [ebx + 4], eax
mov dword [ebx], eax
push ebx
mov eax, dword [esp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
cmp eax, 1
sbb esi, esi
mov edi, dword [ebx + 4]
or edi, esi
or esi, dword [ebx]
lea ecx, [esp + 0x10]
call fcn.00473230
lea ecx, [esp + 0x20]
call fcn.004735e0
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.0048a678
mov eax, esi
mov edx, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x10]
push esi
push esi
push dword [esp + 0xc]
push str.File::GetLength
call fcn.004d96b0
jmp 0x444562
Function at 0x444700
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov dword [esp + 4], ecx
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x520014]
xor eax, ebp
mov dword [esp + 0x58], eax
xor eax, eax
dec eax
lea edi, [esp + 0x20]
mov dword [edi + 0x34], eax
mov dword [edi + 0x30], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
lea esi, [esp + 0x10]
push 0x15a
push str..._.._base_files_file_win.cc
push str.DoInitialize
push esi
call fcn.0046e3e0
add esp, 0x10
mov ecx, edi
push 0
push esi
call fcn.004735a0
mov eax, ebx
and eax, 1
neg eax
and eax, 3
xor ecx, ecx
inc ecx
test bl, 2
cmove ecx, eax
test bl, 4
mov edx, 4
cmovne ecx, edx
test bl, 8
mov esi, 2
cmove esi, ecx
test bl, 0x10
mov eax, 5
cmove eax, esi
mov dword [esp + 0xc], eax
test eax, eax
je 0x44490d
mov ecx, ebx
and ecx, 0x40
shl ecx, 0x18
test bl, bl
cmovns edx, ecx
mov ecx, ebx
rol ecx, 0x1a
mov esi, ebx
shl esi, 0xb
and esi, 0x20000000
mov edi, ebx
shr edi, 4
and edi, 0x10000
and ecx, 0x80000100
or ecx, esi
or ecx, edi
or ecx, edx
mov esi, ebx
shr esi, 8
and esi, 3
mov edx, ebx
shr edx, 0xd
and edx, 4
or edx, esi
mov esi, ebx
and esi, 0x400
mov eax, ebx
mov dword [esp + 8], esi
mov ebx, esi
shl ebx, 0x14
mov esi, eax
shr esi, 3
and esi, 0x100
or esi, ebx
mov edi, eax
shr edi, 0xb
and edi, 2
or edi, esi
mov ebx, eax
shl ebx, 0xd
and ebx, 0x4000000
or ebx, edi
shl eax, 8
mov edi, eax
and edi, 0x2000000
or edi, ebx
and eax, 0x8000000
or eax, edi
mov edi, dword [ebp + 8]
xor edx, 3
cmp byte [edi + 0xb], 0
jns 0x444842
mov edi, dword [edi]
xor ebx, ebx
push ebx
push eax
push dword [esp + 0x14]
push ebx
push edx
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov ebx, dword [esp + 4]
cmp dword [ebx], eax
je 0x44488a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [ebx]
inc eax
cmp eax, 2
jae 0x4448f3
mov eax, edi
inc eax
cmp eax, 2
jb 0x444881
mov dword [ebx], edi
call fcn.0046e410
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebx]
inc edi
cmp edi, 2
mov eax, dword [ebp + 0xc]
jb 0x4448ce
mov ecx, dword [esp + 8]
shr ecx, 0xa
mov dword [ebx + 0x14], 0
mov byte [ebx + 0x19], cl
test al, 4
jne 0x4448e2
test al, 0xa
je 0x4448b0
mov byte [ebx + 0x18], 1
lea ecx, [esp + 0x20]
call fcn.004735e0
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.0048a678
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004445d0
add esp, 4
mov dword [ebx + 0x14], eax
jmp 0x4448b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
setne byte [ebx + 0x18]
jmp 0x4448b0
call fcn.0046e410
push dword [ebx]
call fcn.00470b40
add esp, 4
mov dword [ebx], 0
jmp 0x444872
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 4]
mov dword [eax + 0x14], 0xffffffff
jmp 0x4448b0
Function at 0x444930
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [ebp + 8]
cmp dword [ecx], ebx
je 0x444965
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x44496c
lea eax, [ebx + 1]
cmp eax, 2
jb 0x44495e
mov dword [esi], ebx
call fcn.0046e410
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.0046e410
push dword [esi]
call fcn.00470b40
add esp, 4
mov dword [esi], 0
jmp 0x44494f

Function at 0x4449d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x234
mov eax, dword [ebp + 8]
mov ecx, dword [0x520014]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
xor edi, edi
mov esi, 0
test eax, eax
je 0x444a06
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov esi, eax
test eax, eax
je 0x444abe
lea ebx, [ebp - 0x238]
push 0x228
push 0xff
push ebx
call fcn.0048d770
add esp, 0xc
mov dword [ebx - 4], 0x22c
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
test eax, eax
je 0x444a52
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp ebx, 0xffffffff
je 0x444ab6
mov edi, eax
call fcn.0046e410
mov eax, edi
mov edi, ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [edi + 1]
mov dword [ebp - 0x240], eax
cmp eax, 2
jb 0x444aba
lea ebx, [ebp - 0x23c]
push ebx
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x444aba
cmp dword [ebp - 0x234], esi
je 0x444a82
push ebx
push edi
call sub.KERNEL32.dll_Process32NextW
jmp 0x444a6d
mov esi, dword [ebp - 0x224]
cmp dword [ebp - 0x240], 2
jb 0x444a9f
call fcn.0046e410
push edi
call fcn.00470b40
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048a678
mov eax, esi
add esp, 0x234
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
jmp 0x444a4b
xor esi, esi
jmp 0x444a88
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 0
cmp eax, 6
jne 0x444a06
int3
Function at 0x444f00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov esi, edx
mov ebx, ecx
mov eax, dword [0x520014]
xor eax, ebp
mov dword [ebp - 0x10], eax
test ecx, ecx
jne 0x444f33
mov eax, dword [0x521bb4]
cmp eax, 0xffffffff
je 0x444f94
mov ebx, 0x100000
test eax, eax
jne 0x444f33
mov ebx, 0x80000
push 0xc
call fcn.00489952
add esp, 4
mov edi, eax
mov dword [eax], esi
mov esi, dword [ebp + 8]
test esi, esi
setne byte [eax + 4]
mov eax, dword [ebp + 0xc]
mov dword [edi + 8], eax
xor eax, eax
lea ecx, [ebp - 0x14]
mov dword [ecx], eax
push ecx
push 0x10000
push edi
push 0x445320
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x444fb8
test esi, esi
je 0x444ff2
mov ecx, dword [ebp - 0x14]
mov dword [esi], eax
mov dword [esi + 4], ecx
test eax, eax
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048a678
mov eax, ebx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x521bb4
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x44505a
mov eax, dword [0x521bb4]
jmp 0x444f25
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x444fd4
mov esi, eax
cmp eax, 0x5af
je 0x444fd4
cmp esi, 0xe
jne 0x445002
push ebx
call fcn.004df750
add esp, 4
test edi, edi
mov eax, dword [ebp - 0x24]
je 0x444f7b
push edi
call fcn.00489982
mov eax, dword [ebp - 0x24]
add esp, 4
jmp 0x444f7b
push eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x444f7b
mov eax, dword [0x5259ec]
mov ecx, dword [0x5231ac]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x445069
lea ebx, [ebp - 0x20]
push esi
push ebx
call fcn.004cd0d0
add esp, 8
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x44503a
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
push eax
push ebx
push dword [0x5259e8]
call fcn.00476160
add esp, 0xc
cmp byte [ebp - 0x15], 0
jns 0x444fdd
push dword [ebp - 0x20]
call fcn.00489982
jmp 0x444fda
mov dword [0x521bb4], 0
jmp 0x444f2e
push 0x5259ec
call fcn.004899f7
add esp, 4
cmp dword [0x5259ec], 0xffffffff
jne 0x44501f
push 0x20
push str.create_thread_last_error
call fcn.00451b50
add esp, 8
mov dword [0x5259e8], eax
push 0x5259ec
call fcn.00489a6d
add esp, 4
jmp 0x44501f
Function at 0x445530
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x520014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, 4
lea edx, [ebp - 0x14]
mov dword [edx], eax
lea esi, [ebp - 0x18]
mov dword [esi], eax
xor eax, eax
lea edi, [ebp - 0x1c]
mov dword [edi], eax
mov ebx, dword [ebp + 8]
push esi
push edi
push edx
push eax
push ebx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
je 0x445585
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048a678
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov eax, dword [ebp - 0x14]
add eax, 0xfffffffd
mov esi, 0x3f4
cmp eax, 1
ja 0x44556f
cmp dword [ebp - 0x18], 4
jne 0x44556f
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
xor esi, esi
jmp 0x44556f

Function at 0x4455b0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x100c
call fcn.0048a990
mov esi, ecx
mov eax, dword [0x520014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, 0x800
lea ebx, [ebp - 0x810]
push edi
push 0xff
push ebx
call fcn.0048d770
add esp, 0xc
lea eax, [ebp - 0x1014]
mov dword [eax], 1
lea ecx, [ebp - 0x1018]
mov dword [ecx], edi
push ecx
push ebx
push eax
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44563f
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1014]
cmp eax, 1
jne 0x445643
mov ecx, esi
push ebx
call fcn.0043f430
xor edi, edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048a678
mov eax, edi
add esp, 0x100c
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov edi, eax
jmp 0x445626
mov edi, 0x3f4
cmp eax, 2
jne 0x445626
lea edi, [ebp - 0x1010]
push 0x800
push 0xff
push edi
call fcn.0048d770
add esp, 0xc
push 0x400
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1018], eax
dec eax
mov edi, 0xea
cmp eax, 0x3ff
ja 0x445626
mov ecx, esi
lea eax, [ebp - 0x1010]
push eax
call fcn.00437400
jmp 0x445624
Function at 0x4456a0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x160
mov eax, dword [0x520014]
xor eax, ebp
mov dword [esp + 0x158], eax
mov eax, dword [0x5259f4]
mov ecx, dword [0x5231ac]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4456f5
mov ecx, dword [esp + 0x158]
xor ecx, ebp
call fcn.0048a678
mov eax, 0x5259f0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x5259f4
call fcn.004899f7
add esp, 4
cmp dword [0x5259f4], 0xffffffff
jne 0x4456da
lea esi, [esp + 0x40]
xor ebx, ebx
push 0x118
push ebx
push esi
call fcn.0048d770
add esp, 0xc
mov dword [esi - 4], 0x11c
lea esi, [esp + 0x3c]
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea edi, [esp + 0xc]
mov dword [edi], ebx
push edi
push ebx
push ebx
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
push 0x50
call fcn.00489952
add esp, 4
mov esi, eax
mov ebx, dword [edi]
mov eax, dword [0x525a1c]
mov ecx, dword [0x5231ac]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jle 0x4457ce
push 0x525a1c
call fcn.004899f7
add esp, 4
cmp dword [0x525a1c], 0xffffffff
jne 0x4457ce
xorps xmm0, xmm0
lea edi, [esp + 0x10]
movaps xmmword [edi + 0x10], xmm0
movaps xmmword [edi], xmm0
mov dword [edi + 0x20], 0
push edi
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [edi + 0x20]
mov dword [0x525a18], eax
movaps xmm0, xmmword [edi]
movaps xmm1, xmmword [edi + 0x10]
movups xmmword [0x525a08], xmm1
movups xmmword [0x5259f8], xmm0
push 0x525a1c
call fcn.00489a6d
add esp, 4
mov ecx, esi
push ebx
push 0x5259f8
lea eax, [esp + 0x44]
push eax
call fcn.004458f0
mov dword [0x5259f0], esi
push 0x5259f4
call fcn.00489a6d
add esp, 4
jmp 0x4456da

Function at 0x445810
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov eax, dword [0x520014]
xor eax, ebp
mov dword [esp + 0x30], eax
mov eax, dword [0x525a1c]
mov ecx, dword [0x5231ac]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jle 0x44589c
push 0x525a1c
call fcn.004899f7
add esp, 4
cmp dword [0x525a1c], 0xffffffff
jne 0x44589c
xorps xmm0, xmm0
mov esi, esp
movaps xmmword [esi + 0x10], xmm0
movaps xmmword [esi], xmm0
mov dword [esi + 0x20], 0
push esi
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [esi + 0x20]
mov dword [0x525a18], eax
movaps xmm0, xmmword [esi]
movaps xmm1, xmmword [esi + 0x10]
movups xmmword [0x525a08], xmm1
movups xmmword [0x5259f8], xmm0
push 0x525a1c
call fcn.00489a6d
add esp, 4
movzx eax, word [0x5259f8]
cmp ax, 9
jne 0x4458bf
xor esi, esi
inc esi
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.0048a678
mov eax, esi
lea esp, [ebp - 4]
pop esi
pop ebp
ret
xor esi, esi
test ax, ax
je 0x4458ac
cmp ax, 6
jne 0x4458d3
mov esi, 2
jmp 0x4458ac
cmp ax, 0xc
jne 0x4458e0
mov esi, 3
jmp 0x4458ac
mov esi, 4
jmp 0x4458ac
Function at 0x448530
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x88
mov esi, ecx
mov eax, dword [0x520014]
xor eax, ebp
mov dword [esp + 0x80], eax
mov ecx, dword [0x525a84]
test ecx, ecx
je 0x448575
push dword [ebp + 8]
call fcn.00448530
mov ebx, eax
mov ecx, dword [esp + 0x80]
xor ecx, ebp
call fcn.0048a678
mov eax, ebx
jmp 0x4485d0
movzx eax, byte [esi + 0x1b]
test al, al
jns 0x448580
mov eax, dword [esi + 0x14]
xor ebx, ebx
test eax, eax
jne 0x4485c0
lea edi, [esp + 0x70]
mov dword [edi], ebx
lea eax, [esp + 0x6c]
mov dword [eax], 4
push ebx
push eax
push edi
push 0x20000013
push dword [esi + 0x58]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
sete cl
mov eax, dword [edi]
cmp eax, 0xc8
setne bl
or bl, cl
cmp bl, 1
je 0x4485da
xor bl, 1
mov ecx, dword [esp + 0x80]
xor ecx, ebp
call fcn.0048a678
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
lea ecx, [esi + 0x10]
mov dword [esp + 4], ecx
xor ecx, ecx
dec ecx
lea edi, [esp + 0x74]
mov dword [edi + 4], ecx
mov dword [edi], ecx
mov word [edi + 8], 0xffff
push 0xa
push edi
push eax
call fcn.0049bf61
add esp, 0xc
push 0x20
call fcn.00489952
add esp, 4
lea ecx, [esp + 0x60]
mov dword [ecx], eax
mov dword [ecx + 8], 0x80000020
mov dword [ecx + 4], 0x11
movups xmm0, xmmword [str.final_query_info_]
movups xmmword [eax], xmm0
mov byte [eax + 0x10], 0x2d
mov byte [eax + 0x11], 0
push edi
call fcn.0046c900
mov ecx, eax
push 0x506c04
call fcn.0046c900
cmp byte [eax + 0xb], 0
jns 0x448649
mov eax, dword [eax]
mov edi, dword [esp + 4]
lea ecx, [esp + 8]
mov edx, eax
call fcn.004d20f0
cmp byte [edi + 0xb], 0
jns 0x448668
push dword [edi]
call fcn.00489982
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [edi + 8], eax
movsd xmm0, qword [esp + 8]
movsd qword [edi], xmm0
mov byte [esp + 0x13], 0
mov word [esp + 8], 0
cmp byte [esp + 0x6b], 0
jns 0x448698
push dword [esp + 0x60]
call fcn.00489982
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edi, [esp + 0x64]
push edi
call fcn.004b86f0
add esp, 8
lea ecx, [esp + 8]
push edi
push 0x13a
push str.FinalizeDownload
push 1
call fcn.004b84f0
lea edi, [esp + 0x10]
lea ecx, [esp + 0x44]
push 0x50ab4c
push str.Unsuccessful_download:
call fcn.004b45d0
add esi, 4
mov ecx, edi
push esi
call fcn.004b4550
lea ecx, [esp + 8]
call fcn.004b8530
cmp byte [esp + 0x6b], 0
jns 0x448700
push dword [esp + 0x60]
call fcn.00489982
add esp, 4
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4485bd
mov eax, dword [esp + 0x70]
mov dword [ecx], eax
jmp 0x4485bd