joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406137
Capabilities:
Parse credit card information

Disassembly:
mov eax, 0x41a400
call fcn.00410f20
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.004053dd
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.00405252
xor esi, esi
cmp dword [ebp - 0x14], esi
jle 0x4062d0
mov edx, dword [ebp - 0x10]
lea ebx, [esi + edx]
mov cl, byte [ebx]
cmp cl, 0x61
jl 0x4061d6
cmp cl, 0x7a
jle 0x4062bd
cmp cl, 0x41
jl 0x4061e4
cmp cl, 0x5a
jle 0x4062bd
cmp cl, 0x30
jl 0x4061f2
cmp cl, 0x39
jle 0x4062bd
cmp cl, 0x3a
je 0x4062bd
cmp cl, 0x2f
je 0x4062bd
cmp cl, 0x2e
je 0x4062bd
cmp cl, 0x5f
je 0x4062bd
cmp cl, 0x2d
je 0x4062bd
cmp cl, 0x3d
je 0x4062bd
cmp cl, 0x3f
je 0x4062bd
cmp cl, 0x26
je 0x4062bd
cmp cl, 0x25
jne 0x406297
mov al, byte [esi + edx + 1]
cmp al, 0x30
jl 0x406253
cmp al, 0x39
jle 0x406263
cmp al, 0x30
jl 0x406253
cmp al, 0x39
jle 0x406263
cmp al, 0x41
jl 0x40625b
cmp al, 0x46
jle 0x406263
cmp al, 0x61
jl 0x406297
cmp al, 0x66
jg 0x406297
mov al, byte [esi + edx + 2]
cmp al, 0x30
jl 0x406277
cmp al, 0x39
jle 0x406287
cmp al, 0x30
jl 0x406277
cmp al, 0x39
jle 0x406287
cmp al, 0x41
jl 0x40627f
cmp al, 0x46
jle 0x406287
cmp al, 0x61
jl 0x406297
cmp al, 0x66
jg 0x406297
mov eax, dword [ebp + 0xc]
push 3
push ebx
call fcn.0040660c
add esi, 3
jmp 0x4062c7
movzx eax, cl
push eax
lea eax, [ebp + 8]
push str.___X
push eax
call fcn.0040523f
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add esp, 0xc
push dword [edi - 0xc]
push edi
call fcn.0040660c
jmp 0x4062c6
mov eax, dword [ebp + 0xc]
push ecx
call fcn.004066db
inc esi
cmp esi, dword [ebp - 0x14]
jl 0x4061c0
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 0x40675d
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], pe_nt_image_headers32
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], 0x1da
jge 0x4067cd
push dword [ebp + 8]
call fcn.0040e7ed
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 0x4067e3
Capabilities:
Check internet connectivity via wininet
Create http request

Disassembly:
mov eax, 0x41a33b
call fcn.00410f20
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 0x406818
push 0x41eb3c
jmp 0x406833
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 0x406840
push str.InternetOpen
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
call fcn.00406bf6
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x406927
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 0x40694f
xor eax, eax
jmp 0x406a2f
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 0x4069aa
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 0x406a45
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 0x406a5b
cmp dword [ebp - 0x7c], 0x191
je 0x4069e2
cmp dword [ebp - 0x7c], 0x197
jne 0x406a24
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 0x406a01
cmp dword [ebp - 0x78], ebx
jne 0x4069e2
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 0x406956
mov ecx, esi
call fcn.00406d6e
xor eax, eax
inc eax
pop edi
mov ecx, dword [ebp + 0x38c]
pop ebx
call fcn.00410727
add ebp, 0x390
leave
ret 0x10
push str.HttpSendRequest
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
call fcn.00406bf6
xor eax, eax
jmp 0x406a2e
push str.HttpQueryInfo
jmp 0x406a4a
Function at 0x406a62
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 0x406a85
xor eax, eax
jmp 0x406b2c
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 0x406ab4
lea eax, [ebp - 0x44]
push eax
call fcn.0040f2fa
add eax, 8
pop ecx
and eax, 0xfffffff8
jmp 0x406ab9
mov eax, 0x400
push esi
mov esi, dword [ebp + 0xc]
mov edx, eax
mov dword [ebp - 0x48], eax
call fcn.004053dd
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 0x406b13
cmp dword [ebp - 0x4c], 0
je 0x406b19
add edi, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x48]
cmp edx, edi
ja 0x406b02
mov esi, dword [ebp + 0xc]
mov eax, edi
shr eax, 1
add edx, eax
mov dword [ebp - 0x48], edx
call fcn.004053dd
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 0x406adc
mov esi, dword [ebp + 0xc]
mov eax, edi
call fcn.00406658
xor eax, eax
cmp eax, edi
sbb eax, eax
neg eax
pop esi
mov ecx, dword [ebp - 4]
pop edi
pop ebx
call fcn.00410727
leave
ret 8

Function at 0x406b3a
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 0x406b8c
call fcn.00404c5b
call fcn.00404c48
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 0x406b90
push str.InternetOpenUrl
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
call fcn.00406bf6
xor eax, eax
jmp 0x406be8
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 0x406be4
lea eax, [ebp - 0x44]
push eax
call fcn.0040f2fa
cmp eax, 0x194
pop ecx
je 0x406be4
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 0x406be4
lea eax, [ebp - 0x44]
push eax
call fcn.0040f2fa
pop ecx
jmp 0x406be7
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.00410727
leave
ret 0xc
Function at 0x407011
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 0x407037
or eax, 0xffffffff
jmp 0x4070fd
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 0x407076
push 0xfffffffffffffffe
pop eax
jmp 0x4070fc
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 0x4070c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.AllocateAndInitializeSid_Error__u_n
call fcn.0040f6e3
pop ecx
pop ecx
push 0xfffffffffffffffd
jmp 0x407070
push 3
push 2
push 0x10000000
push ebx
push dword [ebp - 0x218]
lea eax, [ebp - 0x214]
push 1
push eax
call fcn.00406f31
cmp eax, ebx
jne 0x4070fc
lea eax, [ebp - 0x214]
push eax
push str.Succeed_CreateDirectory__s._n
call fcn.0040f6e3
pop ecx
pop ecx
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
call fcn.00410727
leave
ret 4
Function at 0x4071d9
Capabilities:
Create directory
Get common file path
Get program files directory

Disassembly:
mov eax, 0x41a3e6
call fcn.00410f20
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 0x40721f
mov esi, 0x425f10
push dword [esi]
push dword [ebp + 8]
push str.GetMiniInstallPath_bCreateDir__d__nMiniType_d_n
call fcn.00409adb
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [esi]
call fcn.0040aaa0
test eax, eax
je 0x40727d
lea eax, [ebp - 0x218]
push eax
call fcn.0040aa1a
test eax, eax
pop ecx
je 0x40727d
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00404b01
mov esi, dword [ebp - 0x21c]
push esi
push str.GetMiniInstallPath_stdDir__s_n
jmp 0x407305
cmp dword [esi], edi
jne 0x407294
lea esi, [ebp - 0x21c]
call fcn.00404ac1
mov esi, dword [ebp - 0x21c]
jmp 0x40730c
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 0x4072ca
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 0x4072ff
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push esi
push str.GetMiniInstallPath_miniDir__s_n
call fcn.00409adb
pop ecx
pop ecx
add esi, 0xfffffff0
mov eax, esi
call fcn.00404846
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.00410727
leave
ret
Function at 0x40733a
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x41a4d0
call fcn.00410f20
sub esp, 0x214
mov eax, dword [0x4240b8]
push esi
mov esi, ecx
cmp esi, 1
mov dword [ebp - 0x10], eax
je 0x407412
cmp esi, 2
je 0x407412
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 0x40739d
xor ecx, ecx
call fcn.004071d9
pop ecx
mov byte [ebp - 4], 1
jmp 0x4073a9
mov ecx, esi
call fcn.004071d9
pop ecx
mov byte [ebp - 4], 2
lea edi, [ebp - 0x21c]
call fcn.0040466e
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 0x407402
push dword [0x424de4]
mov eax, edi
push eax
call fcn.004047bc
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 0x407404
xor edi, edi
lea eax, [esi - 0x10]
call fcn.0040252d
mov eax, edi
pop edi
pop ebx
jmp 0x407470
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.0040f2ff
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 0x407456
push 0
jmp 0x40745b
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.00410727
leave
ret
Function at 0x40778b
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.0040f2ff
mov ebx, str.LVLV_221.EXE
add eax, 2
push ebx
push eax
call fcn.0040f3de
add esp, 0x10
test eax, eax
je 0x4078e0
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.0040f2ff
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.0040daa0
push 0x10
lea eax, [ebp - 0x3c]
push esi
push eax
mov dword [ebp - 0x80], edi
call fcn.0040daa0
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 0x4078a8
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 0x40788b
push eax
push str.RunCloneUpdate_CreateProcess_failed:_s___n
jmp 0x4078c4
push esi
push dword [ebp - 0x2c]
push eax
push str.RunCloneUpdate_CreateProcess_failed:_s___n_tError:__s_n
call fcn.00409adb
add esp, 0x10
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x4078cb
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.00409adb
pop ecx
pop ecx
push str.__RunCloneUpdate_exit__221___n_n
call fcn.00409adb
pop ecx
push 0xffffff23
call fcn.0040f8d0
mov ecx, dword [ebp + 0x3e8]
pop esi
pop ebx
call fcn.00410727
add ebp, 0x3ec
leave
ret

Function at 0x4079ea
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.0040f2ff
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 0x407a51
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 0x407a5f
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 4]
call fcn.00410727
leave
ret
Function at 0x4088b7
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 0x41efc4
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.00407109
xor edi, edi
test eax, eax
pop ecx
je 0x40893f
push 0x41efbc
lea eax, [ebp - 0x5c]
jmp 0x408947
cmp ebx, edi
je 0x40894a
push ebx
lea eax, [ebp - 0x5a]
push eax
call esi
lea eax, [ebp - 0x5c]
push eax
push str.TryRun_szCmd_s___n
call fcn.00409adb
push 0x44
pop esi
push esi
lea eax, [ebp - 0x2bc]
push edi
push eax
call fcn.0040daa0
push 0x10
lea eax, [ebp - 0x278]
push edi
push eax
mov dword [ebp - 0x2bc], esi
call fcn.0040daa0
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 0x4089c4
lea eax, [ebp - 0x264]
push eax
push str.TryRun_CreateProcess_failed:_s___n
call fcn.00409adb
pop ecx
pop ecx
jmp 0x408a67
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 0x4089f5
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 0x408a41
cmp eax, edi
je 0x408a28
cmp eax, 0x103
je 0x408a41
cmp eax, 0xc0000135
jne 0x408a4a
push eax
lea eax, [ebp - 0x264]
push eax
push str.TryRun_GetExitCodeProcess_failed:_s__Flags0x_x__n
call fcn.00409adb
add esp, 0xc
xor eax, eax
jmp 0x408a75
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.00409adb
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.00410727
add ebp, 0x70
leave
ret
Function at 0x408c2f
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 0x408d0c
dec eax
je 0x408cee
dec eax
je 0x408c9c
dec eax
je 0x408c8d
dec eax
je 0x408c54
xor eax, eax
jmp 0x408da9
call fcn.0040c9aa
mov esi, 0x426150
call fcn.0040aefe
push str.QuietInstall__SetRegister_n
call fcn.00409adb
pop ecx
push 1
mov ecx, 0x425f18
call fcn.00403fc5
push 0
push dword [0x424cd4]
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x408da6
mov ecx, 0x426150
call fcn.0040a94a
jmp 0x408da9
test edx, edx
jl 0x408c4d
mov eax, dword [0x425f1c]
test eax, eax
je 0x408c4d
mov ecx, dword [0x425f20]
sub ecx, eax
sar ecx, 2
cmp edx, ecx
jae 0x408c4d
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.00409adb
mov eax, dword [0x425f1c]
add eax, edi
mov eax, dword [eax]
mov ebx, dword [eax + 0x38]
add esp, 0xc
push esi
call fcn.0040bf9e
jmp 0x408da6
push 0x426150
push 0
push 0
push 0
call fcn.0040c34d
xor ecx, ecx
test eax, eax
setge cl
mov eax, ecx
jmp 0x408da9
mov eax, dword [0x425f10]
test eax, eax
je 0x408d41
cmp eax, 0xffffffff
je 0x408d41
push 1
xor ecx, ecx
lea ebx, [ebp - 4]
call fcn.004071d9
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 0x408d82
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 0x41efc4
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.00409adb
pop ecx
pop ecx
push 0
mov ecx, 0x425f18
call fcn.00403fc5
push str.QuietInstall__SaveInstallReadyStatus_n
call fcn.00409adb
pop ecx
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4091d1
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
test edx, edx
jbe 0x4091f3
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 0x4091d9
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