joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405683
Capabilities:
Terminate thread

Disassembly:
and dword [esi + 0x10], 0
mov eax, esi
mov dword [esi], 0x41e2a4
call fcn.004056b6
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov dword [esi], 0x41e2b0
mov eax, esi
jmp fcn.00402cbb

Function at 0x4056ca
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, eax
lea eax, [esi + 0x18]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [esi + 0x38]
sub ebx, dword [esi + 0x3c]
push ebx
push str.CDownloadThread::DivideTask_nLen_ld_n
call fcn.00409a2f
pop ecx
cmp ebx, 0x10000
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
pop ecx
jg 0x405717
call ebx
sub eax, dword [esi + 0x40]
cmp eax, 0x2710
jge 0x405710
xor esi, esi
jmp 0x40573a
mov eax, esi
call fcn.004056b6
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x38]
add eax, dword [esi + 0x3c]
cdq
sub eax, edx
sar eax, 1
mov dword [edi + 0x34], eax
mov dword [edi + 0x3c], eax
dec eax
mov dword [esi + 0x38], eax
call ebx
mov dword [esi + 0x40], eax
xor esi, esi
inc esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x40608b
Capabilities:
Parse credit card information

Disassembly:
mov eax, 0x41a320
call fcn.00410e40
sub esp, 0xc
mov eax, dword [0x424e6c]
push ebx
push esi
mov ebx, 0x424e6c
push edi
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edi, dword [eax - 0xc]
lea edx, [edi + edi*2 + 3]
lea esi, [ebp - 0x18]
call fcn.00405413
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
xor edx, edx
push edx
push edx
lea eax, [edi + edi*2 + 3]
push eax
push dword [ebp - 0x10]
push edi
push ecx
push edx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x14], eax
mov eax, dword [0x424e6c]
mov ecx, ebx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp + 8], edi
mov esi, dword [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00405288
xor esi, esi
cmp dword [ebp - 0x14], esi
jle 0x406224
mov edx, dword [ebp - 0x10]
lea ebx, [esi + edx]
mov cl, byte [ebx]
cmp cl, 0x61
jl 0x40612a
cmp cl, 0x7a
jle 0x406211
cmp cl, 0x41
jl 0x406138
cmp cl, 0x5a
jle 0x406211
cmp cl, 0x30
jl 0x406146
cmp cl, 0x39
jle 0x406211
cmp cl, 0x3a
je 0x406211
cmp cl, 0x2f
je 0x406211
cmp cl, 0x2e
je 0x406211
cmp cl, 0x5f
je 0x406211
cmp cl, 0x2d
je 0x406211
cmp cl, 0x3d
je 0x406211
cmp cl, 0x3f
je 0x406211
cmp cl, 0x26
je 0x406211
cmp cl, 0x25
jne 0x4061eb
mov al, byte [esi + edx + 1]
cmp al, 0x30
jl 0x4061a7
cmp al, 0x39
jle 0x4061b7
cmp al, 0x30
jl 0x4061a7
cmp al, 0x39
jle 0x4061b7
cmp al, 0x41
jl 0x4061af
cmp al, 0x46
jle 0x4061b7
cmp al, 0x61
jl 0x4061eb
cmp al, 0x66
jg 0x4061eb
mov al, byte [esi + edx + 2]
cmp al, 0x30
jl 0x4061cb
cmp al, 0x39
jle 0x4061db
cmp al, 0x30
jl 0x4061cb
cmp al, 0x39
jle 0x4061db
cmp al, 0x41
jl 0x4061d3
cmp al, 0x46
jle 0x4061db
cmp al, 0x61
jl 0x4061eb
cmp al, 0x66
jg 0x4061eb
mov eax, dword [ebp + 0xc]
push 3
push ebx
call fcn.00406560
add esi, 3
jmp 0x40621b
movzx eax, cl
push eax
lea eax, [ebp + 8]
push str.___X
push eax
call fcn.00405275
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add esp, 0xc
push dword [edi - 0xc]
push edi
call fcn.00406560
jmp 0x40621a
mov eax, dword [ebp + 0xc]
push ecx
call fcn.0040662f
inc esi
cmp esi, dword [ebp - 0x14]
jl 0x406114
lea eax, [edi - 0x10]
call fcn.0040252d
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040252d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x4066b1
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
lea eax, [esi + 0x3c]
mov dword [esi + 4], eax
lea eax, [esi + 0x4c]
mov dword [esi + 0x10], eax
lea eax, [esi + 0x14c]
mov dword [esi + 0x1c], eax
push 0x40
pop eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], eax
lea eax, [esi + 0x24c]
mov dword [esi + 0x2c], eax
lea ecx, [esi + 0x1cc]
lea eax, [esi + 0x44c]
mov dword [esi], 0x3c
mov dword [esi + 8], 8
mov dword [esi + 0x14], 0x80
mov dword [esi + 0x24], ecx
mov dword [esi + 0x30], 0x100
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], 0x1da
jge 0x406721
push dword [ebp + 8]
call fcn.0040e73d
pop ecx
mov dword [ebp + 0xc], eax
push esi
push 0x90000000
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
pop ebp
ret 8

Function at 0x406737
Capabilities:
Check internet connectivity via wininet
Create http request

Disassembly:
mov eax, 0x41a25b
call fcn.00410e40
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
lea esi, [edi + 0xc]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
call fcn.0040239e
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
test eax, eax
je 0x40676c
push 0x41eadc
jmp 0x406787
push ebx
push ebx
push ebx
push ebx
push dword [0x424ccc]
call dword [sym.imp.WININET.dll_InternetOpenW]
cmp eax, ebx
mov dword [edi], eax
jne 0x406794
push str.InternetOpen
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
call fcn.00406b4a
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x40687b
Capabilities:
Check http status code
Read data from internet
Receive data

Disassembly:
push ebp
lea ebp, [esp - 0x390]
sub esp, 0x410
mov eax, dword [0x4240b8]
push ebx
xor ebx, ebx
cmp dword [esi + 8], ebx
mov dword [ebp + 0x38c], eax
jne 0x4068a3
xor eax, eax
jmp 0x406983
push edi
mov edi, dword [sym.imp.WININET.dll_HttpSendRequestW]
push dword [ebp + 0x3a4]
push dword [ebp + 0x3a0]
push dword [ebp + 0x39c]
push dword [ebp + 0x398]
push dword [esi + 8]
call edi
test eax, eax
jne 0x4068fe
push 4
lea eax, [ebp - 0x80]
push eax
push 0x1f
push dword [esi + 8]
mov dword [ebp - 0x80], 0x8440f180
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push dword [ebp + 0x3a4]
push dword [ebp + 0x3a0]
push ebx
push ebx
push dword [esi + 8]
call edi
test eax, eax
je 0x406999
push ebx
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0x20000013
push dword [esi + 8]
mov dword [ebp - 0x78], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x4069af
cmp dword [ebp - 0x7c], 0x191
je 0x406936
cmp dword [ebp - 0x7c], 0x197
jne 0x406978
lea eax, [ebp - 0x78]
push eax
push 0x400
lea eax, [ebp - 0x74]
push eax
push dword [esi + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x406955
cmp dword [ebp - 0x78], ebx
jne 0x406936
push ebx
push 7
push 0x2eee
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.WININET.dll_InternetErrorDlg]
cmp eax, 0x2f00
je 0x4068aa
mov ecx, esi
call fcn.00406cc2
xor eax, eax
inc eax
pop edi
mov ecx, dword [ebp + 0x38c]
pop ebx
call fcn.00410647
add ebp, 0x390
leave
ret 0x10
push str.HttpSendRequest
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
call fcn.00406b4a
xor eax, eax
jmp 0x406982
push str.HttpQueryInfo
jmp 0x40699e
Function at 0x4069b6
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x4240b8]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
push edi
xor edi, edi
cmp eax, edi
jne 0x4069d9
xor eax, eax
jmp 0x406a80
push edi
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x44]
push ecx
push 5
push eax
mov dword [ebp - 0x48], 0x20
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x406a08
lea eax, [ebp - 0x44]
push eax
call fcn.0040f24a
add eax, 8
pop ecx
and eax, 0xfffffff8
jmp 0x406a0d
mov eax, 0x400
push esi
mov esi, dword [ebp + 0xc]
mov edx, eax
mov dword [ebp - 0x48], eax
call fcn.00405413
mov esi, eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x48]
push esi
push dword [ebx + 8]
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x406a67
cmp dword [ebp - 0x4c], 0
je 0x406a6d
add edi, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x48]
cmp edx, edi
ja 0x406a56
mov esi, dword [ebp + 0xc]
mov eax, edi
shr eax, 1
add edx, eax
mov dword [ebp - 0x48], edx
call fcn.00405413
mov edx, dword [ebp - 0x48]
mov esi, eax
lea eax, [ebp - 0x4c]
push eax
sub edx, edi
push edx
lea eax, [edi + esi]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 8]
call ebx
test eax, eax
jne 0x406a30
mov esi, dword [ebp + 0xc]
mov eax, edi
call fcn.004065ac
xor eax, eax
cmp eax, edi
sbb eax, eax
neg eax
pop esi
mov ecx, dword [ebp - 4]
pop edi
pop ebx
call fcn.00410647
leave
ret 8

