joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46c3a5
Capabilities:
Set registry value

Disassembly:
push 0x2c
mov eax, 0x55e78a
call fcn.004a98fe
xor esi, esi
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.0047f774
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], esi
call fcn.0047f7c9
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x46c3de
mov edi, 0xf003f
push edi
push esi
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46c44e
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push esi
push esi
push esi
push str.FYunZip
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x46c41b
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x46c44e
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.0047f787
call fcn.004a98c7
ret 8

Function at 0x46c45e
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5c24ac]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
xor esi, esi
push esi
push 0x1a
push eax
push esi
call fcn.0046eacc
lea eax, [ebp - 0x20c]
push eax
call fcn.00488e51
pop ecx
test eax, eax
je 0x46c513
push ebx
mov ebx, 0x56ca38
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0048ee96
lea eax, [ebp - 0x20c]
push str.FYunZip
push eax
call fcn.0048ee96
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0048ee96
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ebx
test eax, eax
jne 0x46c4ec
lea eax, [ebp - 0x20c]
push eax
call fcn.0046fbdc
pop ecx
cmp word [ebp - 0x20c], si
je 0x46c504
lea eax, [ebp - 0x20c]
push eax
call fcn.00488e51
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00419ff0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00464e95
mov esp, ebp
pop ebp
ret 4
Function at 0x46c525
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5c24ac]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
xor esi, esi
push esi
push 0x1a
push eax
push esi
call fcn.0046eacc
lea eax, [ebp - 0x20c]
push eax
call fcn.00488e51
pop ecx
test eax, eax
je 0x46c5da
push ebx
mov ebx, 0x56ca38
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0048ee96
lea eax, [ebp - 0x20c]
push str.FYunZip.users
push eax
call fcn.0048ee96
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0048ee96
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ebx
test eax, eax
jne 0x46c5b3
lea eax, [ebp - 0x20c]
push eax
call fcn.0046fbdc
pop ecx
cmp word [ebp - 0x20c], si
je 0x46c5cb
lea eax, [ebp - 0x20c]
push eax
call fcn.00488e51
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00419ff0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00464e95
mov esp, ebp
pop ebp
ret 4
Function at 0x46cb25
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x55f750
call fcn.004a98fe
xor esi, esi
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.0047f774
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.0047f7c9
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x46cb65
mov edi, 0xf003f
push edi
push esi
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46cbc7
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push esi
push esi
push esi
push str.FYunZip
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x46cba2
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x46cbc7
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.0047f787
call fcn.004a98c7
ret 8

Function at 0x46cbef
Capabilities:
Read .ini file

Disassembly:
push 0x224
mov eax, 0x55e851
call fcn.004a9932
mov esi, ecx
mov ebx, 0x56ceb8
lea eax, [ebp - 0x230]
push ebx
push 0x56cebc
push str.AppInfo
push eax
call fcn.0046cf32
and dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
push ebx
call fcn.00437c10
test eax, eax
jne 0x46cc9f
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00485370
lea eax, [esi + 0xb4]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x46cc53
mov eax, dword [eax]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push ebx
push 0x56cebc
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x46cc7f
xor eax, eax
jmp 0x46cc8c
lea eax, [ebp - 0x218]
push eax
call fcn.00488e51
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00419ff0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.0048a073
pop ecx
push 0
push 1
lea ecx, [ebp - 0x230]
mov esi, eax
call fcn.00419c20
mov eax, esi
call fcn.004a98dc
ret
Function at 0x46cd52
Capabilities:
Read .ini file

