joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c0d9
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, edx
xor edx, edx
push edx
push 0x80
mov dword [eax], edx
mov esi, edx
mov eax, dword [ebp + 0xc]
push 3
push edx
push 1
mov dword [eax], edx
mov eax, dword [ebp + 0x10]
push 0x80000000
push ecx
mov dword [ebx], edx
mov dword [eax], edx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [ebx], eax
cmp eax, 0xffffffff
jne 0x42c11e
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x42c185
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov edi, dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x42c140
call edi
test eax, eax
jne 0x42c183
mov eax, dword [ebp - 8]
cmp dword [ebp - 4], esi
ja 0x42c18d
cmp eax, 0x8000000
ja 0x42c18d
mov ecx, dword [ebp + 0x10]
push 0
push eax
push dword [ebp - 4]
mov dword [ecx], eax
push 2
push 0
push dword [ebx]
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingW]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
test eax, eax
je 0x42c183
xor ecx, ecx
push ecx
push ecx
push ecx
push 4
push eax
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
test eax, eax
jne 0x42c1d2
call edi
mov esi, eax
test esi, esi
je 0x42c1d2
jmp 0x42c190
push 8
pop esi
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
and dword [eax], 0
cmp dword [edi], 0
je 0x42c1a9
push dword [edi]
call dword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
and dword [edi], 0
mov eax, dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [eax], 0
je 0x42c1c1
push dword [eax]
call edi
mov eax, dword [ebp + 8]
and dword [eax], 0
cmp dword [ebx], 0
je 0x42c1d2
cmp dword [ebx], 0xffffffff
je 0x42c1d2
push dword [ebx]
call edi
and dword [ebx], 0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42cdf5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4b3270]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [ebp - 0x228]
push edi
xor edi, edi
push 0x112
push eax
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
test eax, eax
je 0x42cea7
cmp eax, 0x104
jae 0x42cea7
lea ecx, [ebp - 0x228]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x42ce3f
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x22a], 0x5c
je 0x42ce6f
push 1
lea eax, [ebp - 0x228]
push 0x497b90
push eax
call fcn.00467323
add esp, 0xc
push 0xd
lea eax, [ebp - 0x228]
push 0x497894
push eax
call fcn.00467323
add esp, 0xc
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov dword [esi], eax
test eax, eax
je 0x42cea7
push str.WinVerifyTrust
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [esi + 4], eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0045eff4
mov esp, ebp
pop ebp
ret
Function at 0x42d2a3
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
mov edi, edx
mov esi, ecx
push 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], edi
call fcn.0042f5f2
mov ebx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
mov ecx, edi
and dword [ebx], 0
call fcn.0043a30e
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
jne 0x42d312
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jne 0x42d2ec
push 0x49b5ac
jmp 0x42d35a
push 0
push eax
push str.GetFileVersionInfoSize
lea eax, [ebp - 0x30]
push eax
call fcn.0042fd05
add esp, 0xc
mov ecx, esi
push eax
call fcn.0042f5cb
lea ecx, [ebp - 0x30]
call fcn.0042f60f
jmp 0x42d361
push edi
call fcn.0046699a
mov dword [ebx], eax
pop ecx
test eax, eax
jne 0x42d326
push 0x498584
jmp 0x42d35a
mov ecx, dword [ebp - 8]
push eax
push edi
push dword [ebp - 4]
call fcn.0043a30e
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x42d355
push ebx
call fcn.0042d372
pop ecx
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0
push eax
push str.GetFileVersionInfo
jmp 0x42d2f4
push 0x498580
mov ecx, esi
call fcn.0042f5ab
lea ecx, [ebp - 0x1c]
call fcn.0042f60f
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42fa1c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x4b3270]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x228], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 0x22c], eax
xor esi, esi
push edi
lea eax, [ebx - 0x834]
mov edi, 0x1300
cmp eax, 0x383
ja 0x42faf3
mov esi, 0x105
lea eax, [ebp - 0x210]
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
test eax, eax
je 0x42fb86
cmp eax, esi
ja 0x42fb86
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x224]
call fcn.004319eb
mov esi, 0x497b90
lea ecx, [ebp - 0x224]
push esi
call fcn.00433261
cmp eax, 0x3e8
jne 0x42fab6
push esi
lea ecx, [ebp - 0x224]
call fcn.00431e92
push str.netmsg.dll
lea ecx, [ebp - 0x224]
call fcn.00431e92
push 2
push 0
lea ecx, [ebp - 0x224]
call fcn.0043a30e
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
mov esi, eax
lea ecx, [ebp - 0x224]
test esi, esi
mov eax, 0x1b00
cmovne edi, eax
call fcn.00431bf9
push 0
push 0
lea eax, [ebp - 0x228]
push eax
push 0x400
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_FormatMessageW]
mov ecx, dword [ebp - 0x228]
mov edi, eax
test ecx, ecx
je 0x42fb4d
test edi, edi
je 0x42fb63
push 0xd
push ecx
call fcn.0046127b
pop ecx
pop ecx
test eax, eax
je 0x42fb2f
xor ecx, ecx
mov word [eax], cx
push 0xa
push dword [ebp - 0x228]
call fcn.0046127b
pop ecx
pop ecx
test eax, eax
je 0x42fb47
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 0x228]
test edi, edi
je 0x42fb63
push ecx
mov ecx, dword [ebp - 0x22c]
call fcn.0043003f
mov ecx, dword [ebp - 0x228]
push ecx
call dword [sym.imp.KERNEL32.DLL_LocalFree]
test esi, esi
je 0x42fb75
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045eff4
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.GetSystemDirectory_failed_with_error__u
push 0
push str.ECResult::formatWin32Message__
push 2
call fcn.004043b9
add esp, 0x14
jmp 0x42fb75
Function at 0x435527
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push ebx
push eax
push 1
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], ebx
push eax
call fcn.0043569b
push eax
lea ecx, [ebp - 0x18]
call fcn.0042f5cb
lea ecx, [ebp - 0x2c]
call fcn.0042f60f
lea ecx, [ebp - 0x18]
call fcn.00438d6f
cmp eax, 0x7d1
jl 0x435595
push ebx
push ebx
push 0x1be
lea eax, [ebp - 0x18]
push 0x48b8b0
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00413c09
mov ecx, dword [ebp + 8]
add esp, 0x14
push eax
call fcn.0042f5cb
lea ecx, [ebp - 0x2c]
call fcn.0042f60f
jmp 0x435658
lea ecx, [ebp - 0x18]
call fcn.0042f60f
cmp dword [ebp + 0x18], 0xffffffff
jbe 0x4355d1
push ebx
push ebx
push 0x1c0
push 0x48b8b0
lea eax, [ebp - 0x2c]
push 0x49d1dc
push eax
call fcn.004064c7
mov ecx, dword [ebp + 8]
add esp, 0x14
push eax
call fcn.0042f5cb
lea ecx, [ebp - 0x2c]
jmp 0x43565b
cmp dword [ebp + 0x18], 0x800
jbe 0x4355ee
push dword [ebp + 0x18]
push str.SetValue_with_size__Iu_is_not_recommended
push ebx
push ebx
push 2
call fcn.004043b9
add esp, 0x14
mov ecx, dword [ebp + 0xc]
push esi
push dword [ebp + 0x18]
mov esi, dword [ebp - 4]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call fcn.0043a30e
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebx
push eax
lea eax, [ebp - 0x2c]
push str.RegSetValueEx
push eax
call fcn.0042fd05
add esp, 0xc
lea ecx, [ebp - 0x18]
push eax
call fcn.0042f5cb
lea ecx, [ebp - 0x2c]
call fcn.0042f60f
lea ecx, [ebp - 0x18]
call fcn.00438d6f
pop esi
cmp eax, 0x7d1
lea eax, [ebp - 0x18]
push ebx
jl 0x43564f
push ebx
push 0x1cd
jmp 0x43556d
mov ecx, dword [ebp + 8]
push eax
call fcn.0042f5cb
lea ecx, [ebp - 0x18]
call fcn.0042f60f
cmp dword [ebp - 4], ebx
je 0x43566e
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x435fbe
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push ebx
push eax
mov dword [ebp - 0xc], ebx
lea eax, [ebp - 0x34]
push ebx
push eax
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], 4
mov dword [ebp - 4], ebx
call fcn.00436930
push eax
lea ecx, [ebp - 0x20]
call fcn.0042f5cb
lea ecx, [ebp - 0x34]
call fcn.0042f60f
cmp dword [ebp - 0x14], 0x7d0
je 0x436034
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
push ebx
mov dword [eax], ecx
lea eax, [ebp - 0x20]
mov ecx, dword [ebp + 8]
push eax
call fcn.0042f5cb
lea ecx, [ebp - 0x20]
call fcn.0042f60f
cmp dword [ebp - 4], ebx
je 0x436123
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x436123
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push esi
mov esi, dword [ebp - 4]
push edi
mov edi, dword [ebp + 0x10]
push eax
push edi
lea eax, [ebp - 8]
push eax
push ebx
call fcn.0043a30e
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x43607b
mov ecx, dword [ebp + 0x14]
push 0xc
pop ebx
push 0
push eax
lea eax, [ebp - 0x48]
mov dword [edi], ecx
push str.RegQueryValueEx
push eax
call fcn.0042fd05
add esp, 0xc
lea ecx, [ebp - 0x34]
jmp 0x4360bc
cmp dword [ebp - 8], 4
je 0x4360a1
cmp dword [ebp - 8], 5
je 0x4360a1
mov ecx, dword [ebp + 8]
push 0x48b860
call fcn.0042f5ab
lea ecx, [ebp - 0x20]
call fcn.0042f60f
cmp dword [ebp - 4], ebx
jmp 0x436116
push 3
pop ebx
push 0
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 0x7d0
push eax
lea ecx, [ebp - 0x70]
call fcn.0042f5ab
lea ecx, [ebp - 0x5c]
push eax
call fcn.0042f5cb
mov ecx, dword [ebp + 8]
push 0
push eax
call fcn.0042f5cb
test bl, 8
je 0x4360dd
lea ecx, [ebp - 0x34]
and ebx, 0xfffffff7
call fcn.0042f60f
test bl, 4
je 0x4360ed
lea ecx, [ebp - 0x48]
and ebx, 0xfffffffb
call fcn.0042f60f
test bl, 2
je 0x4360fd
lea ecx, [ebp - 0x5c]
and ebx, 0xfffffffd
call fcn.0042f60f
test bl, 1
je 0x43610a
lea ecx, [ebp - 0x70]
call fcn.0042f60f
lea ecx, [ebp - 0x20]
call fcn.0042f60f
cmp dword [ebp - 4], 0
je 0x436121
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, dword [ebp + 8]
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43612d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push edi
xor edi, edi
lea eax, [ebp - 4]
push edi
push eax
mov dword [ebp - 0xc], edi
lea eax, [ebp - 0x34]
push edi
push eax
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
call fcn.00436930
push eax
lea ecx, [ebp - 0x20]
call fcn.0042f5cb
lea ecx, [ebp - 0x34]
call fcn.0042f60f
cmp dword [ebp - 0x14], 0x7d0
je 0x4361a2
push dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
call fcn.00431c89
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.0042f5cb
lea ecx, [ebp - 0x20]
call fcn.0042f60f
cmp dword [ebp - 4], edi
je 0x4362dc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4362dc
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push ebx
push esi
mov esi, dword [ebp - 4]
push eax
push edi
push edi
push edi
call fcn.0043a30e
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
je 0x4361cc
cmp esi, 0xea
jne 0x436211
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x10]
shr ebx, 1
lea eax, [ebx + 1]
push eax
call fcn.00433c8c
mov ecx, dword [ebp + 0xc]
mov edi, eax
mov esi, dword [ebp - 4]
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 8]
push eax
push 0
call fcn.0043a30e
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp + 0x10]
mov esi, eax
xor eax, eax
push 0xffffffffffffffff
mov word [edi + ebx*2], ax
call fcn.00433f8c
xor edi, edi
test esi, esi
je 0x43623b
push dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
call fcn.00431c89
push 0xc
pop ebx
push edi
push esi
lea eax, [ebp - 0x48]
push str.RegQueryValueEx
push eax
call fcn.0042fd05
add esp, 0xc
lea ecx, [ebp - 0x34]
jmp 0x436276
cmp dword [ebp - 8], 1
je 0x43625c
cmp dword [ebp - 8], 2
je 0x43625c
cmp dword [ebp - 8], 7
je 0x43625c
mov ecx, dword [ebp + 8]
push 0x48b860
call fcn.0042f5ab
jmp 0x4362c3
push 3
pop ebx
push edi
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 0x7d0
push eax
lea ecx, [ebp - 0x70]
call fcn.0042f5ab
lea ecx, [ebp - 0x5c]
push eax
call fcn.0042f5cb
mov ecx, dword [ebp + 8]
push edi
push eax
call fcn.0042f5cb
test bl, 8
je 0x436296
lea ecx, [ebp - 0x34]
and ebx, 0xfffffff7
call fcn.0042f60f
test bl, 4
je 0x4362a6
lea ecx, [ebp - 0x48]
and ebx, 0xfffffffb
call fcn.0042f60f
test bl, 2
je 0x4362b6
lea ecx, [ebp - 0x5c]
and ebx, 0xfffffffd
call fcn.0042f60f
test bl, 1
je 0x4362c3
lea ecx, [ebp - 0x70]
call fcn.0042f60f
lea ecx, [ebp - 0x20]
call fcn.0042f60f
cmp dword [ebp - 4], 0
je 0x4362da
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
mov eax, dword [ebp + 8]
pop edi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4365fa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push ebx
push eax
push ebx
lea eax, [ebp - 0x30]
mov dword [ebp - 8], ebx
push eax
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call fcn.0043569b
push eax
lea ecx, [ebp - 0x1c]
call fcn.0042f5cb
lea ecx, [ebp - 0x30]
call fcn.0042f60f
lea ecx, [ebp - 0x1c]
call fcn.00438d6f
cmp eax, 0x7d1
jl 0x436687
push ebx
push ebx
push 0x17d
push 0x48b8b0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00413c09
mov ecx, dword [ebp + 8]
add esp, 0x14
push eax
call fcn.0042f5cb
lea ecx, [ebp - 0x30]
call fcn.0042f60f
lea ecx, [ebp - 0x1c]
call fcn.0042f60f
cmp dword [ebp - 4], ebx
je 0x4367c5
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4367c5
push edi
lea ecx, [ebp - 0x1c]
call fcn.0042f60f
mov edi, dword [ebp + 0x10]
push esi
mov eax, dword [edi]
mov ecx, edi
push dword [ebp - 8]
call dword [eax + 8]
mov dword [ebp + 0x10], eax
lea ecx, [ebp - 0x1c]
lea eax, [ebp + 0x10]
push eax
call fcn.0042f5ab
lea ecx, [ebp - 0x1c]
call fcn.00438d6f
cmp eax, 0x7d1
jge 0x436780
lea ecx, [ebp - 0x1c]
call fcn.0042f60f
mov esi, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
mov ecx, edi
call fcn.0042db3b
mov ecx, dword [ebp + 0xc]
push eax
push dword [ebp + 0x14]
push ebx
call fcn.0043a30e
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 0xea
je 0x436694
test eax, eax
jne 0x436712
push 3
pop ebx
push eax
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 0x7d0
push eax
lea ecx, [ebp - 0x58]
call fcn.0042f5ab
lea ecx, [ebp - 0x44]
jmp 0x43672c
push 0xc
pop ebx
push 0
push eax
lea eax, [ebp - 0x1c]
push str.RegQueryValueEx
push eax
call fcn.0042fd05
add esp, 0xc
lea ecx, [ebp - 0x30]
push eax
call fcn.0042f5cb
mov ecx, dword [ebp + 8]
push 0
push eax
call fcn.0042f5cb
test bl, 8
je 0x43674d
lea ecx, [ebp - 0x30]
and ebx, 0xfffffff7
call fcn.0042f60f
test bl, 4
je 0x43675d
lea ecx, [ebp - 0x1c]
and ebx, 0xfffffffb
call fcn.0042f60f
test bl, 2
je 0x43676d
lea ecx, [ebp - 0x44]
and ebx, 0xfffffffd
call fcn.0042f60f
test bl, 1
je 0x43677a
lea ecx, [ebp - 0x58]
call fcn.0042f60f
cmp dword [ebp - 4], 0
jmp 0x4367b8
push ebx
push ebx
push 0x182
push 0x48b8b0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00413c09
mov ecx, dword [ebp + 8]
add esp, 0x14
push eax
call fcn.0042f5cb
lea ecx, [ebp - 0x58]
call fcn.0042f60f
lea ecx, [ebp - 0x1c]
call fcn.0042f60f
cmp dword [ebp - 4], ebx
je 0x4367c3
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop edi
mov eax, dword [ebp + 8]
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x436bcd
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push edi
xor edi, edi
lea eax, [ebp - 4]
push edi
push eax
push 1
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], edi
push eax
mov dword [ebp - 4], edi
call fcn.0043569b
push eax
lea ecx, [ebp - 0x18]
call fcn.0042f5cb
lea ecx, [ebp - 0x2c]
call fcn.0042f60f
lea ecx, [ebp - 0x18]
call fcn.00438d6f
cmp eax, 0x7d1
jl 0x436c41
push edi
push edi
push 0x197
push 0x48b8b0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00413c09
mov ecx, dword [ebp + 8]
add esp, 0x14
push eax
call fcn.0042f5cb
lea ecx, [ebp - 0x2c]
call fcn.0042f60f
lea ecx, [ebp - 0x18]
jmp 0x436cea
push ebx
push esi
lea ecx, [ebp - 0x18]
call fcn.0042f60f
mov ecx, dword [ebp + 0xc]
lea eax, [ebp + 0x10]
mov esi, dword [ebp - 4]
push 4
push eax
push 4
push edi
call fcn.0043a30e
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x436c87
push 3
pop ebx
push edi
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x7d0
push eax
lea ecx, [ebp - 0x54]
call fcn.0042f5ab
lea ecx, [ebp - 0x40]
jmp 0x436ca0
push 0xc
pop ebx
push edi
push eax
lea eax, [ebp - 0x18]
push str.RegSetValueEx
push eax
call fcn.0042fd05
add esp, 0xc
lea ecx, [ebp - 0x2c]
push eax
call fcn.0042f5cb
mov ecx, dword [ebp + 8]
push edi
push eax
call fcn.0042f5cb
test bl, 8
je 0x436cc0
lea ecx, [ebp - 0x2c]
and ebx, 0xfffffff7
call fcn.0042f60f
test bl, 4
je 0x436cd0
lea ecx, [ebp - 0x18]
and ebx, 0xfffffffb
call fcn.0042f60f
test bl, 2
je 0x436ce0
lea ecx, [ebp - 0x40]
and ebx, 0xfffffffd
call fcn.0042f60f
pop esi
test bl, 1
pop ebx
je 0x436cef
lea ecx, [ebp - 0x54]
call fcn.0042f60f
cmp dword [ebp - 4], edi
je 0x436cfd
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
pop edi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4378b7
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
sub esp, 0x28
call fcn.00433d92
push 0
cmp eax, 0x3e8
je 0x4378fb
push 0
push 0x29
push str.......SharedFileCommonECDirectory.cpp
lea eax, [ebp - 0x14]
push 0x49d1dc
push eax
call fcn.004064c7
add esp, 0x14
mov ecx, dword [ebp + 8]
push eax
call fcn.0042f5cb
lea ecx, [ebp - 0x14]
call fcn.0042f60f
jmp 0x437967
mov ecx, dword [ebp + 0xc]
call fcn.0043a30e
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
jne 0x43795a
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0
push eax
lea eax, [ebp - 0x28]
push str.CreateDirectory__
push eax
call fcn.0042fd05
add esp, 0xc
lea ecx, [ebp - 0x14]
push eax
call fcn.0042f5cb
lea ecx, [ebp - 0x28]
call fcn.0042f60f
mov ecx, dword [ebp + 0xc]
call fcn.0043a30e
push eax
lea eax, [ebp - 0x14]
push str.Unable_to_create_directory___s_
push eax
call fcn.0042f93d
add esp, 0xc
lea eax, [ebp - 0x14]
push 0
jmp 0x4378e8
mov ecx, dword [ebp + 8]
push 0x498580
call fcn.0042f5ab
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x437b5a
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2f8
mov eax, dword [0x4b3270]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ecx, esi
push edi
mov edi, dword [ebp + 8]
call fcn.00433d92
cmp eax, 0x3e8
je 0x437bbe
xor ebx, ebx
lea eax, [ebp - 0x2e4]
push ebx
push ebx
push 0xe7
push str.......SharedFileCommonECDirectory.cpp
push 0x49d1dc
push eax
call fcn.004064c7
add esp, 0x14
mov ecx, edi
push eax
call fcn.0042f5cb
lea ecx, [ebp - 0x2e4]
call fcn.0042f60f
jmp 0x437d4a
push esi
lea ecx, [ebp - 0x18]
call fcn.00431552
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2e4]
push eax
call fcn.004397f7
pop ecx
pop ecx
lea ecx, [ebp - 0x2e4]
call fcn.0042f60f
mov esi, 0x2b4
lea eax, [ebp - 0x2cc]
push esi
xor ebx, ebx
push ebx
push eax
call fcn.00462b30
add esp, 0xc
lea eax, [ebp - 0x18]
push ebx
push eax
lea eax, [ebp - 0x2f8]
push eax
call fcn.00439e23
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x2e4]
call fcn.0042f5cb
lea ecx, [ebp - 0x2f8]
call fcn.0042f60f
lea ecx, [ebp - 0x2e4]
call fcn.00438d6f
cmp eax, 0x7d1
jl 0x437c7d
push ebx
push ebx
push 0xf1
push str.......SharedFileCommonECDirectory.cpp
lea eax, [ebp - 0x2e4]
push eax
lea eax, [ebp - 0x2f8]
push eax
call fcn.00413c09
add esp, 0x14
mov ecx, edi
push eax
call fcn.0042f5cb
lea ecx, [ebp - 0x2f8]
call fcn.0042f60f
lea ecx, [ebp - 0x2e4]
call fcn.0042f60f
jmp 0x437d42
lea ecx, [ebp - 0x2e4]
call fcn.0042f60f
push 0x800
push esi
lea eax, [ebp - 0x2cc]
push eax
push ebx
lea ecx, [ebp - 0x18]
call fcn.0043a30e
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test esi, esi
jne 0x437d1d
mov esi, eax
test esi, esi
je 0x437d1d
push ebx
lea ecx, [ebp - 0x2e4]
call fcn.0042f5f2
cmp esi, 3
je 0x437cf9
cmp esi, 2
je 0x437cf9
push esi
lea eax, [ebp - 0x2f8]
push str.SHGetFileInfo
push eax
call fcn.0042fd05
add esp, 0xc
lea ecx, [ebp - 0x2e4]
push eax
call fcn.0042f642
lea ecx, [ebp - 0x2f8]
call fcn.0042f60f
push 0x49b5bc
lea ecx, [ebp - 0x2e4]
call fcn.00430073
push ebx
lea eax, [ebp - 0x2e4]
mov ecx, edi
push eax
call fcn.0042f5cb
jmp 0x437c6d
mov eax, dword [ebp - 0x2c4]
mov ecx, edi
shr eax, 0x1d
and eax, 1
or eax, 0x3e8
mov dword [ebp - 0x2d0], eax
lea eax, [ebp - 0x2d0]
push eax
call fcn.0042f5ab
lea ecx, [ebp - 0x18]
call fcn.00431bf9
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045eff4
mov esp, ebp
pop ebp
ret
Function at 0x437d5d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x4b3270]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push edi
mov edi, dword [ebp + 0xc]
push eax
push 0x105
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
test eax, eax
jne 0x437dc0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0
push eax
lea eax, [ebp - 0x224]
push str.GetCurrentDirectory__
push eax
call fcn.0042fd05
add esp, 0xc
mov ecx, esi
push eax
call fcn.0042f5cb
lea ecx, [ebp - 0x224]
call fcn.0042f60f
jmp 0x437df4
lea eax, [ebp - 0x210]
mov ecx, edi
push eax
call fcn.00431c89
lea eax, [ebp - 0x224]
push edi
push eax
call fcn.00439e23
pop ecx
pop ecx
lea ecx, [ebp - 0x224]
call fcn.0042f60f
push 0x498580
mov ecx, esi
call fcn.0042f5ab
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0045eff4
mov esp, ebp
pop ebp
ret

