joyce8/EMBER2024-capa huggingface dataset:
Function at 0xe55058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00e551a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xe5507e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xe5506a
add dl, dl
jne 0xe55089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xe550dc
xor eax, eax
add dl, dl
jne 0xe55096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xe5517d
add dl, dl
jne 0xe550a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe550b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe550bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe550c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xe550d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xe55075
mov eax, 1
add dl, dl
jne 0xe550ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe550f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xe550e1
sub eax, ebx
mov ebx, 1
jne 0xe55128
mov ecx, 1
add dl, dl
jne 0xe5510e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xe55119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xe55105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xe55075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xe5513f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xe5514a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xe55136
cmp eax, 0x7d00
jae 0xe5516d
cmp eax, 0x500
jb 0xe55168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xe55075
cmp eax, 0x7f
ja 0xe55170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xe55075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xe5519e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xe55075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x70d039ab
Capabilities:
Create thread

Disassembly:
push ebx
push edi
xor ebx, ebx
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edi, eax
cmp edi, ebx
je 0x70d6d914
push esi
mov esi, 0x70e6dc88
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
mov dword [0x70e6c01c], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x70e6c018
push ebx
push ebx
push 0x70d31ba7
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [0x70e6dd38], eax
pop esi
je 0x70d6d914
xor eax, eax
mov dword [0x70e6cbf0], 1
inc eax
pop edi
pop ebx
ret
call fcn.70d31c33
xor eax, eax
jmp 0x70d03a0d
Function at 0x70d1e783
Capabilities:
Inspect section memory permissions

