joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007e0f0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007fa78
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x1009d350]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov eax, dword [0x1009d2a8]
mov ecx, 0x1009d2a8
mov dword [ebp - 0x28], 0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, 0x100962f8
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x1007e162
movzx esi, ax
mov ecx, esi
call fcn.100017b9
test eax, eax
je 0x1007e171
push esi
push eax
lea ecx, [ebp - 0x10]
call fcn.10007221
jmp 0x1007e171
push 1
push 0x100962f8
lea ecx, [ebp - 0x10]
call fcn.100081be
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 1
call fcn.1007db60
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x24]
cmp dword [esi - 0xc], 0
je 0x1007e229
lea eax, [ebp - 0x14]
push eax
push esi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov edi, eax
test edi, edi
je 0x1007e229
push edi
call fcn.1004b5a0
add esp, 4
mov ebx, eax
push ebx
push edi
push dword [ebp - 0x14]
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x1007e220
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x10092514
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x1007e220
cmp dword [ebp - 0x18], 0
je 0x1007e220
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx], 0xfeef04bd
jne 0x1007e220
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
lea eax, [ebp - 0x10]
push str._d._d._d._d
push eax
call fcn.10009163
add esp, 0x18
push ebx
call fcn.1004d54b
add esp, 4
mov edi, dword [ebp - 0x10]
add edi, 0xfffffff0
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
mov ecx, eax
jl 0x1007e252
cmp ecx, dword [edi]
jne 0x1007e252
mov ebx, edi
mov eax, 1
lock xadd dword [edx], eax
jmp 0x1007e282
mov eax, dword [ecx]
push 1
push dword [edi + 4]
call dword [eax]
mov ebx, eax
test ebx, ebx
jne 0x1007e266
call fcn.10008235
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov ecx, dword [edi + 4]
inc ecx
push ecx
lea eax, [edi + 0x10]
push eax
push ecx
lea eax, [ebx + 0x10]
push eax
call fcn.1004d8fb
add esp, 0x10
lea eax, [ebx + 0x10]
mov ebx, dword [ebp - 0x20]
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov dword [ebx], eax
mov eax, esi
lea ecx, [edx + 0xc]
mov byte [ebp - 4], 1
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1007e2aa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [edi + 0xc]
mov dword [ebp - 4], 0xffffffff
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x1007e2c5
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1007e2e0
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007f873
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x1009d350]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
or esi, 0xffffffff
cmp byte [ebp + 0xc], 0
mov dword [ebp - 4], 0
je 0x1007e32a
call fcn.1007e530
jmp 0x1007e4ea
push dword [ebp + 8]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
call ebx
test eax, eax
je 0x1007e4ea
push 0x103
lea eax, [ebp - 0x14f]
push 0
push eax
mov byte [ebp - 0x150], 0
call fcn.1004e5f0
add esp, 0xc
lea eax, [ebp - 0x150]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push dword [edi + 0x974]
lea eax, [edi + 0x974]
mov dword [ebp - 0x260], eax
lea eax, [edi + 0x20]
push eax
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x258]
push eax
mov dword [ebp - 0x17], 0x697078
mov dword [ebp - 0x20], 0x255c7325
mov dword [ebp - 0x1c], 0x73255c73
mov byte [ebp - 0x18], 0x2e
call fcn.100169a0
add esp, 0x14
lea eax, [ebp - 0x258]
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 0x258]
push eax
call ebx
test eax, eax
je 0x1007e4ea
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x25c]
mov word [ebp - 0x32], 0x7269
mov dword [ebp - 0x2b], 0x65747865
mov dword [ebp - 0x37], 0x5c616c6c
mov word [ebp - 0x3c], 0x4d5c
mov word [ebp - 0x39], 0x697a
mov dword [ebp - 0x24], 0x736e6f
mov word [ebp - 0x26], 0x6973
mov byte [ebp - 0x33], 0x46
mov dword [ebp - 0x40], 0x65726177
mov dword [ebp - 0x30], 0x786f4665
mov byte [ebp - 0x3a], 0x6f
mov dword [ebp - 0x44], 0x74666f53
mov byte [ebp - 0x2c], 0x5c
mov byte [ebp - 0x27], 0x6e
call fcn.1000608b
mov byte [ebp - 4], 1
mov eax, dword [edi + 0x978]
mov ebx, 1
mov ecx, ebx
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x104
or eax, ecx
jge 0x1007e46a
push 0x104
lea ecx, [edi + 0x978]
call fcn.10008240
mov eax, dword [ebp - 0x25c]
mov edi, dword [edi + 0x978]
mov ecx, dword [eax - 8]
sub ebx, dword [eax - 4]
sub ecx, 0x104
or ecx, ebx
jge 0x1007e49c
push 0x104
lea ecx, [ebp - 0x25c]
call fcn.10008240
mov eax, dword [ebp - 0x25c]
lea ecx, [ebp - 0x258]
push ecx
push edi
push eax
push reloc.WS2_32.dll_accept
call fcn.1007ea80
push ecx
mov ecx, dword [ebp - 0x260]
call fcn.10006669
push ecx
lea ecx, [ebp - 0x25c]
call fcn.10006669
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x25c]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1007e4ea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x1007e50b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004bbda
mov esp, ebp
pop ebp
ret 8
Function at 0x1007e530
Capabilities:
Contain obfuscated stackstrings
Get common file path
Get file size
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007fddb
mov eax, dword fs:[0]
push eax
sub esp, 0x334
mov eax, dword [0x1009d350]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x103
lea eax, [ebp - 0x127]
push 0
push eax
mov byte [ebp - 0x128], 0
call fcn.1004e5f0
add esp, 0xc
lea eax, [ebp - 0x337]
push 0x103
push 0
push eax
mov byte [ebp - 0x338], 0
call fcn.1004e5f0
add esp, 0xc
lea eax, [ebp - 0x22f]
push 0x103
push 0
push eax
mov byte [ebp - 0x230], 0
call fcn.1004e5f0
mov eax, dword [0x1009d2a8]
add esp, 0xc
mov ecx, 0x1009d2a8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x33c], eax
mov dword [ebp - 4], 0
push dword [ebx + 0x974]
lea eax, [ebp - 0x1c]
push dword [ebx + 0x97c]
mov dword [ebp - 0x18], 0x70782e73
push eax
lea eax, [ebp - 0x33c]
push eax
mov dword [ebp - 0x1c], 0x255c7325
mov word [ebp - 0x14], 0x69
call fcn.10009163
add esp, 0x10
lea eax, [ebp - 0x128]
push 0
push 0x26
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x338]
push 0x104
push eax
call fcn.1004df1d
mov esi, dword [ebp - 0x33c]
add esp, 0xc
lea eax, [ebp - 0x128]
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0
push 0
push 3
push 0
push 0
push accept
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x1007e6cf
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x104
lea eax, [ebp - 0x230]
push 0
push eax
call fcn.1004e5f0
add esp, 0xc
lea eax, [ebp - 0x230]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push ecx
lea eax, [ebp - 0x340]
push eax
sub esp, 8
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x128]
push eax
mov ecx, ebx
mov dword [ebp - 0x340], 0
call fcn.1007e710
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1007e6f0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004bbda
mov esp, ebp
pop ebp
ret
Function at 0x1007ea80
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x1009d350]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x10c]
push eax
push 0xf003f
push 0
push ebx
push edi
mov dword [ebp - 0x10c], 0
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1007eafc
push 0
lea eax, [ebp - 0x10c]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
xor ecx, ecx
test eax, eax
cmovne esi, ecx
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.1004e5f0
mov ebx, dword [ebp - 0x110]
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x118]
push eax
push 0
push ebx
push dword [ebp - 0x10c]
mov dword [ebp - 0x11c], 0x104
mov dword [ebp - 0x118], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1007eb8a
mov edx, dword [ebp - 0x114]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007eb66
sub ecx, edi
push ecx
push edx
push 1
push 0
push ebx
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x1007ebee
xor esi, esi
jmp 0x1007ebee
mov ebx, dword [ebp - 0x114]
mov ecx, ebx
lea eax, [ebp - 0x108]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1007ebb8
test dl, dl
je 0x1007ebb4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1007ebb8
add eax, 2
add ecx, 2
test dl, dl
jne 0x1007eb98
xor eax, eax
jmp 0x1007ebbd
sbb eax, eax
or eax, 1
test eax, eax
je 0x1007ebee
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007ebc6
sub ecx, edx
push ecx
push ebx
push 1
push 0
push dword [ebp - 0x110]
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor ecx, ecx
test eax, eax
cmovne esi, ecx
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004bbda
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10001a4d
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x101f6410]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 2
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x10001aa3
lea eax, [ebp - 0x20c]
push eax
call fcn.100019bf
test al, al
pop ecx
jne 0x10001abd
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10001a85
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10145d71
leave
ret
xor al, al
jmp 0x10001ab0

