joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b78a
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x370
mov eax, dword [0x636148]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
lea edi, [ebp - 0x44]
mov esi, 0x5b1e5c
mov dword [ebp - 0x370], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x36c], eax
mov eax, dword [ebp + 0x18]
movsd dword es:[edi], dword [esi]
push 0x2e
mov dword [ebp - 0x368], eax
lea eax, [ebp - 0x32]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor edi, edi
push edi
push eax
call fcn.0044b370
mov esi, 0xc8
lea eax, [ebp - 0x1d4]
push esi
push edi
push eax
call fcn.0044b370
push esi
lea eax, [ebp - 0x10c]
push edi
push eax
call fcn.0044b370
push 0x190
lea eax, [ebp - 0x364]
push edi
push eax
call fcn.0044b370
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x1d4]
push eax
call fcn.00459823
lea eax, [ebp - 0x1d4]
push 0x5ae878
push eax
call fcn.004599c4
add esp, 0x40
lea eax, [ebp - 0x1d4]
push ebx
push eax
call fcn.004599c4
lea eax, [ebp - 0x1d4]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.00459823
lea eax, [ebp - 0x10c]
push str.Capabilities
push eax
call fcn.004599c4
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x364]
push eax
call fcn.00459823
lea eax, [ebp - 0x364]
push str.FileAssociations
push eax
call fcn.004599c4
lea eax, [ebp - 0x364]
push eax
push str.CFileExtsRegistration::DoRegisteredFileAssociations
call fcn.004309f9
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea eax, [ebp - 0x364]
add esp, 0x30
cmp dword [ebp + 0x1c], edi
mov edi, reloc.WS2_32.dll_bind
push eax
push edi
je 0x42b962
call esi
lea eax, [ebp - 0x10c]
push eax
push edi
call esi
mov esi, dword [ebp - 0x368]
push esi
call fcn.00459845
pop ecx
lea eax, [eax*2 + 2]
push eax
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0x10c]
push 1
push str.ApplicationDescription
push eax
push edi
call esi
mov ebx, dword [ebp - 0x36c]
push ebx
call fcn.00459845
pop ecx
lea eax, [eax*2 + 2]
push eax
push ebx
push 1
push str.ApplicationIcon
lea eax, [ebp - 0x10c]
push eax
push edi
call esi
mov ebx, dword [ebp - 0x370]
push ebx
call fcn.00459845
pop ecx
lea eax, [eax*2 + 2]
push eax
push ebx
push 1
push str.ApplicationName
lea eax, [ebp - 0x10c]
push eax
push edi
call esi
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x364]
push eax
push edi
call esi
lea eax, [ebp - 0x364]
push eax
push str.CFileExtsRegistration::DoRegisteredFileAssociations____s
call fcn.004309f9
pop ecx
pop ecx
jmp 0x42b96e
call esi
lea eax, [ebp - 0x10c]
push eax
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042cd1d
mov esp, ebp
pop ebp
ret 0x18
Function at 0x42b981
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x324
mov eax, dword [0x636148]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x324]
push edi
mov edi, dword [ebp + 0xc]
push 0x190
push 0
push eax
call fcn.0044b370
mov ebx, 0xc8
lea eax, [ebp - 0xcc]
push ebx
push 0
push eax
call fcn.0044b370
push ebx
lea eax, [ebp - 0x194]
push 0
push eax
call fcn.0044b370
push edi
push esi
lea eax, [ebp - 0x194]
push str._s_s
push eax
call fcn.004065c0
push esi
lea eax, [ebp - 0x324]
push str.SOFTWARE_sCapabilitiesFileAssociations
push eax
call fcn.004065c0
add esp, 0x40
lea eax, [ebp - 0x324]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.00459823
lea eax, [ebp - 0xcc]
push 0x5ae878
push eax
call fcn.004599c4
lea eax, [ebp - 0xcc]
push edi
push eax
call fcn.004599c4
lea eax, [ebp - 0xcc]
push eax
push str._CFileExtsRegistration::DoRegisteredFileAssociationsFileExts__s
call fcn.004309f9
add esp, 0x20
lea eax, [ebp - 0xcc]
mov esi, reloc.WS2_32.dll_bind
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea eax, [ebp - 0x194]
push eax
call fcn.00459845
pop ecx
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x194]
push eax
push 1
push edi
lea eax, [ebp - 0x324]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042cd1d
mov esp, ebp
pop ebp
ret 8

Function at 0x42bb7e
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x636148]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x110
xor esi, esi
lea eax, [ebp - 0x214]
push esi
push eax
call fcn.0044b370
add esp, 0xc
mov dword [ebp - 0x218], 0x114
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x214], 6
jb 0x42bc43
lea eax, [ebp - 0x21c]
push eax
push str._n_vSN
push 3
push esi
push 0x5b0b2c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x42bc43
lea eax, [ebp - 0x104]
mov dword [ebp - 0x220], esi
push 0x5aea50
push eax
call fcn.00459823
mov eax, dword [ebp - 0x21c]
lea edx, [ebp - 0x220]
pop ecx
pop ecx
push edx
mov ecx, dword [eax]
lea edx, [ebp - 0x104]
push edx
push 1
push eax
call dword [ecx + 0x14]
cmp dword [ebp - 0x220], esi
jne 0x42bc37
mov eax, dword [ebp - 0x21c]
lea edx, [ebp - 0x104]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x21c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push esi
push esi
push 0x3000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
push str.NotifySystemOfNewRegistration_
call fcn.004309f9
mov dword [esp], 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0042cd1d
mov esp, ebp
pop ebp
ret
Function at 0x42e254
Capabilities:
Set registry value

Disassembly:
push 0x2c
mov eax, 0x5ab8ee
call fcn.0042d016
xor esi, esi
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.0043b039
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], esi
call fcn.0043b06d
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x42e28d
mov edi, 0xf003f
push edi
push esi
push 0x5b04a4
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42e2fd
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push esi
push esi
push esi
push 0x5aea50
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x42e2ca
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42e2fd
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0xc]
push 1
push esi
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x38]
call fcn.0043b04c
call fcn.0042cfdf
ret 8
Function at 0x42e808
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x5ab9b2
call fcn.0042d016
xor esi, esi
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.0043b039
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.0043b06d
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x42e848
mov edi, 0xf003f
push edi
push esi
push 0x5b04a4
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42e8aa
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push esi
push esi
push esi
push 0x5aea50
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x42e885
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42e8aa
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x3c]
call fcn.0043b04c
call fcn.0042cfdf
ret 8

Function at 0x42e925
Capabilities:
Read .ini file

Disassembly:
push 0x864
mov eax, 0x5ab9ee
call fcn.0042d04a
mov ebx, ecx
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cdq
push edx
push eax
lea eax, [ebp - 0x828]
push eax
call fcn.004396c6
add esp, 0xc
and dword [ebp - 4], 0
lea eax, [ebp - 0x828]
push eax
lea ecx, [ebp - 0x858]
call fcn.00407960
push 0x800
lea eax, [ebp - 0x810]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.0044b370
lea ecx, [ebx + 0xd4]
add esp, 0xc
cmp dword [ecx + 0x14], 8
jb 0x42e98f
mov ecx, dword [ecx]
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
push ecx
cmovae eax, dword [ebp - 0x828]
lea ecx, [ebp - 0x810]
push 0x400
push ecx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
and dword [ebp - 0x830], 0
xor eax, eax
mov dword [ebp - 0x82c], 7
mov word [ebp - 0x840], ax
cmp word [ebp - 0x810], ax
je 0x42e9e9
lea eax, [ebp - 0x810]
push eax
call fcn.00459845
pop ecx
push eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x840]
call fcn.00403090
lea eax, [ebp - 0x828]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x840]
call fcn.00429cbd
test eax, eax
jne 0x42ea59
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
mov ecx, ebx
cmovae eax, dword [ebp - 0x828]
push eax
push edi
push esi
lea eax, [ebp - 0x870]
push eax
call fcn.0042eb51
push eax
lea ecx, [ebp - 0x858]
call fcn.00407b00
xor ebx, ebx
lea ecx, [ebp - 0x870]
push ebx
push 1
call fcn.00402fd0
jmp 0x42ea70
push 0xffffffffffffffff
xor ebx, ebx
lea eax, [ebp - 0x840]
push ebx
push eax
lea ecx, [ebp - 0x858]
call fcn.00403860
cmp dword [ebp - 0x844], 8
lea eax, [ebp - 0x858]
cmovae eax, dword [ebp - 0x858]
push eax
call fcn.00452af0
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x840]
mov esi, eax
call fcn.00402fd0
push ebx
push 1
lea ecx, [ebp - 0x858]
call fcn.00402fd0
push ebx
push 1
lea ecx, [ebp - 0x828]
call fcn.00402fd0
mov eax, esi
call fcn.0042cff4
ret 0xc
Function at 0x42eba5
Capabilities:
Read .ini file

Disassembly:
push 0x838
mov eax, 0x5aba21
call fcn.0042d04a
mov edi, ecx
mov ecx, dword [ebp + 0xc]
lea eax, [edi + 0x8c]
cmp dword [eax + 0x14], 8
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x844], ecx
jb 0x42ebd0
mov eax, dword [eax]
push eax
push dword [ebp + 0x10]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
cmp esi, dword [ebp + 0x10]
jne 0x42ecae
xor esi, esi
mov dword [ebp - 0x814], 7
push esi
xor eax, eax
mov dword [ebp - 0x818], esi
push 0x62be94
lea ecx, [ebp - 0x828]
mov word [ebp - 0x828], ax
call fcn.00403090
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], esi
push esi
push eax
call fcn.0044b370
push dword [ebp + 0x10]
lea eax, [ebp - 0x810]
push 0x5ae97c
push eax
call fcn.004065c0
add esp, 0x18
lea eax, [ebp - 0x810]
cmp byte [edi + 5], 0
mov ecx, edi
push eax
push dword [ebp - 0x844]
lea eax, [ebp - 0x840]
push ebx
push eax
je 0x42ec63
call fcn.0042eac1
jmp 0x42ec68
call fcn.0042eb7b
push eax
lea ecx, [ebp - 0x828]
call fcn.00407b00
push esi
push 1
lea ecx, [ebp - 0x840]
call fcn.00402fd0
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
call fcn.00452af0
pop ecx
push 0
push 1
lea ecx, [ebp - 0x828]
mov esi, eax
call fcn.00402fd0
mov eax, esi
call fcn.0042cff4
ret 0xc

Function at 0x42ecb8
Capabilities:
Read .ini file

Disassembly:
push 0x82c
mov eax, 0x5aba6b
call fcn.0042d04a
mov edi, ecx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x830], eax
mov eax, dword [ebp + 0x10]
push 0x800
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x810]
push ecx
push eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x838], esi
mov dword [ebp - 0x834], ecx
call fcn.0044b370
lea eax, [edi + 0x8c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x42ed15
mov eax, dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push ebx
push dword [ebp - 0x82c]
push dword [ebp - 0x830]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.00402d70
and dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x834], 1
jb 0x42ed5b
mov eax, dword [esi]
jmp 0x42ed5d
mov eax, esi
push ebx
push eax
call fcn.0045a161
pop ecx
pop ecx
test eax, eax
jne 0x42eda9
cmp byte [edi + 5], 0
lea eax, [ebp - 0x828]
push ebx
push dword [ebp - 0x82c]
mov ecx, edi
push dword [ebp - 0x830]
push eax
je 0x42ed8d
call fcn.0042eac1
jmp 0x42ed92
call fcn.0042eb7b
push eax
mov ecx, esi
call fcn.00407b00
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.00402fd0
mov eax, esi
call fcn.0042cff4
ret 0x10
Function at 0x42f96d
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa44
mov eax, dword [0x636148]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
xor esi, esi
lea eax, [ebp - 0x20c]
push esi
push eax
mov edi, ecx
call fcn.0044b370
lea eax, [edi + 0x2c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x42f9a6
mov eax, dword [eax]
push str.Config
push eax
lea eax, [ebp - 0x20c]
push 0x5b258c
push eax
call fcn.004065c0
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42f9de
lea eax, [ebp - 0x20c]
push eax
call fcn.00430e4a
pop ecx
push 0x208
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0044b370
push str.UseVestige.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push str._s_s
push eax
call fcn.004065c0
add esp, 0x1c
cmp word [ebp - 0x414], si
jne 0x42fa1d
mov eax, esi
jmp 0x42fa2a
lea eax, [ebp - 0x414]
push eax
call fcn.00459845
pop ecx
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [edi + 0x8c]
call fcn.00403090
push 0x208
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.0044b370
push str.UseCache.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push str._s_s
push eax
call fcn.004065c0
add esp, 0x1c
cmp word [ebp - 0x61c], si
jne 0x42fa7c
mov eax, esi
jmp 0x42fa89
lea eax, [ebp - 0x61c]
push eax
call fcn.00459845
pop ecx
push eax
lea eax, [ebp - 0x61c]
push eax
lea ecx, [edi + 0xa4]
call fcn.00403090
push 0x208
lea eax, [ebp - 0x824]
push esi
push eax
call fcn.0044b370
lea eax, [ebp - 0xa44]
push str.DSKXRoad
push eax
call fcn.00431f81
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x42faca
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x824]
push 0x5b02e4
push eax
call fcn.004065c0
add esp, 0xc
lea ecx, [ebp - 0xa44]
push esi
push 1
call fcn.00402fd0
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42fb0b
lea eax, [ebp - 0x824]
push eax
call fcn.00430e4a
pop ecx
push 0x208
lea eax, [ebp - 0xa2c]
push esi
push eax
call fcn.0044b370
push str.UseCache.ini
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0xa2c]
push str._s_s
push eax
call fcn.004065c0
add esp, 0x1c
cmp word [ebp - 0xa2c], si
je 0x42fb55
lea eax, [ebp - 0xa2c]
push eax
call fcn.00459845
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0xa2c]
push eax
lea ecx, [edi + 0xbc]
call fcn.00403090
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0042cd1d
mov esp, ebp
pop ebp
ret
Function at 0x430222
Capabilities:
Read .ini file

Disassembly:
push 0x23c
mov eax, 0x5abb70
call fcn.0042d04a
mov ebx, ecx
call fcn.0042e8ba
lea edi, [ebx + 0xd4]
push eax
mov ecx, edi
call fcn.00403040
mov esi, str.HappyPicInfo.ini
push esi
call fcn.00459845
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00406130
push str.Hapygf
push 0x5b25f4
push str.AppInfo
lea eax, [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.0042eb51
and dword [ebp - 4], 0
lea esi, [ebx + 0xec]
lea eax, [ebp - 0x248]
cmp esi, eax
je 0x430298
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00403860
push str.Hapygf
mov ecx, esi
call fcn.00430892
test eax, eax
jne 0x430314
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0044b370
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x4302c5
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x218]
mov edi, str.Hapygf
push eax
push edi
push 0x5b25f4
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x4302f6
xor eax, eax
jmp 0x430303
lea eax, [ebp - 0x218]
push eax
call fcn.00459845
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00403090
jmp 0x430319
mov edi, str.Hapygf
push edi
mov ecx, esi
call fcn.00430892
test eax, eax
jne 0x4303dc
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0044b370
add esp, 0xc
lea eax, [ebx + 0x5c]
lea ecx, [ebp - 0x230]
push eax
call fcn.00407960
push str.HappyPicInfo.ini
mov byte [ebp - 4], 1
call fcn.00459845
pop ecx
push eax
push str.HappyPicInfo.ini
lea ecx, [ebp - 0x230]
call fcn.00406130
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
push 0x5b25f4
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x4303ad
xor eax, eax
jmp 0x4303ba
lea eax, [ebp - 0x218]
push eax
call fcn.00459845
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00403090
push 0
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.00402fd0
push edi
mov ecx, esi
call fcn.00430892
test eax, eax
jne 0x430418
push edi
push 0x5b25f4
push str.AppInfo
lea eax, [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.0042ecb8
push eax
mov ecx, esi
call fcn.00407b00
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.00402fd0
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.00402fd0
call fcn.0042cff4
ret
Function at 0x43093e
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x636148]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0044b370
push 0x5aea50
lea eax, [ebp - 0x20c]
push str.C:log_s.log
push eax
call fcn.004065c0
add esp, 0x18
call fcn.00436104
test al, al
je 0x4309a1
push ecx
push esi
pop esi
pop esi
pop ebx
pop ebp
pop ebp
push ebx
pop ecx
push ebp
pop esp
push esp
push esi
push esp
pop edi
pop ebp
pop ecx
pop edi
pop esi
push edi
push ecx
push ebp
pop esi
pop esp
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 4]
neg eax
pop edi
sbb eax, eax
xor ecx, ebp
pop esi
neg eax
pop ebx
call fcn.0042cd1d
mov esp, ebp
pop ebp
ret
Function at 0x430e4a
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.00459845
mov dword [ebp - 0xc], eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042cd51
push dword [ebp + 8]
mov dword [ebp - 4], eax
push eax
call fcn.00459823
add esp, 0x10
call fcn.004363b6
test al, al
je 0x430ea4
push eax
push esp
push edx
push edi
pop edx
pop esp
pop edi
push eax
push ebx
push esp
pop esi
pop ecx
pop ebx
push esp
push edi
push ebp
push edx
pop ebp
push esp
push ecx
pop edi
push edi
pop ecx
push ecx
pop ebx
call fcn.00436440
test al, al
je 0x430ec3
pop eax
pop edx
push esi
pop ebp
pop ebp
pop ebp
push eax
pop ebp
push edi
pop eax
pop ecx
push edx
push ebp
pop esp
pop eax
pop ecx
pop ebp
pop ecx
pop ebp
pop esi
pop ebp
push eax
call fcn.00436668
test al, al
je 0x430edf
push esi
push ecx
push esi
push edi
push esp
pop edx
push esi
push ebp
pop ecx
pop eax
pop ebx
pop edi
push ebx
push esi
push esp
pop esi
pop edx
push esp
pop edx
mov eax, dword [ebp - 0xc]
xor esi, esi
xor ebx, ebx
inc esi
mov dword [ebp - 8], ebx
test eax, eax
js 0x430f87
mov esi, dword [ebp - 4]
cmp word [esi + ebx*2], 0x5c
jne 0x430f78
call fcn.004365de
test al, al
je 0x430f23
push ecx
push esp
push esi
push ebx
push edx
pop esi
pop ebx
pop esp
pop edi
pop eax
pop esi
pop edx
pop esp
pop esi
pop esp
pop ebp
push ebx
pop edi
pop edx
pop ebx
pop esi
push eax
pop ecx
push ebx
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 4]
call fcn.004365de
test al, al
je 0x430f50
push edi
pop ecx
push ecx
pop esi
push ebx
pop ebp
push edx
pop esp
pop esi
push edx
pop ebx
push ecx
push esp
pop ebp
pop edi
pop edi
pop ebp
pop edi
pop esp
pop ecx
push edx
pop edx
push ecx
push esp
pop eax
pop ebp
push esp
push eax
push esp
pop edi
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 4]
movzx edi, word [esi + ebx*2]
xor eax, eax
push esi
mov word [esi + ebx*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x430f71
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x430f99
mov eax, dword [ebp - 0xc]
mov word [esi + ebx*2], di
inc ebx
mov dword [ebp - 8], ebx
cmp ebx, eax
jle 0x430ef5
xor esi, esi
inc esi
push dword [ebp - 4]
call fcn.0042cd5a
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
jmp 0x430f87
Function at 0x430f9d
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x636148]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20c]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x218], eax
xor eax, eax
push eax
push 0x1a
push ecx
push eax
mov dword [ebp - 0x210], ebx
call fcn.00432413
lea eax, [ebp - 0x20c]
push eax
call fcn.00459845
add esp, 0x14
mov dword [ebp - 0x214], eax
call fcn.004363b6
test al, al
je 0x43100b
push esp
pop eax
pop edi
push ebx
push ecx
pop esi
pop eax
pop edx
pop edx
push esp
pop eax
pop esp
pop ebx
push edx
pop ecx
pop edi
mov ebx, dword [ebp - 0x210]
cmp dword [ebp - 0x214], 0
je 0x431135
mov esi, 0x5ae878
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004599c4
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004599c4
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004599c4
add esp, 0x18
call fcn.004362a2
test al, al
je 0x431067
pop edx
push ebx
push edx
push ecx
push esi
push ebp
pop esi
push edx
push esp
push ecx
pop esi
pop eax
pop ebx
push eax
pop ebp
push edx
pop edx
push eax
pop ebp
push ebx
push ecx
pop ebx
push ebx
call fcn.00436149
test al, al
je 0x431086
pop ebp
pop esp
push edi
push eax
push ebp
push edx
pop edi
push edx
pop ebp
push esi
push ecx
pop edi
pop esp
pop edi
pop eax
pop esi
pop ebx
pop esi
pop esi
pop esi
push edx
pop esi
call fcn.00436440
test al, al
je 0x4310af
push edi
pop edx
push edi
pop esi
pop ecx
push esi
pop esi
push eax
push ecx
pop esp
pop ecx
pop eax
pop ebp
pop ecx
push ebx
pop ebp
pop ecx
push eax
pop edi
push ebp
push ecx
pop ecx
push ebx
push esi
pop esi
push esi
push ecx
pop esi
pop edi
pop eax
pop esi
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4310cd
lea eax, [ebp - 0x20c]
push eax
call fcn.00430e4a
pop ecx
call fcn.004364ca
test al, al
je 0x4310e7
pop ebx
pop esi
pop esi
push esi
pop eax
push esi
push eax
pop edx
push ecx
pop ecx
pop ebx
push edi
push ebx
pop ebx
push esi
pop esp
pop ebp
call fcn.0043684b
test al, al
je 0x431107
pop edi
pop ecx
pop ebx
pop edx
pop esi
pop ebp
push esi
push edi
pop edi
push edi
pop edx
push ebx
push esi
pop eax
pop ebp
push ebp
push edi
push ebx
pop esi
pop edi
push ecx
push eax
pop ebx
cmp word [ebp - 0x20c], 0
jne 0x431115
xor eax, eax
jmp 0x431122
lea eax, [ebp - 0x20c]
push eax
call fcn.00459845
pop ecx
mov ecx, dword [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00403090
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042cd1d
mov esp, ebp
pop ebp
ret