joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a9bc
Capabilities:
Read .ini file

Disassembly:
push 0x10
push 0x68
mov eax, 0x4a9e5d
call fcn.004a7770
and dword [ebp - 4], 0
lea ecx, [ebp - 0x70]
mov edi, dword [ebx + 8]
mov edx, 0x400000
mov dword [ebp - 0x78], edi
and dword [ebp - 0x74], 0
call fcn.00434624
xor esi, esi
lea ecx, [ebp - 0x6c]
inc esi
mov edx, eax
push str.cfgdatacomponentConfig.ini
mov dword [ebp - 4], esi
call fcn.0042144f
pop ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x70]
lea ecx, [ecx - 0x10]
call fcn.0040bb70
mov ecx, edi
call fcn.0040d765
mov dword [ebp - 0x74], esi
mov ecx, edi
mov esi, dword [ebp - 0x6c]
push 0x104
call fcn.0040e373
mov dword [ebp - 0x68], 0xaff16a70
mov edx, eax
mov dword [ebp - 0x64], 0x7575b023
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x68], 0xa0871da6
mov dword [ebp - 0x64], 0x68f0edae
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x68], 0xe5ff04c9
mov dword [ebp - 0x64], 0x70f5b32c
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x68], 0x38a8d72a
mov dword [ebp - 0x64], 0x6bb7dcb7
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x68], 0xaf9e6a13
mov dword [ebp - 0x64], 0x7519b04c
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], 0xa0e21dc8
mov dword [ebp - 0x64], 0x6880edd9
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], 0xe59904ad
mov dword [ebp - 0x64], 0x7090b302
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], 0x38cdd752
mov dword [ebp - 0x64], 0x6bb7dcb7
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x64]
movaps xmm1, xmmword [ebp - 0x60]
pxor xmm1, xmmword [ebp - 0x40]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
push esi
push 0x103
push edx
lea eax, [ebp - 0x60]
movaps xmmword [ebp - 0x60], xmm1
movaps xmm1, xmmword [ebp - 0x50]
pxor xmm1, xmmword [ebp - 0x30]
push eax
push 0x4c2cbc
push str.file
movaps xmmword [ebp - 0x50], xmm1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.00412b02
mov ecx, dword [ebp - 0x6c]
add ecx, 0xfffffff0
call fcn.0040bb70
mov eax, edi
mov ecx, dword [ebp - 0x14]
call fcn.004a774e
ret 4
Function at 0x41fffd
Capabilities:
Read .ini file

Disassembly:
push 0x14
mov eax, 0x4aa9cb
call fcn.004a7676
push str.config.ini
lea ecx, [ebp - 0x20]
call fcn.0040d6dc
xor ebx, ebx
lea ecx, [ebp - 0x1c]
push str.Generic
mov dword [ebp - 4], ebx
call fcn.0040d6dc
push str.InstallTime
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0040d6dc
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0041ccf9
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00434ad2
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x10]
push dword [eax - 0xc]
push eax
call fcn.0040df19
lea ecx, [ebp - 0x14]
call fcn.0040d765
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
mov esi, dword [ebp - 0x10]
push 0x104
call fcn.0040e373
push esi
push 0x103
push eax
push 0x4c2554
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00412b02
mov esi, dword [ebp - 0x14]
cmp dword [esi - 0xc], ebx
je 0x4200b8
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi64]
pop ecx
mov ecx, dword [ebp + 8]
mov bl, 1
mov dword [ecx], eax
mov dword [ecx + 4], edx
lea ecx, [esi - 0x10]
call fcn.0040bb70
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.0040bb70
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.0040bb70
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040bb70
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040bb70
mov al, bl
call fcn.004a7644
ret 4
Function at 0x422f5a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push 4
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push 4
push 0
push dword [ebp + 8]
push dword [ecx + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop ebp
ret 8

Function at 0x424c2c
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x4ab021
call fcn.004a7676
lea ecx, [ebp - 0x10]
call fcn.0041d02e
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], ebx
je 0x424ca9
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x424ca6
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x424ca6
lea ecx, [ebp - 0x10]
call fcn.00434ad2
mov edi, 0x4c35ac
push dword [edi]
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x14]
call fcn.0042144f
pop ecx
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x14]
mov esi, eax
add ecx, 0xfffffff0
call fcn.0040bb70
test esi, esi
je 0x424ca6
add edi, 4
cmp edi, 0x4c35b0
jl 0x424c72
mov bl, 1
mov eax, dword [ebp - 0x10]
lea ecx, [eax - 0x10]
call fcn.0040bb70
mov al, bl
call fcn.004a7644
ret