Function at 0x406a8e
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4240b8]
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi], edi
mov dword [ebp - 4], eax
je 0x406ae0
call fcn.00404c8c
call fcn.00404c79
push edi
push 0x84400000
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
cmp eax, edi
mov dword [esi + 8], eax
jne 0x406ae4
push str.InternetOpenUrl
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
call fcn.00406b4a
xor eax, eax
jmp 0x406b3c
push ebx
push 0x20
pop ebx
push edi
mov edi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x44]
push ecx
push 0x13
push eax
mov dword [ebp - 0x48], ebx
call edi
test eax, eax
je 0x406b38
lea eax, [ebp - 0x44]
push eax
call fcn.0040f24a
cmp eax, 0x194
pop ecx
je 0x406b38
push 0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
push 5
push dword [esi + 8]
mov dword [ebp - 0x48], ebx
call edi
test eax, eax
je 0x406b38
lea eax, [ebp - 0x44]
push eax
call fcn.0040f24a
pop ecx
jmp 0x406b3b
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.00410647
leave
ret 0xc
Function at 0x406f65
Capabilities:
Create directory
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4240b8]
push dword [ebp + 8]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x406f8b
or eax, 0xffffffff
jmp 0x407051
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str._acctdata
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
xor ebx, ebx
push ebx
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x406fca
push 0xfffffffffffffffe
pop eax
jmp 0x407050
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 1
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x218], ebx
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 1
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x407019
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.AllocateAndInitializeSid_Error__u_n
call fcn.0040f7c8
pop ecx
pop ecx
push 0xfffffffffffffffd
jmp 0x406fc4
push 3
push 2
push 0x10000000
push ebx
push dword [ebp - 0x218]
lea eax, [ebp - 0x214]
push 1
push eax
call fcn.00406e85
cmp eax, ebx
jne 0x407050
lea eax, [ebp - 0x214]
push eax
push str.Succeed_CreateDirectory__s._n
call fcn.0040f7c8
pop ecx
pop ecx
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
call fcn.00410647
leave
ret 4
Function at 0x40712d
Capabilities:
Create directory
Get common file path
Get program files directory

Disassembly:
mov eax, 0x41a306
call fcn.00410e40
sub esp, 0x210
mov eax, dword [0x4240b8]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], eax
mov esi, ecx
mov dword [ebp - 0x21c], edi
mov eax, dword [0x424e6c]
mov ecx, 0x424e6c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
cmp esi, edi
mov dword [ebp - 4], edi
jne 0x407173
mov esi, 0x425f10
push dword [esi]
push dword [ebp + 8]
push str.GetMiniInstallPath_bCreateDir__d__nMiniType_d_n
call fcn.00409a2f
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [esi]
call fcn.0040a9f4
test eax, eax
je 0x4071d1
lea eax, [ebp - 0x218]
push eax
call fcn.0040a96e
test eax, eax
pop ecx
je 0x4071d1
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00404b1b
mov esi, dword [ebp - 0x21c]
push esi
push str.GetMiniInstallPath_stdDir__s_n
jmp 0x407259
cmp dword [esi], edi
jne 0x4071e8
lea esi, [ebp - 0x21c]
call fcn.00404adb
mov esi, dword [ebp - 0x21c]
jmp 0x407260
push edi
push 0x26
lea eax, [ebp - 0x218]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.Dianji
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
cmp dword [ebp + 8], edi
je 0x40721e
push edi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push dword [esi]
lea eax, [ebp - 0x218]
push 0x425a88
push eax
lea eax, [ebp - 0x21c]
push str._sL_sMT_d_
push eax
call fcn.004023bd
mov esi, dword [ebp - 0x21c]
add esp, 0x14
cmp dword [ebp + 8], edi
je 0x407253
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push esi
push str.GetMiniInstallPath_miniDir__s_n
call fcn.00409a2f
pop ecx
pop ecx
add esi, 0xfffffff0
mov eax, esi
call fcn.00404860
add eax, 0x10
mov dword [ebx], eax
mov eax, esi
call fcn.0040252d
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov eax, ebx
pop esi
call fcn.00410647
leave
ret
Function at 0x40728e
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x41a3f0
call fcn.00410e40
sub esp, 0x214
mov eax, dword [0x4240b8]
push esi
mov esi, ecx
cmp esi, 1
mov dword [ebp - 0x10], eax
je 0x407366
cmp esi, 2
je 0x407366
mov eax, dword [0x424e6c]
push ebx
push edi
mov ecx, 0x424e6c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
xor eax, eax
cmp esi, eax
mov dword [ebp - 4], eax
lea ebx, [ebp - 0x220]
push eax
jne 0x4072f1
xor ecx, ecx
call fcn.0040712d
pop ecx
mov byte [ebp - 4], 1
jmp 0x4072fd
mov ecx, esi
call fcn.0040712d
pop ecx
mov byte [ebp - 4], 2
lea edi, [ebp - 0x21c]
call fcn.004046b6
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
call fcn.0040252d
mov esi, dword [ebp - 0x21c]
cmp dword [esi - 0xc], 0
je 0x407356
push dword [0x424de4]
mov eax, edi
push eax
call fcn.004047d6
mov esi, dword [ebp - 0x21c]
push esi
push 0
push dword [0x424dec]
push dword [0x424de8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor edi, edi
inc edi
cmp eax, edi
je 0x407358
xor edi, edi
lea eax, [esi - 0x10]
call fcn.0040252d
mov eax, edi
pop edi
pop ebx
jmp 0x4073c4
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.0040f24f
pop ecx
pop ecx
push dword [0x424de4]
add eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp esi, 2
lea eax, [ebp - 0x218]
push eax
jne 0x4073aa
push 0
jmp 0x4073af
push 0x41da78
push dword [0x424dec]
push dword [0x424de8]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
call fcn.00410647
leave
ret
Function at 0x4076df
Capabilities:
Copy file
Create process on windows
Create process suspended
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x3ec]
sub esp, 0x46c
mov eax, dword [0x4240b8]
push ebx
push esi
mov dword [ebp + 0x3e8], eax
push 0x104
lea eax, [ebp - 0x28]
push eax
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x28]
push 0x5c
push eax
call fcn.0040f24f
mov ebx, str.LVLV_221.EXE
add eax, 2
push ebx
push eax
call fcn.0040f4f5
add esp, 0x10
test eax, eax
je 0x407834
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 0x1e0]
push eax
call edi
lea eax, [ebp + 0x1e0]
push 0x5c
push eax
call fcn.0040f24f
pop ecx
pop ecx
push ebx
add eax, 2
push eax
call edi
push esi
lea eax, [ebp + 0x1e0]
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0x44
pop edi
push edi
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.0040d9f0
push 0x10
lea eax, [ebp - 0x3c]
push esi
push eax
mov dword [ebp - 0x80], edi
call fcn.0040d9f0
add esp, 0x18
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp + 0x1e0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
pop edi
jne 0x4077fc
push esi
push esi
lea eax, [ebp - 0x2c]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
lea eax, [ebp + 0x1e0]
jne 0x4077df
push eax
push str.RunCloneUpdate_CreateProcess_failed:_s___n
jmp 0x407818
push esi
push dword [ebp - 0x2c]
push eax
push str.RunCloneUpdate_CreateProcess_failed:_s___n_tError:__s_n
call fcn.00409a2f
add esp, 0x10
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x40781f
push dword [ebp - 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x38]
call esi
lea eax, [ebp + 0x1e0]
push eax
push str.RunCloneUpdate_CreateProcess_OK:_s___n
call fcn.00409a2f
pop ecx
pop ecx
push str.__RunCloneUpdate_exit__221___n_n
call fcn.00409a2f
pop ecx
push 0xffffff23
call fcn.0040f475
mov ecx, dword [ebp + 0x3e8]
pop esi
pop ebx
call fcn.00410647
add ebp, 0x3ec
leave
ret