Function at 0x10001ac1
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x101f6410]
xor eax, ebp
mov dword [ebp + 0x18c], eax
push esi
push edi
xor edi, edi
test byte [0x101fa6f8], 1
mov dword [ebp - 0x80], edi
jne 0x10001b15
or dword [0x101fa6f8], 1
push 0x1019c8aa
mov dword [0x101fa6f4], 7
mov dword [0x101fa6f0], edi
mov word [0x101fa6e0], di
call fcn.10146ead
pop ecx
cmp dword [0x101fa6f0], edi
mov esi, 0x101fa6dc
jne 0x10001b58
push 0x206
lea eax, [ebp - 0x7a]
push edi
push eax
mov word [ebp - 0x7c], di
call fcn.10146c80
add esp, 0xc
push edi
push 0x2e
lea eax, [ebp - 0x7c]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x7c]
push eax
call fcn.1014dd92
pop ecx
lea ecx, [ebp - 0x7c]
call fcn.10002774
mov eax, esi
mov esi, ebx
call fcn.10002034
mov ecx, dword [ebp + 0x18c]
pop edi
xor ecx, ebp
mov eax, ebx
pop esi
call fcn.10145d71
add ebp, 0x190
leave
ret

Function at 0x10001b7a
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x101f6410]
xor eax, ebp
mov dword [ebp + 0x18c], eax
push esi
push edi
xor edi, edi
test byte [0x101fa6d8], 1
mov dword [ebp - 0x80], edi
jne 0x10001bce
or dword [0x101fa6d8], 1
push 0x1019c8bb
mov dword [0x101fa6d4], 7
mov dword [0x101fa6d0], edi
mov word [0x101fa6c0], di
call fcn.10146ead
pop ecx
cmp dword [0x101fa6d0], edi
mov esi, 0x101fa6bc
jne 0x10001c11
push 0x206
lea eax, [ebp - 0x7a]
push edi
push eax
mov word [ebp - 0x7c], di
call fcn.10146c80
add esp, 0xc
push edi
push 0x23
lea eax, [ebp - 0x7c]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x7c]
push eax
call fcn.1014dd92
pop ecx
lea ecx, [ebp - 0x7c]
call fcn.10002774
mov eax, esi
mov esi, ebx
call fcn.10002034
mov ecx, dword [ebp + 0x18c]
pop edi
xor ecx, ebp
mov eax, ebx
pop esi
call fcn.10145d71
add ebp, 0x190
leave
ret
Function at 0x10004b91
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [0x101f7bf0], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersion]
push esi
jne 0x10004bd5
call ebx
test eax, eax
jns 0x10004bcb
push str.___.___
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str.Unicows.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x101f7bec], eax
mov dword [0x101f7bf0], 1
mov eax, dword [0x101f7bec]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
je 0x10004bf1
push dword [ebp + 0x10]
push eax
call esi
test eax, eax
mov dword [ebp - 4], eax
jne 0x10004c21
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
test eax, eax
jne 0x10004c17
call ebx
test eax, eax
mov eax, dword [ebp + 8]
jns 0x10004c0b
push dword [eax + 8]
call dword [eax]
jmp 0x10004c11
push dword [eax + 0xc]
call dword [eax + 4]
test eax, eax
je 0x10004c20
mov dword [edi], eax
push dword [ebp + 0x10]
push eax
call esi
mov dword [ebp - 4], eax
pop edi
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 0xc
Function at 0x1000e6c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov esi, ecx
push 0x3f3
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
and dword [ebp - 0x14], 0
test eax, eax
lea edi, [ebp - 0x10]
je 0x1000e736
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
call ebx
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
push dword [esi + 4]
call ebx
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push 2
mov dword [ebp - 8], edi
sub edi, dword [ebp - 0x10]
push edi
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push dword [ebp - 4]
jmp 0x1000e772
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x20]
add eax, dword [ebp - 0x10]
push 2
mov dword [ebp - 8], eax
sub eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x1000f09f
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1c8]
sub esp, 0x248
mov eax, dword [0x101f6410]
xor eax, ebp
mov dword [ebp + 0x1c4], eax
push esi
push edi
xor esi, esi
push 0x230
lea eax, [ebp - 0x6c]
push esi
push eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
call fcn.10146c80
add esp, 0xc
lea eax, [ebp - 0x74]
push eax
push str.SoftwareMicrosoftInternet_ExplorerToolbarWebBrowser
or edi, 0xffffffff
push SysReAllocString
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x7c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1000f1ed
cmp dword [ebp - 0x74], esi
je 0x1000f1fb
push ebx
lea eax, [ebp - 0x78]
push eax
push esi
lea eax, [ebp - 0x80]
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, str.ITBar7Layout
push ebx
push dword [ebp - 0x74]
call esi
test eax, eax
jne 0x1000f1ea
cmp dword [ebp - 0x78], 0x234
jne 0x1000f1ea
cmp dword [ebp - 0x80], 3
jne 0x1000f1ea
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
push 0
push 0
push ebx
push dword [ebp - 0x74]
call esi
test eax, eax
jne 0x1000f1ea
cmp dword [ebp - 0x70], 0x13
jne 0x1000f1ea
xor edx, edx
lea eax, [ebp - 0x58]
mov ecx, dword [eax]
cmp ecx, 1
jne 0x1000f172
mov dword [ebp - 0x7c], edx
cmp ecx, dword [ebp + 0x1d0]
jne 0x1000f17c
mov edi, edx
inc edx
add eax, 0xc
cmp edx, 0x15
jl 0x1000f168
mov ecx, dword [ebp - 0x7c]
cmp ecx, 0xffffffff
je 0x1000f1ea
cmp edi, 0xffffffff
je 0x1000f1ea
mov eax, edi
sub eax, ecx
cmp eax, 1
jle 0x1000f1ea
inc ecx
cmp edi, ecx
jle 0x1000f1d3
mov eax, edi
imul eax, eax, 0xc
lea eax, [ebp + eax - 0x64]
sub edi, ecx
mov ecx, dword [eax + 0xc]
mov edx, dword [eax]
mov dword [eax + 0xc], edx
mov edx, dword [eax + 8]
mov dword [eax], ecx
mov ecx, dword [eax + 0x14]
mov dword [eax + 0x14], edx
mov edx, dword [eax + 4]
mov dword [eax + 8], ecx
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x10], edx
mov dword [eax + 4], ecx
sub eax, 0xc
dec edi
jne 0x1000f1ab
push 0x234
lea eax, [ebp - 0x70]
push eax
push 3
push 0
push ebx
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor esi, esi
pop ebx
cmp dword [ebp - 0x74], esi
je 0x1000f1fb
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x1c4]
pop edi
xor ecx, ebp
pop esi
call fcn.10145d71
add ebp, 0x1c8
leave
ret
Function at 0x1000f212
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1c8]
sub esp, 0x248
mov eax, dword [0x101f6410]
xor eax, ebp
mov dword [ebp + 0x1c4], eax
push esi
push edi
xor esi, esi
push 0x230
lea eax, [ebp - 0x6c]
push esi
push eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
call fcn.10146c80
add esp, 0xc
lea eax, [ebp - 0x74]
push eax
push str.SoftwareMicrosoftInternet_ExplorerToolbarWebBrowser
or edi, 0xffffffff
push SysReAllocString
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x7c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1000f364
cmp dword [ebp - 0x74], esi
je 0x1000f372
push ebx
lea eax, [ebp - 0x78]
push eax
push esi
lea eax, [ebp - 0x80]
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, str.ITBarLayout
push ebx
push dword [ebp - 0x74]
call esi
test eax, eax
jne 0x1000f361
cmp dword [ebp - 0x78], 0x234
jne 0x1000f361
cmp dword [ebp - 0x80], 3
jne 0x1000f361
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
push 0
push 0
push ebx
push dword [ebp - 0x74]
call esi
test eax, eax
jne 0x1000f361
cmp dword [ebp - 0x70], 0x11
jne 0x1000f361
xor edx, edx
lea ecx, [ebp - 0x58]
mov eax, dword [ecx]
test eax, eax
jbe 0x1000f2e9
cmp eax, 5
ja 0x1000f2e9
mov dword [ebp - 0x7c], edx
cmp eax, dword [ebp + 0x1d0]
jne 0x1000f2f3
mov edi, edx
inc edx
add ecx, 0xc
cmp edx, 0x15
jl 0x1000f2db
mov ecx, dword [ebp - 0x7c]
cmp ecx, 0xffffffff
je 0x1000f361
cmp edi, 0xffffffff
je 0x1000f361
mov eax, edi
sub eax, ecx
cmp eax, 1
jle 0x1000f361
inc ecx
cmp edi, ecx
jle 0x1000f34a
mov eax, edi
imul eax, eax, 0xc
lea eax, [ebp + eax - 0x64]
sub edi, ecx
mov ecx, dword [eax + 0xc]
mov edx, dword [eax]
mov dword [eax + 0xc], edx
mov edx, dword [eax + 8]
mov dword [eax], ecx
mov ecx, dword [eax + 0x14]
mov dword [eax + 0x14], edx
mov edx, dword [eax + 4]
mov dword [eax + 8], ecx
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x10], edx
mov dword [eax + 4], ecx
sub eax, 0xc
dec edi
jne 0x1000f322
push 0x234
lea eax, [ebp - 0x70]
push eax
push 3
push 0
push ebx
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor esi, esi
pop ebx
cmp dword [ebp - 0x74], esi
je 0x1000f372
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x1c4]
pop edi
xor ecx, ebp
pop esi
call fcn.10145d71
add ebp, 0x1c8
leave
ret
Function at 0x1000f979
Capabilities:
Get common file path

Disassembly:
push 0x14
mov eax, 0x101798b7
call fcn.10145d80
mov eax, dword [0x101f3028]
mov dword [ebp - 0x10], eax
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], eax
mov esi, 0x104
push esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.1000401e
push eax
push edi
push edi
push dword [ebp + 8]
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.100041f7
cmp ebx, edi
je 0x1000f9dc
lea ecx, [ebp - 0x14]
call fcn.10003b75
lea ecx, [ebp - 0x10]
call fcn.10003b75
fldz
call fcn.10145e58
ret
push 0x1019fce4
lea ecx, [ebp - 0x1c]
call fcn.10007b11
push dword [ebp + 0xc]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10007b6e
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.1000e81a
lea ecx, [ebp - 0x18]
call fcn.10003b75
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.10003b75
push esi
push esi
lea ecx, [ebp - 0x14]
call fcn.1000401e
push eax
push dword [ebp - 0x10]
call fcn.1011c94f
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.100041f7
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], edi
jne 0x1000fa60
fldz
lea ecx, [ebp - 0x14]
fstp qword [ebp - 0x20]
call fcn.10003b75
lea ecx, [ebp - 0x10]
call fcn.10003b75
fld qword [ebp - 0x20]
jmp 0x1000f9d6
push edi
push eax
call fcn.10146fc2
pop ecx
pop ecx
jmp 0x1000fa45

