joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447700
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6bf0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x240
mov eax, dword [0x4f0108]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x244], edi
lea eax, [ebp - 0x240]
mov dword [ebp - 0x244], edi
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0x200
push 0x100
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
test edx, edx
je 0x4477d2
nop
mov ecx, dword [ebp - 0x38]
mov eax, ecx
shr eax, 1
cmp edx, eax
jb 0x447815
lea esi, [edx + edx]
cmp esi, ecx
jbe 0x4477bf
push esi
call fcn.00479023
mov ecx, dword [ebp - 0x40]
add esp, 4
mov dword [ebp - 0x40], eax
test ecx, ecx
je 0x4477b5
push ecx
call fcn.00478c18
mov eax, dword [ebp - 0x40]
add esp, 4
mov ecx, esi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
jmp 0x4477c2
mov eax, dword [ebp - 0x3c]
shr ecx, 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
test edx, edx
jne 0x447780
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [edi + 0x18], 0
mov dword [edi], eax
mov dword [edi + 4], 0x4fc418
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4477f5
push eax
call fcn.00478c18
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00478c0a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x24c]
mov byte [ebp - 0x244], 0
push dword [ebp - 0x244]
mov dword [ebp - 0x248], edx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00446710
add esp, 0xc
mov byte [edi + 0x18], 1
lea eax, [ebp - 0x2c]
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
push 0x18
push eax
push edi
call fcn.0047e460
add esp, 0xc
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
jmp 0x4477e5
Function at 0x4479a0
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6c78
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x260
mov eax, dword [0x4f0108]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x26c], edi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x260]
mov ecx, 0x200
mov dword [ebp - 0x268], edi
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], ecx
mov byte [ebp - 4], 1
shr ecx, 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
mov edx, eax
test edx, edx
je 0x447bac
mov ecx, dword [ebp - 0x58]
mov eax, ecx
shr eax, 1
cmp edx, eax
jae 0x447b1b
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x274], eax
lea eax, [ebp - 0x274]
mov byte [ebp - 0x26c], 0
push dword [ebp - 0x26c]
mov dword [ebp - 0x270], edx
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00446710
add esp, 0xc
mov byte [ebp - 0x20], 1
lea eax, [ebp - 0x50]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
push 0x18
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0047e460
add esp, 0xc
mov dword [ebp - 0x40], 0
xor eax, eax
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x447ac1
push eax
call fcn.00478c18
add esp, 4
lea edx, [ebp - 0x38]
mov byte [ebp - 4], 2
mov ecx, edi
call fcn.00447890
movzx eax, byte [ebp - 0x20]
sub eax, 0
je 0x447b17
sub eax, 1
jne 0x447b17
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x447b17
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x447b0d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x447bd7
push edx
push ecx
call fcn.0047940e
add esp, 8
mov eax, edi
jmp 0x447b8e
lea esi, [edx + edx]
cmp esi, ecx
ja 0x447b2a
mov eax, dword [ebp - 0x5c]
jmp 0x447a20
push esi
call fcn.00479023
mov ecx, dword [ebp - 0x60]
add esp, 4
or dword [ebp - 0x264], 0x10
mov dword [ebp - 0x60], eax
test ecx, ecx
je 0x447b50
push ecx
call fcn.00478c18
mov eax, dword [ebp - 0x60]
add esp, 4
mov ecx, esi
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], ecx
jmp 0x447a20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00478c0a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x447bc4
lea ecx, [ebp - 0x38]
call fcn.00447700
jmp 0x447ab1
mov byte [ebp - 0x20], 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 0x4fc418
jmp 0x447ab1
call fcn.00487359
int3
Function at 0x449550
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4f0108]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov ebx, ecx
mov eax, edx
push edi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], ebx
push ecx
push eax
push dword [ebp + 8]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeExW]
mov edi, eax
mov dword [ebp - 0x28], edi
test edi, edi
jne 0x4495b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebx + 0x18], 0
mov dword [ebx], eax
mov dword [ebx + 4], 0x4fc418
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00478c0a
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x20], 0
mov dword [ebp - 0xc], 7
cmp edi, 7
ja 0x4495ec
mov ecx, edi
mov dword [ebp - 0x10], edi
xor eax, eax
lea edi, [ebp - 0x20]
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov ecx, dword [ebp - 0x28]
xor eax, eax
mov word [ebp + ecx*2 - 0x20], ax
mov edx, dword [ebp - 0x20]
jmp 0x44968d
cmp edi, 0x7ffffffe
ja 0x44974d
mov esi, edi
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x449611
mov esi, SysReAllocString
mov eax, 0xfffffffe
jmp 0x449632
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x449748
add eax, eax
cmp eax, 0x1000
jb 0x449659
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x449748
push ecx
call fcn.00479023
add esp, 4
test eax, eax
je 0x449752
lea edx, [eax + 0x23]
and edx, 0xffffffe0
mov dword [edx - 4], eax
jmp 0x44966c
test eax, eax
je 0x44966a
push eax
call fcn.00479023
add esp, 4
mov edx, eax
jmp 0x44966c
xor edx, edx
mov ecx, edi
mov dword [ebp - 0x10], edi
xor eax, eax
mov dword [ebp - 0xc], esi
shr ecx, 1
mov edi, edx
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov ecx, dword [ebp - 0x28]
xor eax, eax
mov word [edx + ecx*2], ax
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0xc], 8
lea eax, [ebp - 0x20]
cmovae eax, edx
push eax
push ecx
push 0
push dword [ebp - 0x2c]
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoExW]
test eax, eax
jne 0x44970b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0xc]
mov byte [ebx + 0x18], 0
mov dword [ebx], eax
mov dword [ebx + 4], 0x4fc418
cmp edx, 8
jb 0x4495a1
mov ecx, dword [ebp - 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4496ee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x449752
push edx
push ecx
call fcn.0047940e
mov ecx, dword [ebp - 8]
add esp, 8
mov eax, ebx
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00478c0a
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.004482b0
mov edx, dword [ebp - 0xc]
cmp edx, 8
jb 0x4495a1
mov ecx, dword [ebp - 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4496ee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x449752
jmp 0x4496ee
call fcn.004054f4
call fcn.0040556b
call fcn.00487359
int3
Function at 0x45d510
Capabilities:
Hash data via bcrypt

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jne 0x45d564
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esi]
call dword [sym.imp.bcrypt.dll_BCryptHashData]
mov ecx, eax
test ecx, ecx
jns 0x45d54c
mov eax, dword [ebp + 8]
mov edx, 0x4fc410
mov dword [eax], ecx
mov dword [eax + 4], edx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x10
mov edx, dword [0x4fc3d8]
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x10
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 8]
je 0x45d5c9
mov ebx, dword [ebp + 0x10]
nop
mov edi, dword [eax]
cmp ebx, edi
jbe 0x45d5c9
xor ecx, ecx
cmp ecx, edi
mov ecx, dword [eax + 4]
mov eax, ebx
sbb edx, edx
sub ecx, edi
and edx, edi
sub eax, edx
cmp ecx, eax
push 0
cmovb eax, ecx
push eax
mov eax, dword [ebp + 0xc]
add eax, edx
push eax
push dword [esi]
call dword [sym.imp.bcrypt.dll_BCryptHashData]
mov ecx, eax
test ecx, ecx
jns 0x45d5aa
mov edx, 0x4fc410
jmp 0x45d5b2
mov edx, dword [0x4fc3d8]
xor ecx, ecx
test ecx, ecx
jne 0x45d554
mov eax, dword [esi + 0x10]
cmp ebx, dword [eax + 4]
jb 0x45d5c9
add eax, 8
mov dword [esi + 0x10], eax
cmp eax, dword [esi + 8]
jne 0x45d570
mov eax, dword [ebp + 8]
mov ecx, dword [0x4fc3d8]
pop edi
pop esi
mov dword [eax], 0
mov dword [eax + 4], ecx
pop ebx
pop ecx
pop ebp
ret 0x10
Function at 0x45db80
Capabilities:
Hash data via bcrypt

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, ecx
xor ecx, ecx
push ebx
push esi
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
cmp dword [eax], ecx
jbe 0x45dc91
lea edx, [eax + 0x38]
lea ebx, [eax + 0x150]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ebx
lea esi, [ecx*8]
mov ecx, dword [eax + 8]
mov eax, dword [ebx]
mov ebx, edx
test eax, eax
mov dword [esp + 0x28], esi
cmovne ebx, eax
mov eax, dword [ecx + esi + 4]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + esi]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
je 0x45dbe2
mov dword [ebx + 0x10], eax
mov esi, dword [ebx + 0x14]
test esi, esi
je 0x45dc2a
nop dword [eax]
cmp esi, 8
mov eax, 8
push 0
mov edi, esi
cmova edi, eax
push edi
push 0x4de598
push dword [ebx]
call dword [sym.imp.bcrypt.dll_BCryptHashData]
mov ecx, eax
test ecx, ecx
jns 0x45dc1a
mov edx, 0x4fc410
jmp 0x45dc22
mov edx, dword [0x4fc3d8]
xor ecx, ecx
test ecx, ecx
jne 0x45dc55
sub esi, edi
jne 0x45dbf0
push 0
push dword [esp + 0x24]
push dword [esp + 0x2c]
push dword [ebx]
call dword [sym.imp.bcrypt.dll_BCryptFinishHash]
mov ecx, eax
test ecx, ecx
jns 0x45dc49
mov edx, 0x4fc410
jmp 0x45dc51
mov edx, dword [0x4fc3d8]
xor ecx, ecx
test ecx, ecx
je 0x45dc66
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x28]
mov eax, dword [esi + 0xc]
cmp dword [eax + ebx], 0
je 0x45dcc2
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc ecx
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
add ebx, 4
add edx, 0x18
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edx
cmp ecx, dword [eax]
jb 0x45dbb1
lea ecx, [eax + 0x180]
call fcn.0045a640
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x178]
test eax, eax
je 0x45dcb3
push eax
call fcn.00478c18
add esp, 4
lea ecx, [esi + 0x10]
call fcn.0045dd20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [eax + ebx], ecx
mov dword [eax + ebx + 4], edx
jmp 0x45dc66
Function at 0x46b710
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8c2d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4f0108]
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 ecx, dword [ebp + 0x10]
mov eax, ecx
mov ebx, dword [ebp + 8]
mov edi, ecx
xor edi, 8
and al, 8
cmove edi, ecx
test ebx, ebx
jne 0x46b755
xor eax, eax
jmp 0x46b7c2
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push 0
push 0
push 0x4dd774
call sub.SHELL32.dll_SHGetKnownFolderPath
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x30], esi
mov dword [ebp - 4], 0
test eax, eax
jns 0x46b783
xor edi, edi
jmp 0x46b7b5
push ebx
push esi
lea eax, [ebp - 0x28]
push 0x4cd784
push eax
call fcn.0046b5e0
add esp, 0x10
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
lea ecx, [ebp - 0x28]
mov edi, eax
call fcn.0040af52
test esi, esi
je 0x46b7c0
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, edi
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.00478c0a
mov esp, ebp
pop ebp
ret

