joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ed60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c0964
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x64b9b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
lea edi, [esi + 0x20]
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [edi], eax
mov dword [ebp - 4], 0
mov dword [esi + 0x24], vtable.CSingletonBase_class_CCloudConfigMgr_.0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x28]
push esi
mov dword [esi], vtable.CCloudConfigMgr.1.0
mov dword [esi + 0x24], vtable.CCloudConfigMgr.0
call fcn.0040f600
mov byte [ebp - 4], 2
call fcn.00402810
mov ecx, eax
test ecx, ecx
jne 0x40edf3
push 0x80004005
call fcn.004022b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov byte [ebp - 4], 4
push dword [ebp - 0x10]
mov dword [esi + 0x40], 0
push edi
push 0x64c4d8
call fcn.0040cc80
add esp, 0xc
movzx eax, ax
mov ecx, esi
push 0
push eax
push 0
push 0
push 0x56000000
push 0
push 0
push 0xfffffffffffffffd
call fcn.0040cbd0
mov eax, dword [esi + 0x2c]
mov ecx, esi
mov dword [eax + 0x38], 0x40f090
mov dword [eax + 0x3c], 0
call fcn.0040f110
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40fe20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x64b9b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov esi, ecx
push 0
push eax
call fcn.005949a0
add esp, 0xc
lea eax, [ebp - 0x20c]
push dword [esi]
push 0x104
push eax
push 0x61e1b4
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x20c]
push eax
call fcn.0059cdc3
mov edi, dword [ebp + 8]
or esi, 0xffffffff
add esp, 4
mov dword [ebp - 0x210], edx
mov ebx, eax
add edi, 0xfffffff0
mov ecx, esi
lock xadd dword [edi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x40fea1
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x40feb9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 4]
mov eax, ebx
mov edx, dword [ebp - 0x210]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0057b967
mov esp, ebp
pop ebp
ret 8
Function at 0x411a80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
sub esp, 0x14
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0xc]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push edx
push reloc.WS2_32.dll_accept
call fcn.00411990
mov edi, dword [ebp - 0xc]
mov esi, eax
test esi, esi
jne 0x411af8
mov edx, dword [ebp + 8]
test edx, edx
jne 0x411ac3
lea esi, [edx + 0xd]
jmp 0x411af8
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411ad0
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test edi, edi
je 0x411b03
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x411b10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x411b25
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x411b30
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push 1
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x413250
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x64b9b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x104
lea eax, [ebp - 0x108]
mov dword [ebp - 0x114], 0
mov edi, ecx
mov esi, edx
push 0
push eax
mov dword [ebp - 0x10c], edi
call fcn.005949a0
add esp, 0xc
mov dword [ebp - 0x10c], 0
lea eax, [ebp - 0x110]
mov dword [ebp - 0x110], 0x104
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x10c]
push eax
push str.ProgId
push esi
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x108]
mov ecx, edi
push eax
call fcn.004032f0
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0057b967
mov esp, ebp
pop ebp
ret

