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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4570ac]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x40b1f0
mov eax, dword [esi]
jmp 0x40b1f2
mov eax, esi
push ebx
push edi
push eax
push 1
push 0x440480
mov ebx, 0x440408
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
dec eax
neg eax
sbb al, al
inc al
mov byte [esi + 0x30], al
cmp dword [esi + 0x14], 8
jb 0x40b21c
mov eax, dword [esi]
jmp 0x40b21e
mov eax, esi
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x43ca38
push str.RepairExeUrl
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call ebx
xor edi, edi
cmp word [ebp - 0x20c], di
jne 0x40b24d
mov eax, edi
jmp 0x40b25a
lea eax, [ebp - 0x20c]
push eax
call fcn.00423bc4
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 0x34]
call fcn.00405c1f
cmp dword [esi + 0x14], 8
jb 0x40b274
mov eax, dword [esi]
jmp 0x40b276
mov eax, esi
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push str.null
push str.RepairExePath
push 0x440408
call ebx
cmp word [ebp - 0x20c], di
je 0x40b2ac
lea eax, [ebp - 0x20c]
push eax
call fcn.00423bc4
pop ecx
mov edi, eax
push edi
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 0x4c]
call fcn.00405c1f
cmp dword [esi + 0x14], 8
pop edi
pop ebx
jb 0x40b2c6
mov esi, dword [esi]
push esi
call fcn.004178b7
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00413200
mov esp, ebp
pop ebp
ret

Function at 0x40b612
Capabilities:
Check if file exists
Delete file
Download url
Get common file path
Receive data

Disassembly:
push 0x64c
mov eax, 0x43a7d5
call fcn.0041327c
mov esi, ecx
push 0x1869f
push 0x2710
call fcn.00418f98
pop ecx
pop ecx
push str.http:__d.wn51.com_wanneng_repair_repair.dat
lea ecx, [ebp - 0x640]
mov edi, eax
call fcn.0040945b
lea eax, [ebp - 0x640]
xor ebx, ebx
push eax
lea eax, [ebp - 0x658]
mov dword [ebp - 4], ebx
push eax
call fcn.0041645a
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
jb 0x40b668
mov eax, dword [eax]
push edi
push eax
lea eax, [ebp - 0x628]
push str._s__d
push eax
call fcn.00405d8a
add esp, 0x10
lea ecx, [ebp - 0x658]
push ebx
push 1
call fcn.004059c9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x640]
push ebx
push 1
call fcn.004098d1
call fcn.0041dba4
lea eax, [ebp - 0x420]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push edi
push 0x43cb7c
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push str._s_sRepair_d
push eax
call fcn.00405d8a
add esp, 0x14
lea eax, [ebp - 0x218]
push ebx
push ebx
push eax
lea eax, [ebp - 0x628]
push eax
push ebx
call sub.urlmon.dll_URLDownloadToFileW
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40b701
xor al, al
jmp 0x40b729
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.0040b2dc
test al, al
je 0x40b6fd
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, esi
call fcn.0040b3cc
mov al, 1
call fcn.00413226
ret
Function at 0x40d80a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x43aa6e
call fcn.004132ea
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x418], ebx
push 0x60
push ebx
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x40d887
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x40d887
call fcn.0040cab5
mov esi, eax
jmp 0x40d95e
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x40d8aa
call fcn.0040cab5
jmp 0x40d951
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x40d8a0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x420], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x40d8da
mov esi, 0x8007000e
jmp 0x40d953
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0040c8d4
jmp 0x40d900
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x40d8d3
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x41c]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x40d8a0
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.0040d6cf
mov esi, eax
test edi, edi
je 0x40d95e
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x40d977
lea ecx, [ebp - 0x418]
call fcn.0040cf46
mov eax, esi
call fcn.00413237
ret 0x10
Function at 0x40f180
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ab33
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4570ac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x45b130
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ebp - 4], 0
mov dword [ecx], 0x45b130
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x442314
mov byte [ebp - 4], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.00412c90
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x414761
Capabilities:
Read .ini file