Function at 0x46b880
Capabilities:
Delete registry key

Disassembly:
mov dword [ecx], vtable.CoreTech::internal::CRegKeyImpl.0
jmp fcn.0046b8e0

Function at 0x46b8e0
Capabilities:
Delete registry key

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x46b91a
cmp byte [esi + 0xc], 0
je 0x46b903
push 0x4cd6c0
push eax
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov eax, dword [esi + 4]
mov byte [esi + 0xc], 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
pop esi
ret
xor eax, eax
mov dword [esi + 8], eax
pop esi
ret
Function at 0x46c6e0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4f0108]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x214], ecx
push ebx
mov dword [ebp - 0x210], eax
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
cmp dword [ebp + 0x14], 0
je 0x46c7f0
test eax, eax
jne 0x46c7f0
push edi
xor edi, edi
push esi
nop word [eax + eax]
push 0x200
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.0047fc40
add esp, 0xc
mov dword [ebp - 0x20c], 0x100
lea eax, [ebp - 0x20c]
push 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x204]
push eax
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
test esi, esi
jne 0x46c7c6
mov dword [ebp - 0x208], eax
lea eax, [ebp - 0x208]
push eax
push 0xf003f
push esi
lea eax, [ebp - 0x204]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46c7ce
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x214]
push dword [ebp - 0x210]
push dword [ebp + 0xc]
push dword [ebp - 0x208]
call fcn.0046c6e0
push dword [ebp - 0x208]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x46c7ce
cmp esi, 0x103
je 0x46c7ec
inc edi
test esi, esi
je 0x46c730
mov eax, esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00478c0a
mov esp, ebp
pop ebp
ret 0x10
pop esi
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00478c0a
mov esp, ebp
pop ebp
ret 0x10
Function at 0x46ee30
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 8], esi
cmp byte [esi + 0x10], 0
jne 0x46eee7
mov edi, dword [ebp + 8]
mov eax, edi
mov dword [ebp - 0xc], 0
cmp dword [edi + 0x14], 8
jb 0x46ee5c
mov eax, dword [edi]
lea ecx, [ebp - 0xc]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x46eee7
mov eax, dword [esi + 8]
add esi, 4
mov ecx, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], eax
mov edx, dword [esi]
sub ecx, edx
cmp ebx, ecx
jae 0x46ee8a
lea eax, [edx + ebx]
mov dword [esi + 4], eax
jmp 0x46eebf
jbe 0x46eebf
mov eax, dword [esi + 8]
sub eax, edx
cmp ebx, eax
jbe 0x46eea3
lea eax, [ebp - 1]
mov ecx, esi
push eax
push ebx
call fcn.00462d10
jmp 0x46eebf
mov esi, ebx
sub esi, ecx
mov ecx, dword [ebp - 0x10]
add esi, ecx
push esi
push ecx
call fcn.00462ed0
mov eax, dword [ebp - 8]
add esp, 8
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x14]
cmp dword [edi + 0x14], 8
jb 0x46eec7
mov edi, dword [edi]
push dword [esi]
push ebx
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
mov ecx, dword [ebp - 8]
cmp eax, 1
pop edi
sete al
pop esi
mov byte [ecx + 0x10], al
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x46f0f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor ecx, ecx
push esi
mov edx, 0x811c9dc5
lea esi, [eax + eax]
test esi, esi
je 0x46f122
push edi
mov edi, dword [ebp + 8]
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x46f110
pop edi
mov eax, edx
pop esi
pop ebp
ret
Function at 0x470560
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9310
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4f0108]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CoreTech::CBaseIniReader.0
mov dword [ebp - 4], 0
call fcn.0040583a
mov ebx, eax
test ebx, ebx
je 0x4706c3
mov ecx, dword [ebx]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x4bf3b4]
mov ecx, ebx
call esi
add eax, 0x10
mov dword [edi + 4], eax
mov dword [ebp - 4], 1
call fcn.0040583a
mov ebx, eax
test ebx, ebx
je 0x4706c3
mov ecx, dword [ebx]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x4bf3b4]
mov ecx, ebx
call esi
add eax, 0x10
mov dword [edi + 8], eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi], vtable.CoreTech::CObfuscatedIniReader.0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0x11
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0xa
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x20], 0x3f400000
mov dword [edi + 0x24], 0x3e800000
mov dword [edi + 0x28], 0x40100000
mov dword [edi + 0x2c], 0x26
mov dword [edi + 0x30], 0
mov al, byte [ebp + 8]
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0x11
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0xa
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x50], 0x3f400000
mov dword [edi + 0x54], 0x3e800000
mov dword [edi + 0x58], 0x40100000
mov dword [edi + 0x5c], 0x26
mov dword [edi + 0x60], 0
mov byte [edi + 0x74], al
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.0040560b
int3
Function at 0x471920
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x47195b
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push 0x8000
push 0x4dd784
call sub.SHELL32.dll_SHGetKnownFolderPath
mov esi, dword [ebp - 4]
test eax, eax
jns 0x471968
test esi, esi
je 0x47195b
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
pop edi
mov eax, 0x57
pop esi
mov esp, ebp
pop ebp
ret 8
push 0xffffffffffffffff
push esi
push dword [ebp + 0xc]
push edi
call fcn.004889d8
add esp, 0x10
mov edi, eax
test esi, esi
je 0x471984
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x472810
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 8
push esi
mov esi, ecx
test eax, eax
je 0x4728de
xor ecx, ecx
cmp cx, word [eax]
je 0x4728de
cmp dword [esi + 0x28], ecx
je 0x472840
mov eax, 0xb7
pop esi
mov esp, ebp
pop ebp
ret 8
push ebx
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push ebx
push 0xa0
push edi
push ebx
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x28], eax
test ecx, ecx
je 0x472876
cmp ecx, 0xffffffff
je 0x472876
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x28]
cmp eax, 0xffffffff
jne 0x472893
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov ebx, eax
mov dword [esi + 0x28], 0
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
cmp edi, 3
jne 0x4728b0
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
pop edi
mov eax, ebx
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
cmp edi, 2
je 0x4728ba
cmp edi, 1
jne 0x4728d3
push 0
lea ecx, [ebp - 8]
mov word [ebp - 4], 0xfeff
push ecx
push 2
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
mov eax, ebx
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, 0x57
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x473e70
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [ebp - 4], esi
mov dword [ebp - 8], edi
mov eax, dword [esi + 0x34]
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], edi
test eax, eax
je 0x473e9c
push 0x1b58
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [esi + 0x54]
mov ebx, 0x57
mov ecx, esi
call dword [0x4bf3b4]
mov ecx, dword [ebp - 4]
call esi
mov esi, dword [ebp - 4]
test al, al
je 0x473f69
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x473f69
xor ecx, ecx
cmp cx, word [eax]
je 0x473f69
mov ecx, esi
call fcn.004728f0
mov ebx, eax
test ebx, ebx
je 0x473eeb
cmp ebx, 0xb7
jne 0x473f69
lea eax, [ebp - 8]
mov ecx, esi
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00470fb0
mov edi, dword [ebp - 8]
mov ebx, eax
test ebx, ebx
jne 0x473f69
test edi, edi
jne 0x473f1b
lea ebx, [eax + 0xe]
jmp 0x473f69
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x473f20
sub ecx, edx
lea eax, [ebp - 0x10]
push 0
sar ecx, 1
push eax
lea eax, [ecx + ecx]
push eax
push edi
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test byte [esi + 0x44], 1
mov dword [ebp - 0xc], eax
je 0x473f5d
xor ecx, ecx
cmp cx, word [edi]
je 0x473f5d
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x473f69
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi + 0x28]
mov dword [esi + 0x28], 0
test eax, eax
je 0x473f83
cmp eax, 0xffffffff
je 0x473f83
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x473f90
push edi
call fcn.004878f7
add esp, 4
mov eax, dword [esi + 0x34]
test eax, eax
je 0x473f9e
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x14