Function at 0x10010140
Capabilities:
Create directory
Get common file path

Disassembly:
push 8
mov eax, 0x10179975
call fcn.10145d80
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [esi + 8], 0x1019f514
xor ebx, ebx
mov dword [esi], fcn.1001000a
mov dword [esi + 4], 0x1019fd2c
mov dword [esi + 8], 0x1019fd24
mov dword [esi + 0x1c], ebx
mov eax, dword [0x101f3028]
mov dword [ebp - 4], ebx
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov eax, dword [0x101f3028]
lea edi, [esi + 0x40]
mov dword [edi], eax
push 0x104
mov ecx, edi
mov byte [ebp - 4], 2
mov dword [esi + 0x44], ebx
call fcn.1000401e
push ebx
mov ecx, edi
call fcn.1000401e
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.100041f7
push 0x101f7c98
push edi
lea eax, [ebp - 0x10]
push eax
call fcn.100100f8
mov eax, dword [eax]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x10]
call fcn.10003b75
push 0x101f7c98
push edi
lea eax, [ebp - 0x10]
push eax
call fcn.100100f8
push 1
push dword [eax]
mov byte [ebp - 4], 3
call fcn.1011ecbe
pop ecx
pop ecx
lea ecx, [ebp - 0x10]
call fcn.10003b75
mov eax, esi
call fcn.10145e58
ret