Disassembly:
push 0x82c
mov eax, 0x43b024
call fcn.0041327c
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.0041f990
lea eax, [edi + 0x8c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4147be
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.00406567
and dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x834], 1
jb 0x414804
mov eax, dword [esi]
jmp 0x414806
mov eax, esi
push ebx
push eax
call fcn.00423b84
pop ecx
pop ecx
test eax, eax
jne 0x414852
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 0x414836
call fcn.0041467d
jmp 0x41483b
call fcn.00414737
push eax
mov ecx, esi
call fcn.0040ae9c
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.004059c9
mov eax, esi
call fcn.00413226
ret 0x10
Function at 0x415404
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa44
mov eax, dword [0x4570ac]
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.0041f990
lea eax, [edi + 0x2c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x41543d
mov eax, dword [eax]
push 0x43ca94
push eax
lea eax, [ebp - 0x20c]
push 0x440438
push eax
call fcn.00405d8a
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x415475
lea eax, [ebp - 0x20c]
push eax
call fcn.004178b7
pop ecx
push 0x208
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0041f990
push str.UseVestige.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x440058
push eax
call fcn.00405d8a
add esp, 0x1c
cmp word [ebp - 0x414], si
jne 0x4154b4
mov eax, esi
jmp 0x4154c1
lea eax, [ebp - 0x414]
push eax
call fcn.00423bc4
pop ecx
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [edi + 0x8c]
call fcn.00405c1f
push 0x208
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.0041f990
push str.Cache.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push 0x440058
push eax
call fcn.00405d8a
add esp, 0x1c
cmp word [ebp - 0x61c], si
jne 0x415513
mov eax, esi
jmp 0x415520
lea eax, [ebp - 0x61c]
push eax
call fcn.00423bc4
pop ecx
push eax
lea eax, [ebp - 0x61c]
push eax
lea ecx, [edi + 0xa4]
call fcn.00405c1f
push 0x208
lea eax, [ebp - 0x824]
push esi
push eax
call fcn.0041f990
lea eax, [ebp - 0xa44]
push str.ShxlPath
push eax
call fcn.004189cc
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x415561
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x824]
push 0x43e708
push eax
call fcn.00405d8a
add esp, 0xc
lea ecx, [ebp - 0xa44]
push esi
push 1
call fcn.004059c9
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4155a2
lea eax, [ebp - 0x824]
push eax
call fcn.004178b7
pop ecx
push 0x208
lea eax, [ebp - 0xa2c]
push esi
push eax
call fcn.0041f990
push str.Cache.ini
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0xa2c]
push 0x440058
push eax
call fcn.00405d8a
add esp, 0x1c
cmp word [ebp - 0xa2c], si
je 0x4155ec
lea eax, [ebp - 0xa2c]
push eax
call fcn.00423bc4
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0xa2c]
push eax
lea ecx, [edi + 0xbc]
call fcn.00405c1f
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00413200
mov esp, ebp
pop ebp
ret
Function at 0x415af5
Capabilities:
Read .ini file

Disassembly:
push 0x23c
mov eax, 0x43b0e9
call fcn.0041327c
mov ebx, ecx
call fcn.00414671
lea edi, [ebx + 0xd4]
push eax
mov ecx, edi
call fcn.00405bf8
mov esi, 0x43e850
push esi
call fcn.00423bc4
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00405abf
push str.guanf
push str.Spreader
push str.AppInfo
lea eax, [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.00414761
lea esi, [ebx + 0xec]
push eax
mov ecx, esi
call fcn.0040ae9c
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.004059c9
push str.guanf
mov ecx, esi
call fcn.00406c2f
test eax, eax
jne 0x415be4
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0041f990
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x415b95
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x218]
mov edi, str.guanf
push eax
push edi
push str.Spreader
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x415bc6
xor eax, eax
jmp 0x415bd3
lea eax, [ebp - 0x218]
push eax
call fcn.00423bc4
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00405c1f
jmp 0x415be9
mov edi, str.guanf
push edi
mov ecx, esi
call fcn.00406c2f
test eax, eax
jne 0x415cac
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0041f990
add esp, 0xc
lea eax, [ebx + 0x5c]
lea ecx, [ebp - 0x230]
push eax
call fcn.00405f7d
and dword [ebp - 4], 0
push 0x43e850
call fcn.00423bc4
pop ecx
push eax
push 0x43e850
lea ecx, [ebp - 0x230]
call fcn.00405abf
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 str.Spreader
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x415c7d
xor eax, eax
jmp 0x415c8a
lea eax, [ebp - 0x218]
push eax
call fcn.00423bc4
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00405c1f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
push 0
push 1
call fcn.004059c9
push edi
mov ecx, esi
call fcn.00406c2f
test eax, eax
jne 0x415ce8
push edi
push str.Spreader
push str.AppInfo
lea eax, [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.0041470d
push eax
mov ecx, esi
call fcn.0040ae9c
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.004059c9
call fcn.00413226
ret
Function at 0x417684
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x4570ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.0041f990
add esp, 0xc
mov dword [ebp - 0x120], esi
call fcn.0040ebb7
test al, al
je 0x4176d7
push edi
pop ebx
push edi
push edx
push ecx
pop ebx
pop edx
push ebx
pop eax
push eax
pop ebp
pop edi
pop ebp
pop esp
pop ecx
push ecx
push edx
push esp
push ecx
push edi
pop ebp
pop ecx
pop ebx
call fcn.0040e98f
test al, al
je 0x4176f8
pop eax
pop ebx
pop edi
pop edi
pop ebp
pop edi
pop ecx
pop esp
push esp
pop edi
push eax
push ebp
pop esp
pop edi
pop edx
push ebx
pop esi
push edx
push esp
push ecx
pop ebp
pop ebp
pop edi
push edi
call fcn.0040ea19
test al, al
je 0x417719
push esi
push esi
push edx
pop esi
pop ecx
push ecx
pop edi
pop eax
pop ebp
pop eax
push esp
push ecx
pop edx
pop eax
pop ebx
push esi
pop esp
pop ecx
push ecx
pop ebp
pop edi
pop esi
push esi
push ebp
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jne 0x417749
xor eax, eax
inc eax
cmp dword [ebp - 0x118], 0
je 0x417743
cmp dword [ebp - 0x118], eax
jne 0x417749
cmp byte [ebp - 6], 1
je 0x4177a8
call fcn.0040ec41
test al, al
je 0x41776d
push eax
push ecx
push ebp
pop edi
pop edi
pop esi
pop esi
pop edi
pop esi
push eax
push esp
push edi
pop esp
push eax
push eax
push eax
push esp
push esi
push edi
pop esi
pop esp
push ebp
pop ecx
pop esp
pop edx
pop ecx
pop ebp
call fcn.0040eae8
test al, al
je 0x41778b
push ecx
pop edi
push ecx
pop edi
push eax
push ebx
pop ecx
push eax
push ebp
pop edx
push ebp
pop esp
push ebx
push esi
pop esp
pop esi
push esp
pop esp
push eax
pop esi
push ecx
call fcn.0040ebfc
test al, al
je 0x4177a6
push ebx
pop eax
push esi
pop esi
push ebp
pop esp
pop eax
push esp
pop eax
push edi
push edi
pop eax
pop esp
push ebp
push edx
push esi
push ebx
push eax
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00413200
mov esp, ebp
pop ebp
ret
Function at 0x4178b7
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.00423bc4
mov dword [ebp - 8], eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00413696
push dword [ebp + 8]
mov edi, eax
push edi
mov dword [ebp - 4], edi
call fcn.00423907
add esp, 0x10
call fcn.0040eddf
test al, al
je 0x41790a
push edx
push ebp
pop esp
pop edx
push esi
pop esi
pop edx
push eax
pop edx
pop ebx
pop ebx
pop esp
pop edx
push edi
push esp
push edi
mov eax, dword [ebp - 8]
xor esi, esi
xor ebx, ebx
inc esi
mov dword [ebp - 0xc], ebx
test eax, eax
js 0x4179d4
cmp word [edi + ebx*2], 0x5c
jne 0x4179c5
call fcn.0040eb72
test al, al
je 0x417945
push ebp
pop ebp
push eax
push esp
pop ebp
push ebx
pop ebp
push esi
pop ebx
push edi
pop eax
pop esp
push esi
push eax
push ebp
pop eax
pop esi
push ecx
push ebx
push edx
call fcn.0040e98f
test al, al
je 0x41796f
push ebp
push ecx
push edi
push edx
push ebx
push ecx
pop esp
pop ebx
pop ebp
pop edx
pop ecx
pop edi
pop ebx
push esp
push eax
push edi
pop ebx
push edi
pop ebx
push eax
pop edx
push ebp
pop ecx
pop eax
pop eax
pop ebx
push ebx
pop ebx
push esp
push ebp
mov edi, dword [ebp - 4]
call fcn.0040ea5e
test al, al
je 0x41799a
push esi
push esp
push esp
push eax
pop ebx
pop esi
push ebp
push ecx
push eax
push esp
push esp
push edi
pop ebp
pop ebx
push edi
pop ecx
pop esi
push edi
push ecx
push esp
pop ebp
pop ecx
pop ebp
push eax
pop ebp
pop edi
push ecx
pop ebp
pop eax
pop ecx
push ecx
mov edi, dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
xor eax, eax
push edi
movzx esi, word [edi + ebx*2]
mov word [edi + ebx*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4179be
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4179e4
mov eax, dword [ebp - 8]
mov word [edi + ebx*2], si
inc ebx
mov dword [ebp - 0xc], ebx
cmp ebx, eax
jle 0x41791d
xor esi, esi
inc esi
push edi
call fcn.0041369f
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
jmp 0x4179d4
Function at 0x4179e8
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4570ac]
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.00418e20
lea eax, [ebp - 0x20c]
push eax
call fcn.00423bc4
add esp, 0x14
mov dword [ebp - 0x214], eax
call fcn.0040e905
test al, al
je 0x417a5f
pop esp
push ecx
pop ebx
push ecx
pop ecx
pop edi
pop ecx
pop esi
push ebx
pop esp
pop ecx
push esi
push edx
push edx
push ebx
push edi
push ebx
push esi
pop esp
pop edx
push ebp
pop eax
push ebx
push edx
push ebp
mov ebx, dword [ebp - 0x210]
cmp dword [ebp - 0x214], 0
je 0x417b6b
mov esi, 0x43caa4
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00423b53
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00423b53
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00423b53
add esp, 0x18
call fcn.0040ee69
test al, al
je 0x417abf
pop ebx
pop ecx
push ecx
push edx
pop ebp
push edx
pop esp
push ecx
pop ecx
push esp
push ecx
push esp
pop esi
pop eax
push esp
push ebp
push edi
pop ecx
pop ebx
push ebp
pop edi
push ebx
push esi
push ebx
push ebx
pop ebp
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x417add
lea eax, [ebp - 0x20c]
push eax
call fcn.004178b7
pop ecx
call fcn.0040e9d4
test al, al
je 0x417afa
push ebp
push eax
pop ecx
push edx
pop ecx
pop ebx
pop ecx
pop ebp
push esp
push edi
pop ebx
pop esi
pop ebp
pop edx
push esp
push ebp
push edx
pop edi
pop eax
push esi
call fcn.0040ec41
test al, al
je 0x417b1f
pop edi
push edi
pop esp
pop edi
push ebp
push edi
push ebx
pop esi
pop esi
pop edi
pop ebp
push ecx
push edx
pop ebx
pop ebx
pop eax
push ebp
pop esi
push edx
pop esi
pop edi
push esi
push ebp
pop ebp
push eax
pop edi
pop edx
push edi
call fcn.0040ee69
test al, al
je 0x417b3d
push esp
pop edx
push edi
pop ebp
pop eax
push ebp
push ecx
pop esi
push esp
pop edi
pop ecx
pop edx
push edx
pop ecx
push esp
push ebx
pop edx
pop edi
push edx
push edi
push ebp
cmp word [ebp - 0x20c], 0
jne 0x417b4b
xor eax, eax
jmp 0x417b58
lea eax, [ebp - 0x20c]
push eax
call fcn.00423bc4
pop ecx
mov ecx, dword [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00405c1f
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00413200
mov esp, ebp
pop ebp
ret
Function at 0x418768
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4570ac]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x45b58c], 0
push ebx
push esi
push edi
je 0x4187f0
call fcn.0040e9d4
test al, al
je 0x4187a4
push ebp
push eax
pop ecx
push edx
pop ecx
pop ebx
pop ecx
pop ebp
push esp
push edi
pop ebx
pop esi
pop ebp
pop edx
push esp
push ebp
push edx
pop edi
pop eax
push esi
call fcn.0040ec41
test al, al
je 0x4187c9
pop edi
push edi
pop esp
pop edi
push ebp
push edi
push ebx
pop esi
pop esi
pop edi
pop ebp
push ecx
push edx
pop ebx
pop ebx
pop eax
push ebp
pop esi
push edx
pop esi
pop edi
push esi
push ebp
pop ebp
push eax
pop edi
pop edx
push edi
call fcn.0040ee69
test al, al
je 0x4188e7
push esp
pop edx
push edi
pop ebp
pop eax
push ebp
push ecx
pop esi
push esp
pop edi
pop ecx
pop edx
push edx
pop ecx
push esp
push ebx
pop edx
pop edi
push edx
push edi
push ebp
jmp 0x4188e7
call fcn.0040ee69
test al, al
je 0x418814
pop edx
push ecx
pop edi
push esi
pop ebp
push ebp
push esp
pop ebp
push ebx
push ecx
push ecx
pop esi
push ebp
push ebp
pop esp
push eax
pop edi
push esp
push ebx
push ebp
push eax
pop ecx
pop ebx
pop edi
pop esp
pop esi
pop ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0041f990
add esp, 0xc
lea eax, [ebp - 0x20c]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x418884
lea eax, [ebp - 0x20c]
push eax
call fcn.0042a711
lea eax, [ebp - 0x20c]
mov dword [esp], 0x442c84
push eax
call fcn.004212e8
pop ecx
pop ecx
test eax, eax
jne 0x41887d
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.004212e8
pop ecx
pop ecx
test eax, eax
je 0x418884
mov byte [0x45b58c], 1
call fcn.0040eccb
test al, al
je 0x41889f
pop ecx
push ecx
push esi
push edx
push eax
pop esi
push eax
push ebx
pop ebx
push esi
push eax
push eax
push edi
push ebp
pop esi
push esp
pop eax
push esp
call fcn.0040e9d4
test al, al
je 0x4188c3
push edx
push esi
push esi
push edi
push esi
push edi
pop edi
push esi
push ecx
push esp
push esp
push edx
push ecx
pop esp
push esp
push ebx
pop edi
pop edx
pop ebp
pop ebx
pop esi
push esp
pop ebx
pop edx
pop eax
pop esi
push ebx
call fcn.0040e9d4
test al, al
je 0x4188e7
push ebx
pop ebp
pop edi
push esi
pop esp
pop ecx
pop ebx
pop edi
pop eax
pop edi
pop edi
push edx
pop eax
pop ecx
push eax
push edi
push ecx
pop edi
pop esi
push ebp
push esp
push esi
push edx
push edi
push esi
push edx
push ebp
mov ecx, dword [ebp - 4]
mov al, byte [0x45b58c]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00413200
mov esp, ebp
pop ebp
ret
Function at 0x4188fd
Capabilities:
Get common file path

Disassembly:
push 0x138
mov eax, 0x43b315
call fcn.0041327c
mov al, byte [0x45b58d]
test al, al
jne 0x4189c6
push 0x104
xor esi, esi
lea eax, [ebp - 0x114]
push esi
push eax
call fcn.0041f990
add esp, 0xc
lea eax, [ebp - 0x114]
xor edi, edi
inc edi
push edi
push 0x1a
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x4189c1
push str.config_systemprofile
lea ecx, [ebp - 0x12c]
call fcn.0040945b
lea eax, [ebp - 0x114]
mov dword [ebp - 4], esi
push eax
lea ecx, [ebp - 0x144]
call fcn.0040945b
push dword [ebp - 0x11c]
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
push esi
cmovae eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x144]
push eax
call fcn.00416657
movzx ecx, byte [0x45b58d]
cmp eax, 0xffffffff
push esi
cmovne ecx, edi
mov byte [0x45b58d], cl
lea ecx, [ebp - 0x144]
push edi
call fcn.004098d1
push esi
push edi
lea ecx, [ebp - 0x12c]
call fcn.004098d1
mov al, byte [0x45b58d]
call fcn.00413226
ret
Function at 0x4190a8
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
call fcn.0040eaa3
test al, al
je 0x4190d6
push eax
push esi
push edi
pop ebp
pop esi
pop edi
pop ebx
push esi
pop ecx
pop esp
push edi
pop eax
pop ebp
push ebp
pop ecx
push edx
pop esp
pop esi
pop esp
push esp
pop eax
pop ebp
push edi
push ebx
pop ecx
push esi
push ecx
call fcn.0040e94a
test al, al
je 0x4190fd
push edi
pop edi
push ebx
push eax
push ebp
push ecx
push edi
push edx
pop esp
push edi
pop edi
pop ecx
push esp
push eax
pop esi
pop edx
push ecx
pop esi
pop ecx
pop edi
pop ebx
push esi
pop edx
push esi
pop edx
pop ecx
pop ecx
pop eax
pop ebx
pop esp
push dword [ebp + 8]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, dword [ebp - 4]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
neg eax
pop edi
sbb eax, eax
inc eax
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4