Function at 0x437e06
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x4b3270]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push edi
mov edi, dword [ebp + 0xc]
push 0x105
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
test eax, eax
jne 0x437e69
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0
push eax
lea eax, [ebp - 0x224]
push str.GetSystemDirectory
push eax
call fcn.0042fd05
add esp, 0xc
mov ecx, esi
push eax
call fcn.0042f5cb
lea ecx, [ebp - 0x224]
call fcn.0042f60f
jmp 0x437e9d
lea eax, [ebp - 0x210]
mov ecx, edi
push eax
call fcn.00431c89
lea eax, [ebp - 0x224]
push edi
push eax
call fcn.00439e23
pop ecx
pop ecx
lea ecx, [ebp - 0x224]
call fcn.0042f60f
push 0x498580
mov ecx, esi
call fcn.0042f5ab
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0045eff4
mov esp, ebp
pop ebp
ret

Function at 0x437eaf
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x4b3270]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push edi
mov edi, dword [ebp + 0xc]
push eax
push 0x105
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
jne 0x437f12
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0
push eax
lea eax, [ebp - 0x224]
push str.GetTempPath__
push eax
call fcn.0042fd05
add esp, 0xc
mov ecx, esi
push eax
call fcn.0042f5cb
lea ecx, [ebp - 0x224]
call fcn.0042f60f
jmp 0x437f46
lea eax, [ebp - 0x210]
mov ecx, edi
push eax
call fcn.00431c89
lea eax, [ebp - 0x224]
push edi
push eax
call fcn.00439e23
pop ecx
pop ecx
lea ecx, [ebp - 0x224]
call fcn.0042f60f
push 0x498580
mov ecx, esi
call fcn.0042f5ab
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0045eff4
mov esp, ebp
pop ebp
ret