Disassembly:
mov ecx, dword [ecx + 0x48]
and ecx, 0x20000
jmp 0x70d1e7d5
mov ecx, dword [ecx + 0x48]
and ecx, 0x40000
jmp 0x70d1e7d5
mov ecx, dword [ecx + 0x48]
and ecx, 0x80000
jmp 0x70d1e7d5
mov ecx, dword [ecx + 0x48]
and ecx, 1
jmp 0x70d1e7d5
mov eax, dword [esp + 4]
mov edx, 0x365
cmp eax, edx
jbe 0x70d6daf2
mov edx, 0x4e4
cmp eax, edx
ja 0x70d6dc4b
je 0x70d1e77b
sub eax, 0x36a
je 0x70d6dc3d
sub eax, 0x3a
je 0x70d1e4cf
sub eax, 4
je 0x70d1e4dd
sub eax, 0xd
je 0x70d1e770
dec eax
jne 0x70d6dc19
mov ecx, dword [ecx + 0x48]
and ecx, 0x100000
xor eax, eax
or ecx, eax
jne 0x70d6dcaf
xor eax, eax
ret 4
je 0x70d6dc07
add edx, 0xfffffff4
cmp eax, edx
ja 0x70d6db9d
je 0x70d6db92
sub eax, 0x1b5
je 0x70d6db87
sub eax, 0x10f
je 0x70d6db79
sub eax, 0x1d
je 0x70d6db6b
sub eax, 0x26
je 0x70d6db5d
sub eax, 0x4b
je 0x70d6db4f
dec eax
dec eax
je 0x70d6db41
sub eax, 3
jne 0x70d1e7df
mov ecx, dword [ecx + 0x4c]
and ecx, 0x2000000
jmp 0x70d6dc10
mov ecx, dword [ecx + 0x4c]
and ecx, 0x4000000
jmp 0x70d6dc10
mov ecx, dword [ecx + 0x4c]
and ecx, 0x40000000
jmp 0x70d6dc10
mov ecx, dword [ecx + 0x4c]
and ecx, 0x8000000
jmp 0x70d6dc10
mov ecx, dword [ecx + 0x4c]
and ecx, 0x10000000
jmp 0x70d6dc10
mov ecx, dword [ecx + 0x4c]
and ecx, 0x20000000
jmp 0x70d6dc10
mov ecx, dword [ecx + 0x4c]
and ecx, 0x80000000
jmp 0x70d6dc10
mov ecx, dword [ecx + 0x4c]
and ecx, 0x1000000
jmp 0x70d6dc10
sub eax, 0x35c
je 0x70d6dbfc
dec eax
je 0x70d6dbf1
dec eax
je 0x70d6dbe6
dec eax
je 0x70d6dbdb
dec eax
je 0x70d6dbd0
dec eax
je 0x70d6dbc5
dec eax
jne 0x70d1e7df
mov ecx, dword [ecx + 0x4c]
and ecx, 0x20000
jmp 0x70d6dc10
mov ecx, dword [ecx + 0x4c]
and ecx, 0x40000
jmp 0x70d6dc10
mov ecx, dword [ecx + 0x4c]
and ecx, 0x80000
jmp 0x70d6dc10
mov ecx, dword [ecx + 0x4c]
and ecx, 0x100000
jmp 0x70d6dc10
mov ecx, dword [ecx + 0x4c]
and ecx, 0x200000
jmp 0x70d6dc10
mov ecx, dword [ecx + 0x4c]
and ecx, 0x400000
jmp 0x70d6dc10
mov ecx, dword [ecx + 0x4c]
and ecx, 0x800000
jmp 0x70d6dc10
mov ecx, dword [ecx + 0x4c]
and ecx, 0x10000
xor eax, eax
or eax, ecx
jmp 0x70d1e7d9
sub eax, 0x12c
je 0x70d6dc32
dec eax
jne 0x70d1e7df
mov ecx, dword [ecx + 0x48]
and ecx, 4
jmp 0x70d1e7d5
mov ecx, dword [ecx + 0x48]
and ecx, 2
jmp 0x70d1e7d5
mov ecx, dword [ecx + 0x48]
and ecx, 0x10000
jmp 0x70d1e7d5
sub eax, 0x4e5
je 0x70d6dca4
dec eax
je 0x70d6dc99
dec eax
je 0x70d6dc8e
dec eax
je 0x70d6dc83
dec eax
je 0x70d6dc75
sub eax, 0x68
jne 0x70d1e7df
mov ecx, dword [ecx + 0x48]
and ecx, 0x200000
jmp 0x70d1e7d5
mov ecx, dword [ecx + 0x48]
and ecx, 0x80
jmp 0x70d1e7d5
mov ecx, dword [ecx + 0x48]
and ecx, 0x40
jmp 0x70d1e7d5
mov ecx, dword [ecx + 0x48]
and ecx, 0x20
jmp 0x70d1e7d5
mov ecx, dword [ecx + 0x48]
and ecx, 0x10
jmp 0x70d1e7d5
mov ecx, dword [ecx + 0x48]
and ecx, 8
jmp 0x70d1e7d5
xor eax, eax
inc eax
jmp 0x70d1e7e1
Function at 0x70d1f4d9
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
call fcn.70d1f15b
xor ebx, ebx
cmp eax, ebx
mov dword [esi + 0x20], eax
je 0x70d7ecc8
push 0x80
push 3
push 1
push 0x80000000
push dword [ebp + 8]
call fcn.70d1ef96
cmp eax, 0xffffffff
mov dword [esi + 0x1c], eax
jne 0x70d7ecd2
call fcn.70d1f4ba
pop edi
pop esi
pop ebx
leave
ret 4
mov eax, 0x8007000e
jmp 0x70d1f51f
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x70d1f51a
cmp dword [ebp - 4], ebx
jne 0x70d1f51a
push ebx
push ebx
push ebx
push 2
push ebx
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x70d1f51a
push ebx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push dword [ebp + 8]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
je 0x70d1f51a
mov eax, dword [ebp - 8]
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], edi
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], 4
xor eax, eax
jmp 0x70d1f51f

Function at 0x70d32789
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 [0x70e6d658], esi
mov dword [0x70e6c020], eax
je 0x70d32735
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 0x70d7d7d7
movzx eax, word [ebp - 0x34]
sub eax, 0x31
jne 0x70d7d82d
mov dword [0x70e6c024], 1
mov dword [0x70e6cb04], esi
jmp 0x70d3279e
push ebp
mov ebp, esp
sub esp, 0x34
push esi
xor esi, esi
cmp dword [0x70e6cb04], esi
jne 0x70d32705
mov ax, word [0x70e6c020]
pop esi
leave
ret
lea eax, [ebp - 8]
push eax
push 0x20019
push esi
push 0x70d7d858
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x70d3273e
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push 0x70d7d84c
push dword [ebp - 8]
mov word [ebp - 0x34], si
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x70d7d81f
mov dword [ebp - 4], esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x70d3273e
dec eax
je 0x70d7d83b
mov dword [0x70e6c024], esi
jmp 0x70d32755
mov dword [0x70e6c024], 2
jmp 0x70d32755
Function at 0x70d3489c
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 0x70d34946
call edi
mov esi, eax
cmp esi, ebx
je 0x70d83418
mov dword [0x70e6c2e8], 1
cmp esi, ebx
je 0x70d83439
cmp word [esi], bx
mov eax, esi
je 0x70d348ef
add eax, ebp
cmp word [eax], bx
jne 0x70d348e1
add eax, ebp
cmp word [eax], bx
jne 0x70d348e1
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 0x70d34936
push ebp
call fcn.70d34c8a
cmp eax, ebx
pop ecx
mov dword [esp + 0x10], eax
je 0x70d34936
push ebx
push ebx
push ebp
push eax
push dword [esp + 0x24]
push esi
push ebx
push ebx
call edi
test eax, eax
je 0x70d83446
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 0x70d83459
jmp 0x70d348d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x70d8342f
mov eax, ebp
mov dword [0x70e6c2e8], eax
jmp 0x70d34946
mov eax, dword [0x70e6c2e8]
jmp 0x70d34946
call edi
mov esi, eax
cmp esi, ebx
je 0x70d83461
jmp 0x70d348da
push dword [esp + 0x10]
call fcn.70d34d04
pop ecx
mov dword [esp + 0x10], ebx
jmp 0x70d34932
cmp eax, ebp
je 0x70d83468
cmp eax, ebx
je 0x70d83468
xor eax, eax
jmp 0x70d3493f
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebp, eax
cmp ebp, ebx
je 0x70d83461
cmp byte [ebp], bl
je 0x70d83483
inc eax
cmp byte [eax], bl
jne 0x70d83479
inc eax
cmp byte [eax], bl
jne 0x70d83479
sub eax, ebp
inc eax
mov esi, eax
push esi
call fcn.70d34c8a
cmp eax, ebx
pop ecx
je 0x70d834a9
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 0x70d3493d
Function at 0x70d352ed
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
push esi
jne 0x70d68127
mov eax, 0x94
call fcn.70d34f8c
mov esi, esp
push esi
mov dword [esi], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x70d68116
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 0x70d83197
shl eax, 8
add eax, edx
push 0
mov dword [0x70e6c1c0], eax
call fcn.70d3562f
test eax, eax
pop ecx
je 0x70d68116
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x70e6c668], eax
call fcn.70d3489c
mov dword [0x70e6c1b4], eax
call fcn.70d34951
test eax, eax
jl 0x70d831a8
call fcn.70d3524a
test eax, eax
jl 0x70d6811d
call fcn.70d355ae
test eax, eax
jl 0x70d6811d
call fcn.70d353c2
test eax, eax
jne 0x70d6811d
inc dword [0x70e6c1b0]
xor eax, eax
inc eax
lea esp, [ebp - 4]
pop esi
pop ebp
ret 0xc
call fcn.70e060f8
jmp 0x70d353b7
xor eax, eax
jmp 0x70d353ba
call fcn.70d83327
jmp 0x70d831a8
xor eax, eax
cmp dword [ebp + 0xc], eax
jne 0x70d353b7
jmp 0x70d831b2
or esi, 0x8000
mov dword [0x70e6c1bc], esi
jmp 0x70d3534e
call fcn.70e060f8
jmp 0x70d68116
cmp dword [0x70e6c1b0], eax
jle 0x70d68116
dec dword [0x70e6c1b0]
cmp dword [0x70e75070], eax
jne 0x70d831d1
call fcn.70e060e9
call fcn.70d83327
jmp 0x70d6810c

Function at 0x70d357fc
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 [0x70e6cb58], 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 0x70d35854
xor eax, eax
cmp dword [ebp - 0x30], 2
sete al
mov dword [0x70e6c670], eax
mov eax, dword [ebp - 0x3c]
mov dword [0x70e6c1a8], eax
mov eax, dword [ebp - 0x38]
mov dword [0x70e6c1a4], eax
call fcn.70d35777
mov dword [0x70e6c674], eax
add ebp, 0x78
leave
ret
Function at 0x70d35dba
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb58
push edi
xor edi, edi
cmp dword [0x70e6dd04], edi
mov dword [ebp - 4], 1
jne 0x70d35ee0
cmp dword [0x70e6d658], edi
push ebx
push esi
push 0x104
je 0x70d6fd28
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, eax
cmp esi, edi
jbe 0x70d35e2b
lea eax, [esi - 1]
cmp eax, edi
jl 0x70d35e18
cmp word [ebp + eax*2 - 0x424], 0x5c
je 0x70d35f06
dec eax
jns 0x70d35e06
cmp esi, edi
jbe 0x70d35e2b
cmp word [ebp + esi*2 - 0x426], 0x5c
je 0x70d6fd60
mov word [ebp + esi*2 - 0x424], di
lea edi, [esi + 8]
lea eax, [edi + edi]
push eax
lea ebx, [esi + 7]
call fcn.70d51bec
push edi
mov dword [0x70e6dd04], eax
call fcn.70d51bec
mov dword [0x70e6dd00], eax
lea eax, [ebx + ebx]
push eax
call fcn.70d51bec
push ebx
mov dword [0x70e6dcfc], eax
call fcn.70d51bec
mov ecx, dword [0x70e6dd04]
xor edi, edi
cmp ecx, edi
mov dword [0x70e6dcf8], eax
je 0x70d35f0d
cmp dword [0x70e6dd00], edi
je 0x70d35f0d
cmp dword [0x70e6dcfc], edi
je 0x70d35f0d
cmp eax, edi
je 0x70d35f0d
lea eax, [ebp - 0x424]
push eax
push ecx
call fcn.70d36635
lea eax, [ebp - 0x424]
push eax
push dword [0x70e6dcfc]
call fcn.70d36635
cmp dword [0x70e6d658], edi
je 0x70d6fd66
push 0x70d35ee8
push dword [0x70e6dd04]
call fcn.70d35d8f
push 0x70d35ef8
push dword [0x70e6dcfc]
call fcn.70d35d8f
pop esi
pop ebx
mov eax, dword [ebp - 4]
pop edi
leave
ret
mov esi, eax
jmp 0x70d35e18
mov dword [ebp - 4], edi
jmp 0x70d35ede
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.70daaca0
push dword [ebp - 0x734]
lea eax, [ebp - 0x424]
push eax
call fcn.70d36635
jmp 0x70d35e18
dec esi
jmp 0x70d35e2b
push dword [0x70e6dd04]
lea ecx, [ebp - 0x21c]
call fcn.70d1f3ac
push dword [0x70e6dcfc]
lea ecx, [ebp - 0x110]
call fcn.70d1f3ac
xor eax, eax
mov ecx, 0x104
cmp eax, ecx
jae 0x70d6fdaa
mov edx, dword [ebp - 0x218]
mov bl, byte [eax + 0x70d6fe68]
add edx, eax
inc eax
cmp eax, 8
mov byte [edx + esi], bl
jb 0x70d6fd8a
xor eax, eax
cmp eax, ecx
jae 0x70d6fdc7
mov edx, dword [ebp - 0x10c]
mov bl, byte [eax + 0x70d6fe70]
add edx, eax
inc eax
cmp eax, 7
mov byte [edx + esi], bl
jb 0x70d6fdac
push dword [ebp - 0x218]
lea ecx, [ebp - 0x948]
call fcn.70daaca0
push dword [ebp - 0x10c]
lea ecx, [ebp - 0xb58]
call fcn.70daaca0
push dword [ebp - 0x944]
push dword [0x70e6dd04]
call fcn.70d36635
push dword [ebp - 0xb54]
push dword [0x70e6dcfc]
call fcn.70d36635
mov esi, dword [ebp - 0x218]
mov eax, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x70d6fe16
mov edi, dword [0x70e6dd00]
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 0x70d6fe41
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]
jmp 0x70d35ede
Function at 0x70d36697
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 [0x70e6d658], esi
push 1
push esi
je 0x70d757ef
push dword [0x70e6cadc]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x70d366f0
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 0x70d366e7
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 [0x70e6dd94]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
jmp 0x70d366c3

Function at 0x70d369df
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
cmp dword [0x70e6c670], 0
je 0x70d7ec06
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 0x70d36a22
cmp dword [ebp + 0xc], 1
jne 0x70d7ec55
leave
ret 0x10
push dword [ebp + 0xc]
lea ecx, [ebp - 0x110]
call fcn.70d1f3ac
cmp dword [ebp - 0x110], 0x55464131
jne 0x70d7ec55
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 0x70d36a22
cmp dword [ebp + 0xc], 1
je 0x70d7ec5d
push 0xd
pop eax
jmp 0x70d36a22
mov eax, dword [ebp + 0x14]
shr eax, 1
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x214]
push eax
call fcn.70da68d1
neg eax
sbb eax, eax
and eax, 0xfffffff3
add eax, 0xd
jmp 0x70d36a22
Function at 0x70d39123
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.70d371c6
inc eax
push 0x18
mov dword [ebp - 4], eax
call fcn.70d51bec
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x70d391c4
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 [0x70e6d658], edi
je 0x70d77c51
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 0x70d391be
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, edi
mov dword [esi + 0x10], eax
je 0x70d391be
push esi
push edi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x70d391be
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push esi
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.70d38119
pop edi
pop esi
pop ebx
leave
ret 4
push esi
call fcn.70d66924
xor eax, eax
jmp 0x70d391b7
push ebx
lea ecx, [ebp - 0x110]
call fcn.70d1f3ac
cmp dword [ebp - 0x110], 0x55464131
jne 0x70d77c8a
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push dword [ebp - 0x10c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
jmp 0x70d3917f
or ebx, 0xffffffff
jmp 0x70d39181
Function at 0x70d39d30
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 0x70d39b6a
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 0x70d39e80
push 0x80000002
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x70d39b6a
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 0x70d39b6e
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x70d39b6e
imul eax, eax, 0x210
push eax
call fcn.70d51bec
cmp eax, edi
mov dword [esi + 0xc], eax
je 0x70d39b6e
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 0x70d39b60
inc dword [ebp - 8]
mov eax, dword [ebp - 0x14]
dec eax
cmp eax, edi
jl 0x70d39dfa
cmp word [ebp + eax*2 - 0x21c], 0x2c
je 0x70d39efc
dec eax
jns 0x70d39de8
mov eax, dword [0x70e6dcf4]
mov ecx, dword [eax + 8]
lea eax, [ebp - 0x21c]
push eax
call fcn.70d37099
cmp eax, edi
je 0x70d39da6
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 0x70d39e52
mov cx, word [ebp + eax*2 - 0x424]
cmp cx, 0x2c
je 0x70d39e52
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 0x70d39e2c
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 0x70d39da6
mov word [ebp + eax*2 - 0x21c], di
jmp 0x70d39dfa
Function at 0x70d39fa8
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.70d51bec
xor ebx, ebx
cmp eax, ebx
mov dword [esi + 4], eax
je 0x70d3a077
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 + 0x70d3a028]
cmp cx, bx
jne 0x70d39fd9
call dword [sym.imp.KERNEL32.dll_GetACP]
test eax, eax
jbe 0x70d3a012
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 0x70d39ff9
dec ebx
js 0x70d3a034
mov ax, word [ebp + ebx*2 - 0x24]
mov word [ebp + edi*2 - 0x22c], ax
inc edi
jmp 0x70d3a012
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 0x70d756d8
cmp dword [ebp - 4], 0
pop edi
jne 0x70d757b5
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 0x70d757a3
cmp dword [ebp - 0xc], edi
je 0x70d7574a
push 0x70d8ab40
lea eax, [ebp - 0x434]
push eax
call fcn.70d37159
test eax, eax
jne 0x70d7574a
lea eax, [ebp - 0x22c]
push eax
mov ecx, esi
mov dword [ebp - 0xc], edi
call fcn.70db6722
cmp eax, edi
je 0x70d757a3
mov ecx, dword [esi + 4]
mov dword [ecx], eax
jmp 0x70d757a3
mov eax, dword [0x70e6dcf4]
mov ecx, dword [eax + 8]
lea eax, [ebp - 0x434]
push eax
call fcn.70d37099
mov ebx, eax
cmp ebx, edi
je 0x70d757a3
lea eax, [ebp - 0x22c]
push eax
mov ecx, esi
call fcn.70db6722
mov edi, eax
test edi, edi
je 0x70d757a3
push 0xc
call fcn.70d51bec
test eax, eax
je 0x70d757a3
mov dword [eax], ebx
mov dword [eax + 4], edi
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
test edx, edx
jne 0x70d7579a
mov dword [ecx + 4], eax
and dword [eax + 8], edx
jmp 0x70d757a3
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 0x70d756d8
jmp 0x70d3a06c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x70d3a077