Disassembly:
push 0x844
mov eax, 0x55e8b1
call fcn.004a9932
mov ebx, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x840]
and dword [ebp - 4], 0
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
and dword [ebp - 0x84c], 0
mov dword [ebp - 0x848], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x850], esi
mov dword [ebp - 0x844], eax
call fcn.00419540
lea eax, [ebp - 0x840]
mov dword [ebp - 4], 1
push eax
mov ecx, esi
call fcn.0041b160
push edi
push dword [ebp - 0x844]
lea eax, [ebp - 0x828]
mov dword [ebp - 0x84c], 1
push dword [ebp - 0x848]
mov ecx, ebx
push eax
call fcn.0046cf32
lea eax, [ebp - 0x840]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x828]
call fcn.00433da0
test eax, eax
jne 0x46ce64
cmp byte [ebp + 0x18], al
jne 0x46ce7a
push 0x800
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.00485370
lea eax, [ebx + 0xb4]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x46ce18
mov eax, dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push edi
push dword [ebp - 0x844]
push dword [ebp - 0x848]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x810], 0
jne 0x46ce46
xor eax, eax
jmp 0x46ce53
lea eax, [ebp - 0x810]
push eax
call fcn.00488e51
pop ecx
push eax
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.00419ff0
jmp 0x46ce7a
lea eax, [ebp - 0x828]
cmp esi, eax
je 0x46ce7a
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00419f20
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.00419c20
push 0
push 1
lea ecx, [ebp - 0x840]
call fcn.00419c20
mov eax, esi
call fcn.004a98dc
ret 0x14

Function at 0x46cf86
Capabilities:
Read .ini file

Disassembly:
push 0x838
mov eax, 0x55e8e4
call fcn.004a9932
mov edi, ecx
mov ecx, dword [ebp + 0xc]
lea eax, [edi + 0x9c]
cmp dword [eax + 0x14], 8
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x844], ecx
jb 0x46cfb1
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 0x46d08f
xor esi, esi
mov dword [ebp - 0x814], 7
push esi
xor eax, eax
mov dword [ebp - 0x818], esi
push 0x563a30
lea ecx, [ebp - 0x828]
mov word [ebp - 0x828], ax
call fcn.00419ff0
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], esi
push esi
push eax
call fcn.00485370
push dword [ebp + 0x10]
lea eax, [ebp - 0x810]
push 0x56ce6c
push eax
call fcn.00434b60
add esp, 0x18
lea eax, [ebp - 0x810]
cmp byte [edi + 1], 0
mov ecx, edi
push eax
push dword [ebp - 0x844]
lea eax, [ebp - 0x840]
push ebx
push eax
je 0x46d044
call fcn.0046cea2
jmp 0x46d049
call fcn.0046cf5c
push eax
lea ecx, [ebp - 0x828]
call fcn.0041b4a0
push esi
push 1
lea ecx, [ebp - 0x840]
call fcn.00419c20
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
call fcn.0048a073
pop ecx
push 0
push 1
lea ecx, [ebp - 0x828]
mov esi, eax
call fcn.00419c20
mov eax, esi
call fcn.004a98dc
ret 0xc
Function at 0x46d099
Capabilities:
Read .ini file

Disassembly:
push 0x82c
mov eax, 0x55e92e
call fcn.004a9932
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.00485370
lea eax, [edi + 0x9c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x46d0f6
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.00419540
and dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x834], 1
jb 0x46d13c
mov eax, dword [esi]
jmp 0x46d13e
mov eax, esi
push ebx
push eax
call fcn.0048efc8
pop ecx
pop ecx
test eax, eax
jne 0x46d18a
cmp byte [edi + 1], 0
lea eax, [ebp - 0x828]
push ebx
push dword [ebp - 0x82c]
mov ecx, edi
push dword [ebp - 0x830]
push eax
je 0x46d16e
call fcn.0046cea2
jmp 0x46d173
call fcn.0046cf5c
push eax
mov ecx, esi
call fcn.0041b4a0
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.00419c20
mov eax, esi
call fcn.004a98dc
ret 0x10

Function at 0x46d251
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5c24ac]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [esi + 0x24]
cmp dword [eax + 0x14], 8
jb 0x46d272
mov eax, dword [eax]
push str.Config
push eax
lea eax, [ebp - 0x20c]
push str._s_s_
push eax
call fcn.00434b60
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46d2aa
lea eax, [ebp - 0x20c]
push eax
call fcn.0046fbdc
pop ecx
lea eax, [ebp - 0x20c]
push str.Related.ini
push eax
call fcn.0048ee96
cmp word [ebp - 0x20c], 0
pop ecx
pop ecx
jne 0x46d2cb
xor eax, eax
jmp 0x46d2d8
lea eax, [ebp - 0x20c]
push eax
call fcn.00488e51
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 0x84]
call fcn.00419ff0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00464e95
mov esp, ebp
pop ebp
ret
Function at 0x46d2fa
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc3c
mov eax, dword [0x5c24ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0xc34]
push esi
push edi
push 0x208
xor edi, edi
mov esi, ecx
push edi
push eax
mov dword [ebp - 0xc3c], esi
call fcn.00485370
push 0x208
lea eax, [ebp - 0x824]
push edi
push eax
call fcn.00485370
push 0x208
lea eax, [ebp - 0x61c]
push edi
push eax
call fcn.00485370
push 0x208
lea eax, [ebp - 0xa2c]
push edi
push eax
call fcn.00485370
push 0x208
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.00485370
push 0x208
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.00485370
add esp, 0x48
lea eax, [ebp - 0xc34]
mov ecx, esi
push edi
push 0x1a
push eax
push edi
call fcn.0046eacc
lea eax, [ebp - 0xc34]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0048dcd9
lea eax, [ebp - 0x20c]
push eax
call fcn.00488e51
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.00486c4a
add esp, 0x14
test eax, eax
jne 0x46d3d9
mov ecx, esi
jmp 0x46d51b
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x824]
push eax
call fcn.0048dcd9
lea eax, [ebp - 0x824]
push str.Local
push eax
call fcn.0048ee96
add esp, 0x10
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
mov esi, edi
inc ecx
test eax, eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
cmovne esi, ecx
push eax
call fcn.0048dcd9
lea eax, [ebp - 0x61c]
push str.LocalLow
push eax
call fcn.0048ee96
add esp, 0x10
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, edi
push 1
pop eax
cmovne ecx, eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0xa2c]
mov dword [ebp - 0xc38], ecx
push eax
call fcn.0048dcd9
lea eax, [ebp - 0xa2c]
push str.Roaming
push eax
call fcn.0048ee96
add esp, 0x10
lea eax, [ebp - 0xa2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, edi
push 1
pop eax
cmovne ecx, eax
test esi, esi
je 0x46d515
cmp dword [ebp - 0xc38], edi
je 0x46d515
test ecx, ecx
je 0x46d515
push str.FYunZip
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push 0x56cba4
push eax
call fcn.00434b60
add esp, 0x10
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46d4ec
lea eax, [ebp - 0x414]
push eax
call fcn.0046fbdc
pop ecx
cmp word [ebp - 0x414], di
je 0x46d504
lea eax, [ebp - 0x414]
push eax
call fcn.00488e51
pop ecx
mov edi, eax
push edi
lea eax, [ebp - 0x414]
mov ecx, ebx
push eax
call fcn.00419ff0
jmp 0x46d521
mov ecx, dword [ebp - 0xc3c]
push ebx
call fcn.0046c45e
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00464e95
mov esp, ebp
pop ebp
ret 4
Function at 0x46d534
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc3c
mov eax, dword [0x5c24ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0xc34]
push esi
push edi
push 0x208
xor edi, edi
mov esi, ecx
push edi
push eax
mov dword [ebp - 0xc3c], esi
call fcn.00485370
push 0x208
lea eax, [ebp - 0x824]
push edi
push eax
call fcn.00485370
push 0x208
lea eax, [ebp - 0x61c]
push edi
push eax
call fcn.00485370
push 0x208
lea eax, [ebp - 0xa2c]
push edi
push eax
call fcn.00485370
push 0x208
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.00485370
push 0x208
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.00485370
add esp, 0x48
lea eax, [ebp - 0xc34]
mov ecx, esi
push edi
push 0x1a
push eax
push edi
call fcn.0046eacc
lea eax, [ebp - 0xc34]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0048dcd9
lea eax, [ebp - 0x20c]
push eax
call fcn.00488e51
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.00486c4a
add esp, 0x14
test eax, eax
jne 0x46d613
mov ecx, esi
jmp 0x46d755
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x824]
push eax
call fcn.0048dcd9
lea eax, [ebp - 0x824]
push str.Local
push eax
call fcn.0048ee96
add esp, 0x10
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
mov esi, edi
inc ecx
test eax, eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
cmovne esi, ecx
push eax
call fcn.0048dcd9
lea eax, [ebp - 0x61c]
push str.LocalLow
push eax
call fcn.0048ee96
add esp, 0x10
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, edi
push 1
pop eax
cmovne ecx, eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0xa2c]
mov dword [ebp - 0xc38], ecx
push eax
call fcn.0048dcd9
lea eax, [ebp - 0xa2c]
push str.Roaming
push eax
call fcn.0048ee96
add esp, 0x10
lea eax, [ebp - 0xa2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, edi
push 1
pop eax
cmovne ecx, eax
test esi, esi
je 0x46d74f
cmp dword [ebp - 0xc38], edi
je 0x46d74f
test ecx, ecx
je 0x46d74f
push str.FYunZip.users
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push 0x56cba4
push eax
call fcn.00434b60
add esp, 0x10
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46d726
lea eax, [ebp - 0x414]
push eax
call fcn.0046fbdc
pop ecx
cmp word [ebp - 0x414], di
je 0x46d73e
lea eax, [ebp - 0x414]
push eax
call fcn.00488e51
pop ecx
mov edi, eax
push edi
lea eax, [ebp - 0x414]
mov ecx, ebx
push eax
call fcn.00419ff0
jmp 0x46d75b
mov ecx, dword [ebp - 0xc3c]
push ebx
call fcn.0046c525
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00464e95
mov esp, ebp
pop ebp
ret 4
Function at 0x46d7ff
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5c24ac]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
xor edi, edi
lea eax, [ebp - 0x20c]
push edi
push eax
mov esi, ecx
call fcn.00485370
add esp, 0xc
lea eax, [ebp - 0x20c]
push edi
push 0x26
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [ebp - 0x20c], di
je 0x46d856
lea eax, [ebp - 0x20c]
push eax
call fcn.00488e51
pop ecx
mov edi, eax
push edi
lea eax, [ebp - 0x20c]
add esi, 0xfc
push eax
mov ecx, esi
call fcn.00419ff0
mov edi, 0x56ca38
push edi
call fcn.00488e51
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00419e50
cmp dword [esi + 0x14], 8
jb 0x46d88a
mov eax, dword [esi]
jmp 0x46d88c
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46d8ac
mov edi, str.C:Program_Files_
push edi
call fcn.00488e51
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00419ff0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00464e95
mov esp, ebp
pop ebp
ret
Function at 0x46e39c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5c24ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x5cf4cc]
test al, al
jne 0x46e435
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00485370
add esp, 0xc
lea eax, [ebp - 0x20c]
xor ebx, ebx
inc ebx
push ebx
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x46e42c
lea eax, [ebp - 0x20c]
push eax
call fcn.0048f7cc
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.00486ed0
pop ecx
pop ecx
test eax, eax
jne 0x46e424
lea eax, [ebp - 0x20c]
push str.cocuments_and_settingslocalService
push eax
call fcn.00486ed0
pop ecx
pop ecx
test eax, eax
je 0x46e42c
mov byte [0x5cf4cc], bl
jmp 0x46e432
mov bl, byte [0x5cf4cc]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00464e95
mov esp, ebp
pop ebp
ret
Function at 0x46e87e
Capabilities:
Read .ini file

Disassembly:
push 0x23c
mov eax, 0x55e9cb
call fcn.004a9932
mov ebx, ecx
call fcn.0046cbd7
lea edi, [ebx + 0xb4]
push eax
mov ecx, edi
call fcn.00419fc0
mov esi, str.FYunZip.ini
push esi
call fcn.00488e51
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00419e50
mov esi, 0x56ce5c
lea eax, [ebp - 0x248]
push esi
push 0x56ce64
push str.AppInfo
push eax
mov ecx, ebx
call fcn.0046cf32
and dword [ebp - 4], 0
lea eax, [ebp - 0x248]
push eax
call fcn.0047314d
cmp dword [ebp - 0x238], 0
pop ecx
jne 0x46e903
push esi
call fcn.00488e51
pop ecx
push eax
push esi
lea ecx, [ebp - 0x248]
call fcn.00419ff0
lea esi, [ebx + 0xcc]
lea eax, [ebp - 0x248]
cmp esi, eax
je 0x46e91f
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00419f20
push 0x56ce5c
mov ecx, esi
call fcn.00437c10
test eax, eax
jne 0x46e99b
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00485370
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x46e94c
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x218]
mov edi, 0x56ce5c
push eax
push edi
push 0x56ce64
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x46e97d
xor eax, eax
jmp 0x46e98a
lea eax, [ebp - 0x218]
push eax
call fcn.00488e51
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00419ff0
jmp 0x46e9a0
mov edi, 0x56ce5c
push edi
mov ecx, esi
call fcn.00437c10
test eax, eax
jne 0x46ea63
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00485370
add esp, 0xc
lea eax, [ebx + 0x54]
lea ecx, [ebp - 0x230]
push eax
call fcn.0041b160
push str.FYunZip.ini
mov byte [ebp - 4], 1
call fcn.00488e51
pop ecx
push eax
push str.FYunZip.ini
lea ecx, [ebp - 0x230]
call fcn.00419e50
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 0x56ce64
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x46ea34
xor eax, eax
jmp 0x46ea41
lea eax, [ebp - 0x218]
push eax
call fcn.00488e51
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00419ff0
push 0
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.00419c20
push edi
mov ecx, esi
call fcn.00437c10
test eax, eax
jne 0x46ea9f
push edi
push 0x56ce64
push str.AppInfo
lea eax, [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.0046d099
push eax
mov ecx, esi
call fcn.0041b4a0
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.00419c20
push esi
call fcn.0047314d
cmp dword [ebx + 0xdc], 0
pop ecx
jne 0x46eab7
push edi
mov ecx, esi
call fcn.00419fc0
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.00419c20
call fcn.004a98dc
ret
Function at 0x46fa1e
Capabilities:
Check if file exists
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x5c24ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x61c]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, 0x208
push esi
push 0
push eax
mov dword [ebp - 0x620], ebx
call fcn.00485370
push esi
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00485370
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.0048dcd9
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.0048dcd9
lea eax, [ebp - 0x61c]
push eax
call fcn.0048f7cc
lea eax, [ebp - 0x414]
push eax
call fcn.0048f7cc
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x61c]
push eax
call fcn.0048efc8
add esp, 0x38
test eax, eax
je 0x46fb63
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor esi, esi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00485370
add esp, 0xc
lea eax, [ebp - 0x20c]
test esi, esi
jne 0x46faec
push edi
push 0x56d114
push eax
call fcn.00473ed5
add esp, 0xc
jmp 0x46fafc
push esi
push edi
push str._s.bak_d
push eax
call fcn.00473ed5
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46fb1a
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.0048f483
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push edi
push dword [ebp - 0x620]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 5
test eax, eax
lea eax, [ebp - 0x20c]
push 0
push eax
jne 0x46fb61
call ebx
cmp esi, 0xa
jge 0x46fb63
inc esi
jmp 0x46fabb
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00464e95
mov esp, ebp
pop ebp
ret

Function at 0x46fb74
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push 0x38
lea eax, [ebp - 0x38]
mov dword [ebp - 0x3c], 0x3c
push 0
push eax
call fcn.00485370
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], 0x200
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x28], eax
call fcn.00472f67
test eax, eax
mov ecx, 0x56d0d4
lea eax, [ebp - 0x3c]
cmovne ecx, dword [ebp - 0x30]
push eax
mov dword [ebp - 0x30], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
test esi, esi
jne 0x46fbd5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret