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

Disassembly:
mov eax, 0x41dee6
call fcn.004132a4
sub esp, 0xc
mov eax, dword [0x42a1ac]
push ebx
push esi
mov ebx, 0x42a1ac
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.0040602f
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 [0x42a1ac]
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.00405fcd
xor esi, esi
cmp dword [ebp - 0x14], esi
jle 0x406ebf
mov edx, dword [ebp - 0x10]
lea ebx, [esi + edx]
mov cl, byte [ebx]
cmp cl, 0x61
jl 0x406dc5
cmp cl, 0x7a
jle 0x406eac
cmp cl, 0x41
jl 0x406dd3
cmp cl, 0x5a
jle 0x406eac
cmp cl, 0x30
jl 0x406de1
cmp cl, 0x39
jle 0x406eac
cmp cl, 0x3a
je 0x406eac
cmp cl, 0x2f
je 0x406eac
cmp cl, 0x2e
je 0x406eac
cmp cl, 0x5f
je 0x406eac
cmp cl, 0x2d
je 0x406eac
cmp cl, 0x3d
je 0x406eac
cmp cl, 0x3f
je 0x406eac
cmp cl, 0x26
je 0x406eac
cmp cl, 0x25
jne 0x406e86
mov al, byte [esi + edx + 1]
cmp al, 0x30
jl 0x406e42
cmp al, 0x39
jle 0x406e52
cmp al, 0x30
jl 0x406e42
cmp al, 0x39
jle 0x406e52
cmp al, 0x41
jl 0x406e4a
cmp al, 0x46
jle 0x406e52
cmp al, 0x61
jl 0x406e86
cmp al, 0x66
jg 0x406e86
mov al, byte [esi + edx + 2]
cmp al, 0x30
jl 0x406e66
cmp al, 0x39
jle 0x406e76
cmp al, 0x30
jl 0x406e66
cmp al, 0x39
jle 0x406e76
cmp al, 0x41
jl 0x406e6e
cmp al, 0x46
jle 0x406e76
cmp al, 0x61
jl 0x406e86
cmp al, 0x66
jg 0x406e86
mov eax, dword [ebp + 0xc]
push 3
push ebx
call fcn.0040728f
add esi, 3
jmp 0x406eb6
movzx eax, cl
push eax
lea eax, [ebp + 8]
push str.___X
push eax
call fcn.00405c30
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add esp, 0xc
push dword [edi - 0xc]
push edi
call fcn.0040728f
jmp 0x406eb5
mov eax, dword [ebp + 0xc]
push ecx
call fcn.0040735e
inc esi
cmp esi, dword [ebp - 0x14]
jl 0x406daf
lea eax, [edi - 0x10]
call fcn.00402528
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00402528
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x407388
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 0x4073f8
push dword [ebp + 8]
call fcn.004108ad
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 0x40740e
Capabilities:
Check internet connectivity via wininet
Create http request

Disassembly:
mov eax, 0x41de3b
call fcn.004132a4
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.00402398
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
test eax, eax
je 0x407443
push 0x423404
jmp 0x40745e
push ebx
push ebx
push ebx
push ebx
push dword [0x429ffc]
call dword [sym.imp.WININET.dll_InternetOpenW]
cmp eax, ebx
mov dword [edi], eax
jne 0x40746b
push str.InternetOpen
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
call fcn.00407821
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x407552
Capabilities:
Check http status code
Read data from internet
Receive data

Disassembly:
push ebp
lea ebp, [esp - 0x390]
sub esp, 0x410
mov eax, dword [0x4290c8]
push ebx
xor ebx, ebx
cmp dword [esi + 8], ebx
mov dword [ebp + 0x38c], eax
jne 0x40757a
xor eax, eax
jmp 0x40765a
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 0x4075d5
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 0x407670
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 0x407686
cmp dword [ebp - 0x7c], 0x191
je 0x40760d
cmp dword [ebp - 0x7c], 0x197
jne 0x40764f
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 0x40762c
cmp dword [ebp - 0x78], ebx
jne 0x40760d
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 0x407581
mov ecx, esi
call fcn.00407999
xor eax, eax
inc eax
pop edi
mov ecx, dword [ebp + 0x38c]
pop ebx
call fcn.00412aab
add ebp, 0x390
leave
ret 0x10
push str.HttpSendRequest
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
call fcn.00407821
xor eax, eax
jmp 0x407659
push str.HttpQueryInfo
jmp 0x407675
Function at 0x40768d
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x4290c8]
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 0x4076b0
xor eax, eax
jmp 0x407757
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 0x4076df
lea eax, [ebp - 0x44]
push eax
call fcn.004114ae
add eax, 8
pop ecx
and eax, 0xfffffff8
jmp 0x4076e4
mov eax, 0x400
push esi
mov esi, dword [ebp + 0xc]
mov edx, eax
mov dword [ebp - 0x48], eax
call fcn.0040602f
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 0x40773e
cmp dword [ebp - 0x4c], 0
je 0x407744
add edi, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x48]
cmp edx, edi
ja 0x40772d
mov esi, dword [ebp + 0xc]
mov eax, edi
shr eax, 1
add edx, eax
mov dword [ebp - 0x48], edx
call fcn.0040602f
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 0x407707
mov esi, dword [ebp + 0xc]
mov eax, edi
call fcn.004072db
xor eax, eax
cmp eax, edi
sbb eax, eax
neg eax
pop esi
mov ecx, dword [ebp - 4]
pop edi
pop ebx
call fcn.00412aab
leave
ret 8

Function at 0x407765
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4290c8]
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi], edi
mov dword [ebp - 4], eax
je 0x4077b7
call fcn.00405151
call fcn.0040513e
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 0x4077bb
push str.InternetOpenUrl
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
call fcn.00407821
xor eax, eax
jmp 0x407813
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 0x40780f
lea eax, [ebp - 0x44]
push eax
call fcn.004114ae
cmp eax, 0x194
pop ecx
je 0x40780f
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 0x40780f
lea eax, [ebp - 0x44]
push eax
call fcn.004114ae
pop ecx
jmp 0x407812
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.00412aab
leave
ret 0xc
Function at 0x407c3c
Capabilities:
Create directory
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4290c8]
push dword [ebp + 8]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x407c62
or eax, 0xffffffff
jmp 0x407d28
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 0x407ca1
push 0xfffffffffffffffe
pop eax
jmp 0x407d27
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 0x407cf0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.AllocateAndInitializeSid_Error__u_n
call fcn.00411830
pop ecx
pop ecx
push 0xfffffffffffffffd
jmp 0x407c9b
push 3
push 2
push 0x10000000
push ebx
push dword [ebp - 0x218]
lea eax, [ebp - 0x214]
push 1
push eax
call fcn.00407b5c
cmp eax, ebx
jne 0x407d27
lea eax, [ebp - 0x214]
push eax
push str.Succeed_CreateDirectory__s._n
call fcn.00411830
pop ecx
pop ecx
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
call fcn.00412aab
leave
ret 4
Function at 0x407e04
Capabilities:
Create directory
Get common file path
Get program files directory

Disassembly:
mov eax, 0x41decc
call fcn.004132a4
sub esp, 0x210
mov eax, dword [0x4290c8]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], eax
mov esi, ecx
mov dword [ebp - 0x21c], edi
mov eax, dword [0x42a1ac]
mov ecx, 0x42a1ac
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
cmp esi, edi
mov dword [ebp - 4], edi
jne 0x407e4a
mov esi, 0x42b460
push dword [esi]
push dword [ebp + 8]
push str.GetMiniInstallPath_bCreateDir__d__nMiniType_d_n
call fcn.0040b9f0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [esi]
call fcn.0040caf3
test eax, eax
je 0x407ea8
lea eax, [ebp - 0x218]
push eax
call fcn.0040ca6d
test eax, eax
pop ecx
je 0x407ea8
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00404fea
mov esi, dword [ebp - 0x21c]
push esi
push str.GetMiniInstallPath_stdDir__s_n
jmp 0x407f30
cmp dword [esi], edi
jne 0x407ebf
lea esi, [ebp - 0x21c]
call fcn.00404faa
mov esi, dword [ebp - 0x21c]
jmp 0x407f37
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 0x407ef5
push edi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push dword [esi]
lea eax, [ebp - 0x218]
push 0x42afd8
push eax
lea eax, [ebp - 0x21c]
push str._sL_sMT_d_
push eax
call fcn.004023ad
mov esi, dword [ebp - 0x21c]
add esp, 0x14
cmp dword [ebp + 8], edi
je 0x407f2a
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push esi
push str.GetMiniInstallPath_miniDir__s_n
call fcn.0040b9f0
pop ecx
pop ecx
add esi, 0xfffffff0
mov eax, esi
call fcn.00404cef
add eax, 0x10
mov dword [ebx], eax
mov eax, esi
call fcn.00402528
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov eax, ebx
pop esi
call fcn.00412aab
leave
ret
Function at 0x407f65
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x41dfce
call fcn.004132a4
sub esp, 0x214
mov eax, dword [0x4290c8]
push esi
mov esi, ecx
cmp esi, 1
mov dword [ebp - 0x10], eax
je 0x40803d
cmp esi, 2
je 0x40803d
mov eax, dword [0x42a1ac]
push ebx
push edi
mov ecx, 0x42a1ac
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 0x407fc8
xor ecx, ecx
call fcn.00407e04
pop ecx
mov byte [ebp - 4], 1
jmp 0x407fd4
mov ecx, esi
call fcn.00407e04
pop ecx
mov byte [ebp - 4], 2
lea edi, [ebp - 0x21c]
call fcn.00404b4e
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
call fcn.00402528
mov esi, dword [ebp - 0x21c]
cmp dword [esi - 0xc], 0
je 0x40802d
push dword [0x42a11c]
mov eax, edi
push eax
call fcn.00404c65
mov esi, dword [ebp - 0x21c]
push esi
push 0
push dword [0x42a124]
push dword [0x42a120]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor edi, edi
inc edi
cmp eax, edi
je 0x40802f
xor edi, edi
lea eax, [esi - 0x10]
call fcn.00402528
mov eax, edi
pop edi
pop ebx
jmp 0x40809b
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.00410e35
pop ecx
pop ecx
push dword [0x42a11c]
add eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp esi, 2
lea eax, [ebp - 0x218]
push eax
jne 0x408081
push 0
jmp 0x408086
push 0x421df8
push dword [0x42a124]
push dword [0x42a120]
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.00412aab
leave
ret
Function at 0x40838e
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 [0x4290c8]
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.00410e35
mov ebx, str.LVLV_221.EXE
add eax, 2
push ebx
push eax
call fcn.0041155d
add esp, 0x10
test eax, eax
je 0x4084e3
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.00410e35
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.0040fb60
push 0x10
lea eax, [ebp - 0x3c]
push esi
push eax
mov dword [ebp - 0x80], edi
call fcn.0040fb60
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 0x4084ab
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 0x40848e
push eax
push str.RunCloneUpdate_CreateProcess_failed:_s___n
jmp 0x4084c7
push esi
push dword [ebp - 0x2c]
push eax
push str.RunCloneUpdate_CreateProcess_failed:_s___n_tError:__s_n
call fcn.0040b9f0
add esp, 0x10
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x4084ce
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.0040b9f0
pop ecx
pop ecx
push str.__RunCloneUpdate_exit__221___n_n
call fcn.0040b9f0
pop ecx
push 0xffffff23
call fcn.00411a1d
mov ecx, dword [ebp + 0x3e8]
pop esi
pop ebx
call fcn.00412aab
add ebp, 0x3ec
leave
ret

Function at 0x4085ed
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4290c8]
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.00410e35
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 0x408654
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 0x408662
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 4]
call fcn.00412aab
leave
ret
Function at 0x4098d2
Capabilities:
Create thread

Disassembly:
push esi
xor esi, esi
push esi
push esi
push dword [esp + 0x10]
push 0x4097dd
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x4098fa
push esi
push esi
push 2
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
ret

Function at 0x4098fc
Capabilities:
Create process on windows
Set current directory

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x32c
mov eax, dword [0x4290c8]
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 0x423834
lea eax, [ebp - 0x264]
push eax
call edi
push 0x42af10
lea eax, [ebp - 0x264]
push eax
call edi
push 0x73
xor ecx, ecx
call fcn.00407d34
xor edi, edi
test eax, eax
pop ecx
je 0x409984
push 0x42382c
lea eax, [ebp - 0x5c]
jmp 0x40998c
cmp ebx, edi
je 0x40998f
push ebx
lea eax, [ebp - 0x5a]
push eax
call esi
lea eax, [ebp - 0x5c]
push eax
push str.TryRun_szCmd_s___n
call fcn.0040b9f0
push 0x44
pop esi
push esi
lea eax, [ebp - 0x2bc]
push edi
push eax
call fcn.0040fb60
push 0x10
lea eax, [ebp - 0x278]
push edi
push eax
mov dword [ebp - 0x2bc], esi
call fcn.0040fb60
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 0x409a09
lea eax, [ebp - 0x264]
push eax
push str.TryRun_CreateProcess_failed:_s___n
call fcn.0040b9f0
pop ecx
pop ecx
jmp 0x409aac
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 0x409a3a
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 0x409a86
cmp eax, edi
je 0x409a6d
cmp eax, 0x103
je 0x409a86
cmp eax, 0xc0000135
jne 0x409a8f
push eax
lea eax, [ebp - 0x264]
push eax
push str.TryRun_GetExitCodeProcess_failed:_s__Flags0x_x__n
call fcn.0040b9f0
add esp, 0xc
xor eax, eax
jmp 0x409aba
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.0040b9f0
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.00412aab
add ebp, 0x70
leave
ret
Function at 0x409c6e
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 esi
push edi
je 0x409d49
dec eax
je 0x409d2b
dec eax
je 0x409cda
dec eax
je 0x409ccb
dec eax
je 0x409c92
xor eax, eax
jmp 0x409de8
call fcn.0040ea6e
mov esi, 0x42b8c0
call fcn.0040cf51
push str.QuietInstall__SetRegister_n
call fcn.0040b9f0
pop ecx
push 1
mov ecx, 0x42b688
call fcn.004043c2
push 0
push dword [0x42a004]
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x409de5
mov ecx, 0x42b8c0
call fcn.0040c99d
jmp 0x409de8
test edx, edx
jl 0x409c8b
mov eax, dword [0x42b68c]
test eax, eax
je 0x409c8b
mov ecx, dword [0x42b690]
sub ecx, eax
sar ecx, 2
cmp edx, ecx
jae 0x409c8b
mov esi, edx
shl esi, 2
add eax, esi
mov eax, dword [eax]
mov edi, 0x42b8c0
push edi
push dword [eax + 0x38]
push str.QuietInstall__RunSfxSetup__s_at__s._n
call fcn.0040b9f0
mov eax, dword [0x42b68c]
add eax, esi
mov eax, dword [eax]
mov eax, dword [eax + 0x38]
add esp, 0xc
call fcn.0040e0d3
jmp 0x409de5
push 0x42b8c0
push 0
push 0
push 0
call fcn.0040e409
xor ecx, ecx
test eax, eax
setge cl
mov eax, ecx
jmp 0x409de8
mov eax, dword [0x42b460]
test eax, eax
push ebx
je 0x409d7f
cmp eax, 0xffffffff
je 0x409d7f
push 1
xor ecx, ecx
lea ebx, [ebp - 4]
call fcn.00407e04
mov esi, dword [ebp - 4]
pop ecx
push esi
mov edi, 0x42b8c0
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esi - 0x10]
call fcn.00402528
jmp 0x409dc0
push 0
push 0x26
mov edi, 0x42b8c0
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.Dianji
push edi
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push edi
call ebx
push 0x423834
push edi
call esi
push dword [0x429ffc]
push edi
call esi
push 0
push edi
call ebx
push edi
push str.QuietInstall:_szInstallDir_s_n
call fcn.0040b9f0
pop ecx
pop ecx
push 0
mov ecx, 0x42b688
call fcn.004043c2
push str.QuietInstall__SaveInstallReadyStatus_n
call fcn.0040b9f0
pop ecx
pop ebx
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

Function at 0x40a208
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
test edx, edx
jbe 0x40a22a
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 + 0x421600]
inc ecx
dec edx
jne 0x40a210
pop edi
pop esi
mov ecx, eax
shr ecx, 0x18
shl eax, 8
xor eax, dword [ecx*4 + 0x421600]
mov ecx, eax
shr ecx, 0x18
shl eax, 8
xor eax, dword [ecx*4 + 0x421600]
mov ecx, eax
shr ecx, 0x18
shl eax, 8
xor eax, dword [ecx*4 + 0x421600]
mov ecx, eax
shr ecx, 0x18
shl eax, 8
xor eax, dword [ecx*4 + 0x421600]
ret