Function at 0x40793e
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4240b8]
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.0040f24f
pop ecx
pop ecx
push str.llsetup.ini
add eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp byte [ebp + 0x10], 0
lea eax, [ebp - 0x20c]
push eax
je 0x4079a5
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x4079b3
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 4]
call fcn.00410647
leave
ret
Function at 0x40880b
Capabilities:
Create process on windows
Set current directory

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x32c
mov eax, dword [0x4240b8]
push ebx
push esi
push edi
push 0x8000
mov dword [ebp + 0x6c], eax
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x31
mov dword [ebp - 0x268], eax
pop ecx
push dword [ebp + 0x78]
xor eax, eax
mov dword [ebp - 0x5c], 0x20
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x264]
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x41ef64
lea eax, [ebp - 0x264]
push eax
call edi
push 0x4259c0
lea eax, [ebp - 0x264]
push eax
call edi
push 0x73
xor ecx, ecx
call fcn.0040705d
xor edi, edi
test eax, eax
pop ecx
je 0x408893
push 0x41ef5c
lea eax, [ebp - 0x5c]
jmp 0x40889b
cmp ebx, edi
je 0x40889e
push ebx
lea eax, [ebp - 0x5a]
push eax
call esi
lea eax, [ebp - 0x5c]
push eax
push str.TryRun_szCmd_s___n
call fcn.00409a2f
push 0x44
pop esi
push esi
lea eax, [ebp - 0x2bc]
push edi
push eax
call fcn.0040d9f0
push 0x10
lea eax, [ebp - 0x278]
push edi
push eax
mov dword [ebp - 0x2bc], esi
call fcn.0040d9f0
add esp, 0x20
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x2bc]
push eax
push dword [ebp + 0x78]
lea eax, [ebp - 0x5c]
push edi
push edi
push edi
push edi
push edi
push eax
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x408918
lea eax, [ebp - 0x264]
push eax
push str.TryRun_CreateProcess_failed:_s___n
call fcn.00409a2f
pop ecx
pop ecx
jmp 0x4089bb
push dword [ebp + 0x7c]
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x290]
push eax
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
mov edi, 0x80
jne 0x408949
mov dword [ebp - 0x290], edi
push dword [ebp - 0x278]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x274]
call esi
mov eax, dword [ebp - 0x290]
cmp eax, 2
je 0x408995
cmp eax, edi
je 0x40897c
cmp eax, 0x103
je 0x408995
cmp eax, 0xc0000135
jne 0x40899e
push eax
lea eax, [ebp - 0x264]
push eax
push str.TryRun_GetExitCodeProcess_failed:_s__Flags0x_x__n
call fcn.00409a2f
add esp, 0xc
xor eax, eax
jmp 0x4089c9
push dword [ebp + 0x78]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push dword [ebp - 0x290]
lea eax, [ebp - 0x264]
push eax
push str.TryRun_CreateProcess_OK:_s_Flags0x_x__n
call fcn.00409a2f
xor edi, edi
add esp, 0xc
inc edi
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov eax, edi
mov ecx, dword [ebp + 0x6c]
pop edi
pop esi
pop ebx
call fcn.00410647
add ebp, 0x70
leave
ret
Function at 0x408b83
Capabilities:
Create directory
Create process on windows
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push ecx
dec eax
push ebx
push esi
push edi
je 0x408c60
dec eax
je 0x408c42
dec eax
je 0x408bf0
dec eax
je 0x408be1
dec eax
je 0x408ba8
xor eax, eax
jmp 0x408cfd
call fcn.0040c8ff
mov esi, 0x426150
call fcn.0040ae52
push str.QuietInstall__SetRegister_n
call fcn.00409a2f
pop ecx
push 1
mov ecx, 0x425f18
call fcn.00404055
push 0
push dword [0x424cd4]
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x408cfa
mov ecx, 0x426150
call fcn.0040a89e
jmp 0x408cfd
test edx, edx
jl 0x408ba1
mov eax, dword [0x425f1c]
test eax, eax
je 0x408ba1
mov ecx, dword [0x425f20]
sub ecx, eax
sar ecx, 2
cmp edx, ecx
jae 0x408ba1
mov edi, edx
shl edi, 2
add eax, edi
mov eax, dword [eax]
mov esi, 0x426150
push esi
push dword [eax + 0x38]
push str.QuietInstall__RunSfxSetup__s_at__s._n
call fcn.00409a2f
mov eax, dword [0x425f1c]
add eax, edi
mov eax, dword [eax]
mov ebx, dword [eax + 0x38]
add esp, 0xc
push esi
call fcn.0040bef3
jmp 0x408cfa
push 0x426150
push 0
push 0
push 0
call fcn.0040c2a2
xor ecx, ecx
test eax, eax
setge cl
mov eax, ecx
jmp 0x408cfd
mov eax, dword [0x425f10]
test eax, eax
je 0x408c95
cmp eax, 0xffffffff
je 0x408c95
push 1
xor ecx, ecx
lea ebx, [ebp - 4]
call fcn.0040712d
mov edi, dword [ebp - 4]
pop ecx
push edi
mov esi, 0x426150
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [edi - 0x10]
call fcn.0040252d
jmp 0x408cd6
push 0
push 0x26
mov esi, 0x426150
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.Dianji
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push esi
call ebx
push 0x41ef64
push esi
call edi
push dword [0x424ccc]
push esi
call edi
push 0
push esi
call ebx
push esi
push str.QuietInstall:_szInstallDir_s_n
call fcn.00409a2f
pop ecx
pop ecx
push 0
mov ecx, 0x425f18
call fcn.00404055
push str.QuietInstall__SaveInstallReadyStatus_n
call fcn.00409a2f
pop ecx
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x409125
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
test edx, edx
jbe 0x409147
push esi
push edi
movzx edi, byte [ecx]
mov esi, eax
shl eax, 8
shr esi, 0x18
or eax, edi
xor eax, dword [esi*4 + 0x41d510]
inc ecx
dec edx
jne 0x40912d
pop edi
pop esi
mov ecx, eax
shr ecx, 0x18
shl eax, 8
xor eax, dword [ecx*4 + 0x41d510]
mov ecx, eax
shr ecx, 0x18
shl eax, 8
xor eax, dword [ecx*4 + 0x41d510]
mov ecx, eax
shr ecx, 0x18
shl eax, 8
xor eax, dword [ecx*4 + 0x41d510]
mov ecx, eax
shr ecx, 0x18
shl eax, 8
xor eax, dword [ecx*4 + 0x41d510]
ret