Function at 0x42c016
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, ecx
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ebp - 0x10], eax
mov dword [ecx], esi
lea ecx, [ebp - 4]
push ecx
push eax
mov dword [ebp - 4], esi
mov dword [edx], esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x42c09e
push edi
push ebx
call fcn.004a43ad
pop ecx
mov edi, eax
push edi
push ebx
push dword [ebp - 4]
push dword [ebp - 0x10]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x42c096
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
push eax
push 0x4c2764
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x42c096
cmp dword [ebp - 8], esi
je 0x42c096
mov ecx, dword [ebp - 0xc]
inc esi
mov edx, dword [ebp - 0x14]
mov eax, dword [ecx + 8]
mov dword [edx], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
push edi
call fcn.004a43a8
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x42c33f
Capabilities:
Check if file exists

Disassembly:
push 0xc
mov eax, 0x4ab44e
call fcn.004a7676
and dword [ebp - 4], 0
and dword [ebp - 0x14], 0
call fcn.0041a850
lea ecx, [ebp - 0x10]
push ecx
mov ecx, eax
call fcn.0041af6c
xor esi, esi
inc esi
mov dword [ebp - 4], esi
mov ecx, dword [ebp + 8]
call fcn.0040d765
push dword [ebp - 0x10]
mov dword [ebp - 0x14], esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42c3a4
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
call fcn.0042bfaa
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 8]
push eax
call fcn.0040e019
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040bb70
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040bb70
mov eax, dword [ebp + 8]
call fcn.004a7644
ret 4
Function at 0x42c4e3
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 8
mov eax, 0x4ab4db
call fcn.004a7676
cmp dword [0x4f075c], 0
jne 0x42c5ac
mov edx, 0x400000
lea ecx, [ebp - 0x14]
call fcn.00434624
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
push str.kpdfsdk.dat
mov edx, eax
call fcn.0042144f
pop ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040bb70
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42c5a1
mov esi, dword [ebp - 0x10]
mov edi, 0x4f0764
push 0x104
mov ecx, edi
mov dword [0x4f075c], 1
call fcn.0040e373
push esi
push 0x103
push eax
push 0x4c2554
push str.Install_dir
mov esi, str.Common
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.00412b02
push dword [ebp - 0x10]
push 0
push str.sdk_edition
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x4f0760], eax
test eax, eax
jne 0x42c5a1
call fcn.0042c5d0
mov dword [0x4f0760], eax
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.0040bb70
call fcn.004a7644
ret
Function at 0x42e2da
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x4ab99c
call fcn.004a7676
lea ecx, [ebp - 0x14]
call fcn.0040d968
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 1
push eax
push str.Software_fastpdf
xor esi, esi
xor edi, edi
and dword [ebp - 0x10], esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x42e37b
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], 4
test eax, eax
je 0x42e34a
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push esi
push str.tid1
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov eax, dword [ebp - 0x10]
jne 0x42e34a
cmp dword [ebp - 0x1c], 4
cmove edi, dword [ebp - 0x20]
mov dword [ebp - 0x20], 4
test eax, eax
je 0x42e37b
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push 0
push str.tid2
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42e37b
cmp dword [ebp - 0x1c], 4
cmove esi, dword [ebp - 0x18]
push esi
push edi
push 0x4c3968
lea eax, [ebp - 0x14]
push str._s__d__d
push eax
call fcn.0042e705
mov esi, dword [ebp - 0x14]
add esp, 0x14
mov ecx, dword [ebp + 8]
push esi
call fcn.0042e4c7
cmp dword [ebp - 0x10], 0
je 0x42e3ae
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x10], 0
lea ecx, [esi - 0x10]
call fcn.0040bb70
mov eax, dword [ebp + 8]
call fcn.004a7644
ret 4