Function at 0x413380
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c109b
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x64b9b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x118
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.005949a0
add esp, 0xc
mov dword [ebp - 0x12c], 0x11c
push str.RtlGetVersion
push str.ntdll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4133f1
lea ecx, [ebp - 0x12c]
push ecx
call eax
cmp dword [ebp - 0x128], 0xa
jb 0x4134da
call fcn.00402810
mov ecx, eax
test ecx, ecx
jne 0x413413
push 0x80004005
call fcn.004022b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x130], eax
push str.sesAppX43hnxtbyyps62jhe9s
lea eax, [ebp - 0x130]
mov dword [ebp - 4], 0
push str.SoftwareClas_sqpdzxn1790zetc
push eax
call fcn.004043e0
mov esi, dword [ebp - 0x130]
lea ecx, [ebp - 0x13c]
add esp, 0xc
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
push 0x2001f
push esi
push reloc.WS2_32.dll_accept
call fcn.00411a10
mov edi, dword [ebp - 0x13c]
push 0
push 0
push 0
push 0
push str.NoOpenWith
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x4134b0
push eax
push 0x61e1b4
push 1
push 0
push str.NoOpenWith
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test edi, edi
je 0x4134bb
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4134da
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057b967
mov esp, ebp
pop ebp
ret
Function at 0x4152d0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov eax, ecx
mov dword [ebp - 0xc], edx
push edi
lea ecx, [ebp - 4]
mov dword [ebp - 8], eax
push ecx
push eax
mov dword [ebp - 4], 0
xor ebx, ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
jne 0x415300
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
call fcn.005981d6
mov esi, eax
add esp, 4
test esi, esi
jne 0x415317
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
push 0
push dword [ebp - 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x415358
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x621c28
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x415358
mov ecx, dword [ebp - 8]
mov ebx, 1
mov edx, dword [ebp - 0xc]
mov eax, dword [ecx + 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ecx + 0xc]
mov dword [eax], ecx
push esi
call fcn.005981d1
add esp, 4
mov eax, ebx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415370
Capabilities:
Get session user name
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, ecx
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x4154e2
push edi
mov edi, dword [sym.imp.Secur32.dll_GetUserNameExW]
lea eax, [ebp - 8]
push eax
push 0
push 2
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
call edi
test al, al
je 0x4153c2
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
add eax, eax
push esi
push eax
call fcn.005981d6
mov esi, eax
add esp, 4
test esi, esi
je 0x4154da
lea eax, [ebp - 8]
push eax
push esi
push 2
call edi
test al, al
je 0x4154da
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push esi
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x4154d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4154d1
push dword [ebp - 0x10]
call fcn.005981d6
mov edi, eax
add esp, 4
test edi, edi
je 0x4154d1
mov eax, dword [ebp - 0xc]
add eax, eax
push ebx
push eax
call fcn.005981d6
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x41545e
push esi
call fcn.005981d1
push edi
call fcn.005981d1
add esp, 8
xor eax, eax
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
push edi
push esi
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x4154b2
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidW]
test eax, eax
je 0x4154b2
push dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov edx, 0x64
call fcn.00415080
push dword [ebp - 4]
xor ecx, ecx
test eax, eax
setns cl
mov dword [ebp - 0x14], ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 4], 0
push esi
call fcn.005981d1
push edi
call fcn.005981d1
push ebx
call fcn.005981d1
mov eax, dword [ebp - 0x14]
add esp, 0xc
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret
push esi
call fcn.005981d1
add esp, 4
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4154f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c12db
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x64b9b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
lea eax, [ebp - 0x218]
push 0x208
push esi
push eax
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x224], esi
call fcn.005949a0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.004032f0
mov dword [ebp - 4], esi
mov edi, 1
mov eax, dword [ebp - 0x21c]
mov edx, edi
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x104
or ecx, edx
jge 0x41559a
push 0x104
lea ecx, [ebp - 0x21c]
call fcn.004039d0
mov eax, dword [ebp - 0x21c]
push str._system32Shell32.dll
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [ebp - 0x21c]
push dword [eax - 8]
push eax
call fcn.005a485d
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x41565a
mov eax, dword [ebp - 0x21c]
cmp ecx, dword [eax - 8]
jg 0x41565a
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebp - 0x21c]
mov word [eax + ecx*2], dx
lea eax, [ebp - 0x224]
mov ecx, dword [ebp - 0x21c]
lea edx, [ebp - 0x220]
push eax
call fcn.004152d0
add esp, 4
test eax, eax
je 0x415618
cmp dword [ebp - 0x220], 0x60002
jb 0x415618
cmp dword [ebp - 0x224], 0x295a01c8
cmovae esi, edi
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edi, dword [ebp - 0x21c]
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x41563d
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057b967
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004022b0
int3

