joyce8/EMBER2024-capa huggingface dataset:
Function at 0x70d232a1
Capabilities:
Inspect section memory permissions

Disassembly:
mov ecx, dword [ecx + 0x48]
and ecx, 0x20000
jmp 0x70d232f3
mov ecx, dword [ecx + 0x48]
and ecx, 0x40000
jmp 0x70d232f3
mov ecx, dword [ecx + 0x48]
and ecx, 0x80000
jmp 0x70d232f3
mov ecx, dword [ecx + 0x48]
and ecx, 1
jmp 0x70d232f3
mov eax, dword [esp + 4]
mov edx, 0x365
cmp eax, edx
jbe 0x70d6db72
mov edx, 0x4e4
cmp eax, edx
ja 0x70d6dccb
je 0x70d23299
sub eax, 0x36a
je 0x70d6dcbd
sub eax, 0x3a
je 0x70d1fdc1
sub eax, 4
je 0x70d1fdcf
sub eax, 0xd
je 0x70d2328e
dec eax
jne 0x70d6dc99
mov ecx, dword [ecx + 0x48]
and ecx, 0x100000
xor eax, eax
or ecx, eax
jne 0x70d6dd2f
xor eax, eax
ret 4
je 0x70d6dc87
add edx, 0xfffffff4
cmp eax, edx
ja 0x70d6dc1d
je 0x70d6dc12
sub eax, 0x1b5
je 0x70d6dc07
sub eax, 0x10f
je 0x70d6dbf9
sub eax, 0x1d
je 0x70d6dbeb
sub eax, 0x26
je 0x70d6dbdd
sub eax, 0x4b
je 0x70d6dbcf
dec eax
dec eax
je 0x70d6dbc1
sub eax, 3
jne 0x70d232fd
mov ecx, dword [ecx + 0x4c]
and ecx, 0x2000000
jmp 0x70d6dc90
mov ecx, dword [ecx + 0x4c]
and ecx, 0x4000000
jmp 0x70d6dc90
mov ecx, dword [ecx + 0x4c]
and ecx, 0x40000000
jmp 0x70d6dc90
mov ecx, dword [ecx + 0x4c]
and ecx, 0x8000000
jmp 0x70d6dc90
mov ecx, dword [ecx + 0x4c]
and ecx, 0x10000000
jmp 0x70d6dc90
mov ecx, dword [ecx + 0x4c]
and ecx, 0x20000000
jmp 0x70d6dc90
mov ecx, dword [ecx + 0x4c]
and ecx, 0x80000000
jmp 0x70d6dc90
mov ecx, dword [ecx + 0x4c]
and ecx, 0x1000000
jmp 0x70d6dc90
sub eax, 0x35c
je 0x70d6dc7c
dec eax
je 0x70d6dc71
dec eax
je 0x70d6dc66
dec eax
je 0x70d6dc5b
dec eax
je 0x70d6dc50
dec eax
je 0x70d6dc45
dec eax
jne 0x70d232fd
mov ecx, dword [ecx + 0x4c]
and ecx, 0x20000
jmp 0x70d6dc90
mov ecx, dword [ecx + 0x4c]
and ecx, 0x40000
jmp 0x70d6dc90
mov ecx, dword [ecx + 0x4c]
and ecx, 0x80000
jmp 0x70d6dc90
mov ecx, dword [ecx + 0x4c]
and ecx, 0x100000
jmp 0x70d6dc90
mov ecx, dword [ecx + 0x4c]
and ecx, 0x200000
jmp 0x70d6dc90
mov ecx, dword [ecx + 0x4c]
and ecx, 0x400000
jmp 0x70d6dc90
mov ecx, dword [ecx + 0x4c]
and ecx, 0x800000
jmp 0x70d6dc90
mov ecx, dword [ecx + 0x4c]
and ecx, 0x10000
xor eax, eax
or eax, ecx
jmp 0x70d232f7
sub eax, 0x12c
je 0x70d6dcb2
dec eax
jne 0x70d232fd
mov ecx, dword [ecx + 0x48]
and ecx, 4
jmp 0x70d232f3
mov ecx, dword [ecx + 0x48]
and ecx, 2
jmp 0x70d232f3
mov ecx, dword [ecx + 0x48]
and ecx, 0x10000
jmp 0x70d232f3
sub eax, 0x4e5
je 0x70d6dd24
dec eax
je 0x70d6dd19
dec eax
je 0x70d6dd0e
dec eax
je 0x70d6dd03
dec eax
je 0x70d6dcf5
sub eax, 0x68
jne 0x70d232fd
mov ecx, dword [ecx + 0x48]
and ecx, 0x200000
jmp 0x70d232f3
mov ecx, dword [ecx + 0x48]
and ecx, 0x80
jmp 0x70d232f3
mov ecx, dword [ecx + 0x48]
and ecx, 0x40
jmp 0x70d232f3
mov ecx, dword [ecx + 0x48]
and ecx, 0x20
jmp 0x70d232f3
mov ecx, dword [ecx + 0x48]
and ecx, 0x10
jmp 0x70d232f3
mov ecx, dword [ecx + 0x48]
and ecx, 8
jmp 0x70d232f3
xor eax, eax
inc eax
jmp 0x70d232ff
Function at 0x70d327af
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push 0x400
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
cmp dword [0x70e6d5a8], esi
mov dword [0x70e6c020], eax
je 0x70d3275b
push 0x14
lea ecx, [ebp - 0x34]
push ecx
push 0x1014
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], esi
je 0x70d7d857
movzx eax, word [ebp - 0x34]
sub eax, 0x31
jne 0x70d7d8ad
mov dword [0x70e6c024], 1
mov dword [0x70e6cad8], esi
jmp 0x70d327c4
push ebp
mov ebp, esp
sub esp, 0x34
push esi
xor esi, esi
cmp dword [0x70e6cad8], esi
jne 0x70d3272b
mov ax, word [0x70e6c020]
pop esi
leave
ret
lea eax, [ebp - 8]
push eax
push 0x20019
push esi
push 0x70d7d8d8
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x70d32764
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push 0x70d7d8cc
push dword [ebp - 8]
mov word [ebp - 0x34], si
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x70d7d89f
mov dword [ebp - 4], esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x70d32764
dec eax
je 0x70d7d8bb
mov dword [0x70e6c024], esi
jmp 0x70d3277b
mov dword [0x70e6c024], 2
jmp 0x70d3277b
Function at 0x70d348c3
Capabilities:
Query environment variable

Disassembly:
push ecx
push ecx
mov eax, dword [0x70e6c2e8]
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebx, ebx
xor esi, esi
cmp eax, ebx
push 2
pop ebp
jne 0x70d3496d
call edi
mov esi, eax
cmp esi, ebx
je 0x70d83498
mov dword [0x70e6c2e8], 1
cmp esi, ebx
je 0x70d834b9
cmp word [esi], bx
mov eax, esi
je 0x70d34916
add eax, ebp
cmp word [eax], bx
jne 0x70d34908
add eax, ebp
cmp word [eax], bx
jne 0x70d34908
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push ebx
push ebx
sub eax, esi
push ebx
sar eax, 1
inc eax
push eax
push esi
push ebx
push ebx
mov dword [esp + 0x34], eax
call edi
mov ebp, eax
cmp ebp, ebx
je 0x70d3495d
push ebp
call fcn.70d34cb2
cmp eax, ebx
pop ecx
mov dword [esp + 0x10], eax
je 0x70d3495d
push ebx
push ebx
push ebp
push eax
push dword [esp + 0x24]
push esi
push ebx
push ebx
call edi
test eax, eax
je 0x70d834c6
mov ebx, dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
cmp eax, 1
jne 0x70d834d9
jmp 0x70d348f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x70d834af
mov eax, ebp
mov dword [0x70e6c2e8], eax
jmp 0x70d3496d
mov eax, dword [0x70e6c2e8]
jmp 0x70d3496d
call edi
mov esi, eax
cmp esi, ebx
je 0x70d834e1
jmp 0x70d34901
push dword [esp + 0x10]
call fcn.70d34d2c
pop ecx
mov dword [esp + 0x10], ebx
jmp 0x70d34959
cmp eax, ebp
je 0x70d834e8
cmp eax, ebx
je 0x70d834e8
xor eax, eax
jmp 0x70d34966
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebp, eax
cmp ebp, ebx
je 0x70d834e1
cmp byte [ebp], bl
je 0x70d83503
inc eax
cmp byte [eax], bl
jne 0x70d834f9
inc eax
cmp byte [eax], bl
jne 0x70d834f9
sub eax, ebp
inc eax
mov esi, eax
push esi
call fcn.70d34cb2
cmp eax, ebx
pop ecx
je 0x70d83529
mov ecx, esi
mov edx, ecx
shr ecx, 2
mov esi, ebp
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ebx, eax
push ebp
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
jmp 0x70d34964
Function at 0x70d35315
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
push esi
jne 0x70d681a3
mov eax, 0x94
call fcn.70d34fb4
mov esi, esp
push esi
mov dword [esi], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x70d68192
mov ecx, dword [esi + 0x10]
mov dword [0x70e6c1b8], ecx
mov eax, dword [esi + 4]
mov dword [0x70e6c1c4], eax
mov edx, dword [esi + 8]
mov dword [0x70e6c1c8], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
cmp ecx, 2
mov dword [0x70e6c1bc], esi
jne 0x70d83217
shl eax, 8
add eax, edx
push 0
mov dword [0x70e6c1c0], eax
call fcn.70d35657
test eax, eax
pop ecx
je 0x70d68192
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x70e6c668], eax
call fcn.70d348c3
mov dword [0x70e6c1b4], eax
call fcn.70d34978
test eax, eax
jl 0x70d83228
call fcn.70d35272
test eax, eax
jl 0x70d68199
call fcn.70d355d6
test eax, eax
jl 0x70d68199
call fcn.70d353ea
test eax, eax
jne 0x70d68199
inc dword [0x70e6c1b0]
xor eax, eax
inc eax
lea esp, [ebp - 4]
pop esi
pop ebp
ret 0xc
call fcn.70e06178
jmp 0x70d353df
xor eax, eax
jmp 0x70d353e2
call fcn.70d833a7
jmp 0x70d83228
xor eax, eax
cmp dword [ebp + 0xc], eax
jne 0x70d353df
jmp 0x70d83232
or esi, 0x8000
mov dword [0x70e6c1bc], esi
jmp 0x70d35376
call fcn.70e06178
jmp 0x70d68192
cmp dword [0x70e6c1b0], eax
jle 0x70d68192
dec dword [0x70e6c1b0]
cmp dword [0x70e75078], eax
jne 0x70d83251
call fcn.70e06169
call fcn.70d833a7
jmp 0x70d68188

Function at 0x70d35824
Capabilities:
Get system information on windows

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xb8
lea eax, [ebp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp + 0x70]
mov dword [0x70e6cb50], eax
mov eax, dword [ebp + 0x58]
mov dword [0x70e6c1ac], eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x40], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x70d3587c
xor eax, eax
cmp dword [ebp - 0x30], 2
sete al
mov dword [0x70e6c074], eax
mov eax, dword [ebp - 0x3c]
mov dword [0x70e6c1a8], eax
mov eax, dword [ebp - 0x38]
mov dword [0x70e6c1a4], eax
call fcn.70d3579f
mov dword [0x70e6c670], eax
add ebp, 0x78
leave
ret
Function at 0x70d35c1e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb58
push edi
xor edi, edi
cmp dword [0x70e6dcfc], edi
mov dword [ebp - 4], 1
jne 0x70d35d44
cmp dword [0x70e6d5a8], edi
push ebx
push esi
push 0x104
je 0x70d6fda8
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, eax
cmp esi, edi
jbe 0x70d35c8f
lea eax, [esi - 1]
cmp eax, edi
jl 0x70d35c7c
cmp word [ebp + eax*2 - 0x424], 0x5c
je 0x70d35d6a
dec eax
jns 0x70d35c6a
cmp esi, edi
jbe 0x70d35c8f
cmp word [ebp + esi*2 - 0x426], 0x5c
je 0x70d6fde0
mov word [ebp + esi*2 - 0x424], di
lea edi, [esi + 8]
lea eax, [edi + edi]
push eax
lea ebx, [esi + 7]
call fcn.70d4fb28
push edi
mov dword [0x70e6dcfc], eax
call fcn.70d4fb28
mov dword [0x70e6dcf8], eax
lea eax, [ebx + ebx]
push eax
call fcn.70d4fb28
push ebx
mov dword [0x70e6dcf4], eax
call fcn.70d4fb28
mov ecx, dword [0x70e6dcfc]
xor edi, edi
cmp ecx, edi
mov dword [0x70e6dcf0], eax
je 0x70d35d71
cmp dword [0x70e6dcf8], edi
je 0x70d35d71
cmp dword [0x70e6dcf4], edi
je 0x70d35d71
cmp eax, edi
je 0x70d35d71
lea eax, [ebp - 0x424]
push eax
push ecx
call fcn.70d35968
lea eax, [ebp - 0x424]
push eax
push dword [0x70e6dcf4]
call fcn.70d35968
cmp dword [0x70e6d5a8], edi
je 0x70d6fde6
push 0x70d35d4c
push dword [0x70e6dcfc]
call fcn.70d35bf3
push 0x70d35d5c
push dword [0x70e6dcf4]
call fcn.70d35bf3
pop esi
pop ebx
mov eax, dword [ebp - 4]
pop edi
leave
ret
mov esi, eax
jmp 0x70d35c7c
mov dword [ebp - 4], edi
jmp 0x70d35d42
lea eax, [ebp - 0x528]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov esi, eax
lea eax, [ebp - 0x528]
push eax
lea ecx, [ebp - 0x738]
call fcn.70daad20
push dword [ebp - 0x734]
lea eax, [ebp - 0x424]
push eax
call fcn.70d35968
jmp 0x70d35c7c
dec esi
jmp 0x70d35c8f
push dword [0x70e6dcfc]
lea ecx, [ebp - 0x21c]
call fcn.70d1da0c
push dword [0x70e6dcf4]
lea ecx, [ebp - 0x110]
call fcn.70d1da0c
xor eax, eax
mov ecx, 0x104
cmp eax, ecx
jae 0x70d6fe2a
mov edx, dword [ebp - 0x218]
mov bl, byte [eax + 0x70d6fee8]
add edx, eax
inc eax
cmp eax, 8
mov byte [edx + esi], bl
jb 0x70d6fe0a
xor eax, eax
cmp eax, ecx
jae 0x70d6fe47
mov edx, dword [ebp - 0x10c]
mov bl, byte [eax + 0x70d6fef0]
add edx, eax
inc eax
cmp eax, 7
mov byte [edx + esi], bl
jb 0x70d6fe2c
push dword [ebp - 0x218]
lea ecx, [ebp - 0x948]
call fcn.70daad20
push dword [ebp - 0x10c]
lea ecx, [ebp - 0xb58]
call fcn.70daad20
push dword [ebp - 0x944]
push dword [0x70e6dcfc]
call fcn.70d35968
push dword [ebp - 0xb54]
push dword [0x70e6dcf4]
call fcn.70d35968
mov esi, dword [ebp - 0x218]
mov eax, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x70d6fe96
mov edi, dword [0x70e6dcf8]
sub eax, ecx
lea ecx, [eax + 1]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x10c]
mov eax, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x70d6fec1
mov edi, dword [0x70e6dcf0]
sub eax, ecx
lea ecx, [eax + 1]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x70d35d42
Function at 0x70d366b7
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
xor esi, esi
cmp dword [0x70e6d5a8], esi
push 1
push esi
je 0x70d7586f
push dword [0x70e6cadc]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x70d36710
push dword [ebp + 8]
lea eax, [ebp - 8]
push esi
push esi
push esi
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x70d36707
xor esi, esi
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret 4
push dword [0x70e6dd98]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
jmp 0x70d366e3

Function at 0x70d369ff
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
cmp dword [0x70e6c074], 0
je 0x70d7ec86
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x70d36a42
cmp dword [ebp + 0xc], 1
jne 0x70d7ecd5
leave
ret 0x10
push dword [ebp + 0xc]
lea ecx, [ebp - 0x110]
call fcn.70d1da0c
cmp dword [ebp - 0x110], 0x55464131
jne 0x70d7ecd5
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp - 0x10c]
mov dword [ebp - 4], 0x104
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x70d36a42
cmp dword [ebp + 0xc], 1
je 0x70d7ecdd
push 0xd
pop eax
jmp 0x70d36a42
mov eax, dword [ebp + 0x14]
shr eax, 1
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x214]
push eax
call fcn.70da6951
neg eax
sbb eax, eax
and eax, 0xfffffff3
add eax, 0xd
jmp 0x70d36a42
Function at 0x70d39173
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
call fcn.70d3729d
inc eax
push 0x18
mov dword [ebp - 4], eax
call fcn.70d4fb28
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x70d39214
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 8], edi
mov dword [esi + 0x14], ebx
cmp dword [0x70e6d5a8], edi
je 0x70d77cd1
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x70d3920e
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, edi
mov dword [esi + 0x10], eax
je 0x70d3920e
push esi
push edi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x70d3920e
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push esi
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.70d38169
pop edi
pop esi
pop ebx
leave
ret 4
push esi
call fcn.70d660c8
xor eax, eax
jmp 0x70d39207
push ebx
lea ecx, [ebp - 0x110]
call fcn.70d1da0c
cmp dword [ebp - 0x110], 0x55464131
jne 0x70d77d0a
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push dword [ebp - 0x10c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
jmp 0x70d391cf
or ebx, 0xffffffff
jmp 0x70d391d1
Function at 0x70d39d48
Capabilities:
Query or enumerate registry value

Disassembly:
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
pop edi
pop esi
leave
ret
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x70d39b86
push ebp
mov ebp, esp
sub esp, 0x424
push esi
push edi
lea eax, [ebp - 4]
push eax
push 9
xor edi, edi
push edi
push 0x70d39e98
push 0x80000002
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x70d39b86
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push dword [ebp - 4]
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, edi
jne 0x70d39b8a
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x70d39b8a
imul eax, eax, 0x210
push eax
call fcn.70d4fb28
cmp eax, edi
mov dword [esi + 0xc], eax
je 0x70d39b8a
mov dword [ebp - 8], edi
push ebx
mov eax, 0x104
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
push edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x424]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, edi
jne 0x70d39b7c
inc dword [ebp - 8]
mov eax, dword [ebp - 0x14]
dec eax
cmp eax, edi
jl 0x70d39e12
cmp word [ebp + eax*2 - 0x21c], 0x2c
je 0x70d39f14
dec eax
jns 0x70d39e00
mov eax, dword [0x70e6dd00]
mov ecx, dword [eax + 8]
lea eax, [ebp - 0x21c]
push eax
call fcn.70d36f56
cmp eax, edi
je 0x70d39dbe
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
imul ecx, ecx, 0x210
mov dword [ecx + edx + 0x20c], eax
xor eax, eax
cmp dword [ebp - 0xc], edi
jbe 0x70d39e6a
mov cx, word [ebp + eax*2 - 0x424]
cmp cx, 0x2c
je 0x70d39e6a
mov edx, dword [esi + 0x10]
mov ebx, dword [esi + 0xc]
imul edx, edx, 0x108
add edx, eax
inc eax
mov word [ebx + edx*2], cx
cmp eax, dword [ebp - 0xc]
jb 0x70d39e44
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
imul ecx, ecx, 0x108
add ecx, eax
mov word [edx + ecx*2], di
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
imul ecx, ecx, 0x210
mov dword [ecx + edx + 0x208], eax
inc dword [esi + 0x10]
jmp 0x70d39dbe
mov word [ebp + eax*2 - 0x21c], di
jmp 0x70d39e12
Function at 0x70d39fc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
push ebx
push esi
push 8
mov esi, ecx
call fcn.70d4fb28
xor ebx, ebx
cmp eax, ebx
mov dword [esi + 4], eax
je 0x70d3a08f
push edi
mov dword [eax], ebx
mov eax, dword [esi + 4]
push 0x45
mov dword [eax + 4], ebx
xor edi, edi
xor eax, eax
pop ecx
mov word [ebp + eax - 0x22c], cx
inc edi
lea eax, [edi + edi]
xor ecx, ecx
mov cx, word [eax + 0x70d3a040]
cmp cx, bx
jne 0x70d39ff1
call dword [sym.imp.KERNEL32.dll_GetACP]
test eax, eax
jbe 0x70d3a02a
xor edx, edx
push 0xa
pop ecx
div ecx
add edx, 0x30
mov word [ebp + ebx*2 - 0x24], dx
inc ebx
cmp ebx, 5
jl 0x70d3a011
dec ebx
js 0x70d3a04c
mov ax, word [ebp + ebx*2 - 0x24]
mov word [ebp + edi*2 - 0x22c], ax
inc edi
jmp 0x70d3a02a
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push 9
push eax
mov word [ebp + edi*2 - 0x22c], ax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x22c]
push eax
push 0x80000001
mov dword [ebp - 0xc], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x70d75758
cmp dword [ebp - 4], 0
pop edi
jne 0x70d75835
pop esi
pop ebx
leave
ret
mov eax, 0x104
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x22c]
push eax
xor edi, edi
push edi
push edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x434]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, edi
mov dword [ebp - 0x18], eax
jne 0x70d75823
cmp dword [ebp - 0xc], edi
je 0x70d757ca
push 0x70d8abc0
lea eax, [ebp - 0x434]
push eax
call fcn.70d37230
test eax, eax
jne 0x70d757ca
lea eax, [ebp - 0x22c]
push eax
mov ecx, esi
mov dword [ebp - 0xc], edi
call fcn.70db67a2
cmp eax, edi
je 0x70d75823
mov ecx, dword [esi + 4]
mov dword [ecx], eax
jmp 0x70d75823
mov eax, dword [0x70e6dd00]
mov ecx, dword [eax + 8]
lea eax, [ebp - 0x434]
push eax
call fcn.70d36f56
mov ebx, eax
cmp ebx, edi
je 0x70d75823
lea eax, [ebp - 0x22c]
push eax
mov ecx, esi
call fcn.70db67a2
mov edi, eax
test edi, edi
je 0x70d75823
push 0xc
call fcn.70d4fb28
test eax, eax
je 0x70d75823
mov dword [eax], ebx
mov dword [eax + 4], edi
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
test edx, edx
jne 0x70d7581a
mov dword [ecx + 4], eax
and dword [eax + 8], edx
jmp 0x70d75823
mov dword [eax + 8], edx
mov ecx, dword [esi + 4]
mov dword [ecx + 4], eax
inc dword [ebp - 8]
cmp dword [ebp - 0x18], 0
je 0x70d75758
jmp 0x70d3a084
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x70d3a08f
Function at 0x70d3c2ad
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov dword [0x70e6cb48], ecx
mov dword [0x70e6dd88], edi
call ebx
mov dword [0x70e6cb4c], eax
jmp 0x70d3c2dc
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
xor edi, edi
cmp dword [0x70e6dd60], edi
mov dword [0x70e6dd88], edi
je 0x70d3c2e0
call ebx
sub eax, dword [0x70e6cb4c]
cmp eax, 0x7530
sbb eax, eax
inc eax
mov dword [esp + 8], eax
jne 0x70d3c2e5
pop edi
pop ebx
pop ecx
ret
call fcn.70d3c314
cmp dword [0x70e6c880], edi
je 0x70d7e15a
cmp dword [0x70e6dd88], edi
je 0x70d3c2a4
mov eax, dword [0x70e6dd60]
xor ecx, ecx
cmp eax, edi
je 0x70d3c298
mov edx, dword [eax + 0x40]
cmp edx, ecx
ja 0x70d3c310
mov eax, dword [eax + 0x4c]
jmp 0x70d3c300
mov ecx, edx
jmp 0x70d3c30b
push esi
push 0x20000
push 0x70e75038
mov esi, 0x70d8e6e8
push esi
push 0x80000002
call fcn.70ded9da
push 0x40000
push 0x70e75034
push esi
push 0x80000001
call fcn.70ded9da
pop esi
jmp 0x70d3c2f1
Function at 0x70d46d35
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov eax, dword [esi + 0x14]
cmp eax, edi
je 0x70d42209
cmp dword [0x70e6d5a8], edi
je 0x70d77c8f
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0xffffffff
je 0x70d42209
lea eax, [ebp - 0xc]
push eax
push edi
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x70d42200
mov eax, dword [ebp - 0xc]
cmp eax, dword [esi]
jne 0x70d42200
mov eax, dword [ebp - 8]
cmp eax, dword [esi + 4]
jne 0x70d42200
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
je 0x70d421ff
push edi
push edi
push edi
push 2
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, edi
mov dword [ebp + 0x10], eax
je 0x70d421ff
push edi
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, edi
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
je 0x70d421f6
xor ecx, ecx
inc ecx
mov dword [esi + 0xc], eax
mov eax, dword [ebx]
mov dword [ebp - 4], ecx
mov dword [esi + 0x10], eax
mov dword [esi + 8], ecx
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
jmp 0x70d46d72
push ebp
mov ebp, esp
sub esp, 0x118
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
push edi
xor edi, edi
cmp eax, edi
mov dword [ebp - 4], edi
je 0x70d42148
inc eax
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x70d46d63
mov ecx, dword [esi + 0xc]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
cmp eax, edi
je 0x70d46d6f
mov ecx, dword [esi + 0x10]
mov dword [eax], ecx
xor eax, eax
inc eax
pop edi
pop esi
leave
ret 0xc
push eax
lea ecx, [ebp - 0x118]
call fcn.70d1da0c
cmp dword [ebp - 0x118], 0x55464131
jne 0x70d77cc8
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push dword [ebp - 0x114]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
jmp 0x70d42176
or dword [ebp + 8], 0xffffffff
jmp 0x70d42179