Function at 0x42edcf
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x42ee5b
push edi
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp dword [ebp - 4], ebx
jne 0x42ee53
cmp edi, 0x200000
ja 0x42ee53
lea eax, [edi + 2]
push eax
call fcn.004a43ad
pop ecx
push ebx
lea ecx, [ebp + 8]
mov dword [ebp - 8], eax
push ecx
push edi
push eax
push esi
mov dword [ebp + 8], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42ee53
mov eax, dword [ebp + 8]
cmp eax, edi
jne 0x42ee53
mov ecx, dword [ebp - 8]
mov byte [eax + ecx], bl
mov eax, dword [ebp + 8]
mov byte [eax + ecx + 1], bl
inc ebx
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
mov dword [eax], edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc
Function at 0x42fbef
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 8
mov eax, 0x4abdc7
call fcn.004a7676
mov ebx, edx
mov edi, ecx
xor esi, esi
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x10]
xor ecx, ecx
push eax
push 0x4b8d40
inc ecx
push ecx
push esi
push 0x4bc4c0
mov byte [ebp - 4], cl
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x42fc99
mov eax, dword [ebp - 0x10]
push dword [edi + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x10]
push dword [edi + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x10]
push dword [edi + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x10]
push dword [edi + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x10]
push dword [edi + 0x18]
push dword [edi + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push edx
push 0x4b98f0
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x42fc99
mov eax, dword [ebp - 0x14]
xor edi, edi
inc edi
push edi
push dword [ebx]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
cmovns esi, edi
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x42fcb0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x42fcc4
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
call fcn.004a7644
ret

Function at 0x42fd54
Capabilities:
Get common file path

Disassembly:
push 0x218
mov eax, 0x4abe39
call fcn.004a76a9
mov bl, dl
mov edi, ecx
xor esi, esi
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], esi
push eax
push 0x19
pop eax
push 0x10
pop ecx
test bl, bl
cmovne eax, ecx
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
push 0x208
lea eax, [ebp - 0x218]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov dword [ebp - 0x224], esi
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 1
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x42fe37
mov eax, dword [ebp - 0x224]
push dword [ebp - 0x21c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea ecx, [ebp - 0x220]
call fcn.0040d765
mov byte [ebp - 4], 3
lea eax, [ebp - 0x218]
push dword [edi]
push eax
lea eax, [ebp - 0x220]
push str._s_s.lnk
push eax
call fcn.0040ecfb
add esp, 0x10
lea edx, [ebp - 0x220]
mov ecx, edi
call fcn.0042fbef
mov esi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.0040bb70
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x224]
test ecx, ecx
je 0x42fe4e
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
call fcn.004a7658
ret
Function at 0x4302f1
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, ecx
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ebp - 0x10], eax
mov dword [ecx], esi
lea ecx, [ebp - 4]
push ecx
push eax
mov dword [ebp - 4], esi
mov dword [edx], esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x430379
push edi
push ebx
call fcn.004a43ad
pop ecx
mov edi, eax
push edi
push ebx
push dword [ebp - 4]
push dword [ebp - 0x10]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x430371
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
push eax
push 0x4c2764
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x430371
cmp dword [ebp - 8], esi
je 0x430371
mov ecx, dword [ebp - 0xc]
inc esi
mov edx, dword [ebp - 0x14]
mov eax, dword [ecx + 8]
mov dword [edx], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
push edi
call fcn.004a43a8
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x430449
Capabilities:
Get common file path

Disassembly:
push 0x218
mov eax, 0x4abfd7
call fcn.004a76a9
mov esi, ecx
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x224], esi
and dword [ebp - 0x21c], 0
call fcn.0040d765
and dword [ebp - 4], 0
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x21c], 1
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.0040d7bf
mov ecx, esi
call fcn.004303c0
mov eax, esi
call fcn.004a7658
ret
Function at 0x43058d
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x4ea00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.VCRUNTIME140.dll_memset]
add esp, 0xc
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x120]
push eax
call esi
test eax, eax
jne 0x4305ef
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call esi
test eax, eax
je 0x43069f
mov eax, dword [ebp - 0x110]
sub eax, 1
je 0x43068a
sub eax, 1
jne 0x43069f
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x118]
push 6
pop edx
cmp eax, edx
jne 0x43063f
cmp ecx, 1
jne 0x43062c
xor ebx, ebx
cmp byte [ebp - 6], cl
setne bl
add ebx, 8
jmp 0x43069f
test ecx, ecx
jne 0x430672
cmp byte [ebp - 6], 1
push 9
pop ebx
push 7
pop eax
cmove ebx, eax
jmp 0x43069f
cmp eax, 5
jne 0x430664
mov eax, dword [ebp - 0x118]
cmp eax, 2
jne 0x430653
push 5
jmp 0x43066b
cmp eax, 1
jne 0x43065c
mov ebx, edx
jmp 0x43069f
test eax, eax
jne 0x43069f
push 3
jmp 0x43066b
cmp eax, 4
ja 0x43066e
push 4
pop ebx
jmp 0x43069f
cmp eax, edx
jb 0x43069f
cmp ecx, 2
jae 0x43067b
cmp eax, edx
jbe 0x43069f
cmp byte [ebp - 6], 1
jne 0x43069f
call fcn.004304d4
mov ebx, eax
jmp 0x43069f
mov eax, dword [ebp - 0x114]
and eax, 0xffff0000
cmp eax, 0x45a0000
sbb ebx, ebx
add ebx, 2
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.004a439a
leave
ret

Function at 0x432417
Capabilities:
Hash data with md5

Disassembly:
and dword [ecx + 0x14], 0
and dword [ecx + 0x10], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x433669
Capabilities:
Create thread

Disassembly:
push esi
push 0xc
mov esi, ecx
call fcn.004a43b6
xor ecx, ecx
push ecx
push ecx
push eax
push 0x43397c
push ecx
push ecx
mov dword [eax], esi
mov dword [eax + 8], ecx
mov dword [eax + 4], 0x432e54
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x1c
pop esi
ret

Function at 0x434c0a
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 4
mov eax, 0x4ac7fd
call fcn.004a7676
mov edi, ecx
push edi
lea ecx, [ebp - 0x10]
call fcn.0040d6dc
xor esi, esi
push edi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x434c7f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x434c7f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x434c7f
lea ecx, [ebp - 0x10]
call fcn.00434bc0
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], esi
je 0x434c82
mov ecx, eax
call fcn.00434c0a
test eax, eax
je 0x434c82
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x434c7f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x434c82
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040bb70
mov eax, esi
call fcn.004a7644
ret
Function at 0x435bd7
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x435beb
test al, 0x10
jne 0x435beb
xor eax, eax
inc eax
ret
xor eax, eax
ret
Function at 0x437b81
Capabilities:
Get common file path

Disassembly:
push 0x218
mov eax, 0x4acc70
call fcn.004a76a9
mov esi, ecx
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x224], esi
and dword [ebp - 0x21c], 0
call fcn.0040d765
and dword [ebp - 4], 0
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x21c], 1
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.0040d7bf
mov eax, esi
call fcn.004a7658
ret

Function at 0x43847e
Capabilities:
Get common file path

Disassembly:
push 0x230
mov eax, 0x4acf0d
call fcn.004a76a9
mov edi, edx
mov ebx, dword [ebp + 0xc]
or esi, 0xffffffff
call fcn.00438434
test eax, eax
je 0x438590
push 0x20c
lea eax, [ebp - 0x21c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push 1
push 0x24
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x438590
xor ecx, ecx
mov dword [ebp - 0x220], 7
xor eax, eax
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x224], ecx
mov word [ebp - 0x234], ax
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.0040dc67
push 0x4c3d50
lea ecx, [ebp - 0x234]
call fcn.004374d4
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push eax
push dword [ebp + 8]
push edi
call fcn.004383d2
mov ecx, dword [ebp - 0x220]
add esp, 0xc
mov esi, eax
mov dword [ebx], esi
cmp ecx, 8
jb 0x438590
mov eax, dword [ebp - 0x234]
lea ecx, [ecx*2 + 2]
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x23c], eax
cmp ecx, 0x1000
jb 0x438587
lea edx, [ebp - 0x238]
lea ecx, [ebp - 0x23c]
call fcn.0040aab2
mov ecx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x23c]
push ecx
push eax
call fcn.004a43e6
pop ecx
pop ecx
mov eax, esi
call fcn.004a7658
ret

Function at 0x438632
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push ecx
mov edi, edx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x438692
push ebx
push 0x4c3d7c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x438691
push 0x38
push esi
push edi
call dword [sym.imp.VCRUNTIME140.dll_memset]
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [edi + 4], eax
lea eax, [ebp - 4]
mov dword [edi], ebx
push eax
push 0x40
push 0x38
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x438691
mov ecx, edi
call fcn.00438a47
xor ecx, ecx
inc ecx
test al, al
cmovne esi, ecx
pop ebx
pop edi
mov eax, esi
pop esi
leave
ret