Function at 0x415b20
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x64b9b0]
xor eax, esp
mov dword [esp + 0x70], eax
push esi
mov esi, dword [ebp + 8]
push edx
mov edx, ecx
mov dword [esp + 0x10], 0
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
call fcn.00414eb0
add esp, 4
lea ecx, [esp + 8]
call fcn.00414f70
movups xmm0, xmmword [esp + 0x60]
mov ecx, dword [esp + 0x74]
mov eax, 1
movups xmmword [esi], xmm0
pop esi
xor ecx, esp
call fcn.0057b967
mov esp, ebp
pop ebp
ret
Function at 0x415ba0
Capabilities:
Encode data using base64
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x636038
push 0x595470
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x64b9b0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, edx
mov eax, ecx
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2c], ebx
test eax, eax
je 0x415d39
test ebx, ebx
je 0x415d39
test edi, edi
je 0x415d39
xor esi, esi
mov byte [ebp - 0x48], 0
xorps xmm0, xmm0
movq qword [ebp - 0x47], xmm0
mov dword [ebp - 0x3f], esi
mov word [ebp - 0x3b], si
mov byte [ebp - 0x39], 0
mov byte [ebp - 0x24], 0
xor ecx, ecx
mov dword [ebp - 0x23], ecx
mov word [ebp - 0x1f], cx
mov byte [ebp - 0x1d], cl
mov dword [ebp - 4], ecx
push ecx
lea ecx, [ebp - 0x48]
push ecx
mov ecx, eax
call fcn.00415b20
add esp, 8
test eax, eax
je 0x415d2e
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x48]
push eax
mov edx, edi
mov ecx, dword [ebp - 0x30]
call fcn.00415a90
add esp, 8
test eax, eax
je 0x415d2e
xor eax, eax
mov dword [ebp - 0x28], eax
xor edi, edi
mov dword [ebp - 0x34], edi
mov cl, byte [ebp + eax - 0x24]
inc eax
mov dword [ebp - 0x28], eax
cmp eax, 8
jb 0x415c76
xor bh, bh
jmp 0x415c7e
mov bh, byte [ebp + eax - 0x24]
inc eax
mov dword [ebp - 0x28], eax
cmp eax, 8
jb 0x415c87
xor bl, bl
jmp 0x415c8f
mov bl, byte [ebp + eax - 0x24]
inc eax
mov dword [ebp - 0x28], eax
movzx edx, cl
mov ecx, edx
shr ecx, 2
movzx ecx, word [ecx*2 + 0x620a80]
mov esi, dword [ebp - 0x2c]
mov word [esi + edi*2], cx
movzx esi, bh
mov ecx, esi
shr ecx, 4
and edx, 3
shl edx, 4
or ecx, edx
movzx ecx, word [ecx*2 + 0x620a80]
mov edx, dword [ebp - 0x2c]
mov word [edx + edi*2 + 2], cx
movzx edx, bl
mov ecx, edx
shr ecx, 6
and esi, 0xf
shl esi, 2
or ecx, esi
movzx ecx, word [ecx*2 + 0x620a80]
mov ebx, dword [ebp - 0x2c]
mov word [ebx + edi*2 + 4], cx
and edx, 0x3f
movzx ecx, word [edx*2 + 0x620a80]
mov word [ebx + edi*2 + 6], cx
add edi, 4
mov dword [ebp - 0x34], edi
cmp eax, 8
jb 0x415c65
mov dword [ebx + edi*2 - 2], 0x3d
mov esi, 1
mov dword [ebp - 0x38], esi
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x415d3b
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x415d3b
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0057b967
mov esp, ebp
pop ebp
ret
Function at 0x416180
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c1384
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x64b9b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
lea edi, [esi + 0x20]
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [edi], eax
mov dword [ebp - 4], 0
mov dword [esi + 0x24], vtable.CCloudConfigMgrCallback.0
mov dword [esi + 0x28], vtable.CSingletonBase_class_CMiniLoader_.0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x2c]
push esi
mov dword [esi], vtable.CMiniLoader.0
mov dword [esi + 0x24], vtable.CMiniLoader.2.0
mov dword [esi + 0x28], vtable.CMiniLoader.1.0
call fcn.00417b00
mov byte [ebp - 4], 2
call fcn.00402810
mov ecx, eax
test ecx, ecx
jne 0x416221
push 0x80004005
call fcn.004022b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x34], eax
mov byte [ebp - 4], 3
lea ecx, [esi + 0x40]
push str.http:__dl.xundupdf.com_recovery_mini
mov dword [esi + 0x38], 1
mov dword [esi + 0x3c], 1
call fcn.004032f0
mov byte [ebp - 4], 4
push dword [ebp - 0x10]
push edi
push 0x64c800
call fcn.0040cc80
add esp, 0xc
movzx eax, ax
mov ecx, esi
push 0
push eax
push 0
push 0
push 0x56000000
push 0
push 0
push 0xfffffffffffffffd
call fcn.0040cbd0
mov eax, dword [esi + 0x30]
mov dword [eax + 0x30], 0x416400
mov dword [eax + 0x34], 0
mov eax, dword [esi + 0x30]
mov dword [eax + 0x38], 0x40b9e0
mov dword [eax + 0x3c], 0
mov eax, esi
mov dword [esi + 0x44], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x416820
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c142f
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x64b9b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor edx, edx
lea ecx, [ebp - 0x10]
call fcn.00470220
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x416882
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41687b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
jmp 0x4168b4
push dword [ebp - 0x10]
push 1
push str.mininewver
push str.dataRecovery
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp - 0x10]
mov esi, eax
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4168b4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x665ef8]
mov dword [edi + 0x38], esi
mov dword [edi + 0x3c], esi
add edi, 0x24
test eax, eax
jne 0x4168ed
push 0x44
call fcn.0057bbbe
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0040ed60
mov dword [ebp - 4], 0xffffffff
mov dword [0x665ef8], eax
push edi
mov ecx, eax
call fcn.0040f3a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x416e40
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c1508
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x64b9b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x1c], 0
mov ecx, dword [eax]
mov eax, dword [0x665fe0]
cmp eax, dword [ecx + 4]
jle 0x416ed1
push 0x665fe0
call fcn.0057baba
add esp, 4
cmp dword [0x665fe0], 0xffffffff
jne 0x416ed1
call fcn.00402810
mov ecx, eax
test ecx, ecx
jne 0x416ead
push 0x80004005
call fcn.004022b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
push 0x5c9700
mov dword [0x665fe4], eax
call fcn.0057bf48
push 0x665fe0
call fcn.0057ba7b
add esp, 8
mov eax, dword [0x665fe4]
cmp dword [eax - 0xc], 0
jne 0x416fa0
push 0x621c28
lea ecx, [ebp - 0x18]
call fcn.004032f0
push str.mini
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00407900
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
push dword [eax]
xor edx, edx
call fcn.0046fff0
add esp, 8
push eax
mov ecx, 0x665fe4
mov byte [ebp - 4], 2
call fcn.00404320
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x416f46
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x416f64
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x416f83
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [0x665fe4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x416fa0
push eax
push dword [0x665fe4]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [0x665fe4]
lea ecx, [ecx - 0x10]
call fcn.00403970
lea ecx, [eax + 0x10]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x416fd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c1540
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x64b9b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x14]
push eax
call fcn.00416e40
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or ebx, 0xffffffff
test eax, eax
je 0x4170bd
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x4170bd
xor edi, edi
nop
push 0x621c28
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.00407900
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
push dword [edi + 0x620b04]
mov edx, eax
call fcn.00407900
mov byte [ebp - 4], 0
add esp, 8
mov edx, dword [ebp - 0x18]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x417075
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
test eax, eax
mov eax, ebx
je 0x4170ab
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41709c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 4
cmp edi, 0x18
jb 0x417030
mov edi, 1
jmp 0x4170bf
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4170bd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor edi, edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4170db
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
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

Function at 0x4170f0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c06d8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x64b9b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0x34]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x417137
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x10]
push eax
call fcn.00416e40
mov dword [ebp - 4], 0
mov edx, dword [eax]
mov ecx, dword [esi + 0x34]
call fcn.0048ca60
neg eax
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp - 0x10]
sbb edi, edi
add ebx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x417177
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
push dword [esi + 0x34]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [edi + 1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret