joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49c339
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push str.IsCreateLink_Start
mov edi, 0x55913c
xor ebx, ebx
push edi
call fcn.004a9ba2
pop ecx
pop ecx
push ebx
push str.Softwareliebao
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.0049d995
test eax, eax
je 0x49c522
call fcn.00420e4a
push eax
lea ecx, [ebp - 4]
call fcn.00423e50
lea eax, [ebp - 4]
push eax
push 0x4fbdb4
lea ecx, [ebp - 0x14]
call fcn.0049dcd0
mov esi, dword [ebp - 4]
push esi
push str.IsCreateLink_strPid:_s
push edi
call fcn.004a9ba2
add esp, 0xc
cmp dword [ebp - 0x14], ebx
je 0x49c3b6
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
push 0x4fc438
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
call fcn.0049d995
push 1
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x14]
mov edi, eax
call fcn.0049d995
push eax
push edi
push str.IsCreateLink_bExist1:_d__bExist2:_d
push 0x55913c
mov dword [ebp - 4], eax
call fcn.004a9ba2
add esp, 0x10
test edi, edi
jne 0x49c547
cmp dword [ebp - 4], ebx
jne 0x49c547
call fcn.00420e4a
push eax
lea ecx, [ebp - 4]
call fcn.00423e50
push 0x104
lea ecx, [ebp - 4]
call fcn.00423e83
push eax
push ebx
push 0x19
push ebx
call fcn.0049dfba
add esp, 0x10
lea ecx, [ebp - 4]
push 0xffffffffffffffff
call fcn.00425b33
lea eax, [ebp - 4]
push eax
call fcn.0049dc09
mov edi, str.qQ
push edi
call fcn.004241e6
pop ecx
pop ecx
push eax
push edi
lea ecx, [ebp - 4]
call fcn.0043ae55
mov edi, dword [ebp - 4]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
call ebx
push 0
push edi
push str.IsCreateLink_strDesktopPath:_ws__bCreate:_d
push 0x55913c
mov dword [ebp - 8], eax
call fcn.004a9ba2
add esp, 0x10
call fcn.00420e4a
push eax
lea ecx, [ebp - 4]
call fcn.00423e50
push 0x104
lea ecx, [ebp - 4]
call fcn.00423e83
push eax
xor eax, eax
push eax
push 0x19
push eax
call fcn.0049dfba
add esp, 0x10
lea ecx, [ebp - 4]
push 0xffffffffffffffff
call fcn.00425b33
lea eax, [ebp - 4]
push eax
call fcn.0049dc09
mov dword [esp], 0x4fc598
call fcn.004241e6
pop ecx
push eax
push 0x4fc598
lea ecx, [ebp - 4]
call fcn.0043ae55
push dword [ebp - 4]
call ebx
xor ebx, ebx
mov dword [ebp - 0xc], eax
push ebx
push edi
push str.IsCreateLink_strDesktopPath:_ws__bCreate:_d
push 0x55913c
call fcn.004a9ba2
add esp, 0x10
cmp dword [ebp - 8], ebx
jne 0x49c502
cmp dword [ebp - 0xc], ebx
jne 0x49c502
inc ebx
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.0042095b
lea ecx, [edi - 0x10]
call fcn.0042095b
lea ecx, [esi - 0x10]
call fcn.0042095b
mov edi, 0x55913c
push str.IsCreateLink_End
push edi
call fcn.004a9ba2
pop ecx
pop ecx
cmp dword [ebp - 0x14], 0
je 0x49c53e
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esi - 0x10]
call fcn.0042095b
jmp 0x49c52f
Function at 0x49c748
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x52de80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathGetDriveNumberW]
add eax, 0x41
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ecx + 4]
jb 0x49c7ac
ja 0x49c7a7
mov eax, dword [ebp - 0x14]
cmp eax, dword [ecx]
jb 0x49c7ac
xor eax, eax
inc eax
jmp 0x49c7ae
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bc45f
mov esp, ebp
pop ebp
ret

Function at 0x49c851
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x52de80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x228]
push ebx
push esi
push edi
xor edi, edi
push eax
inc edi
call fcn.00425ac1
lea eax, [ebp - 0x228]
push eax
call fcn.0049dc09
mov esi, str.liebao.exe
push esi
call fcn.004241e6
pop ecx
pop ecx
push eax
push esi
lea ecx, [ebp - 0x228]
call fcn.0043ae55
push edi
call fcn.0049b99b
mov esi, dword [ebp - 0x228]
pop ecx
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ebx, ebx
test eax, eax
je 0x49c97e
lea eax, [ebp - 0x228]
mov dword [ebp - 0x22c], ebx
push eax
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x228], ebx
push eax
push esi
call fcn.0049c2aa
add esp, 0xc
test al, al
je 0x49c97e
lea eax, [ebp - 0x224]
push ebx
push eax
call fcn.0049c0b7
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.004bf4f0
mov ecx, dword [ebp - 0x228]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
mov ecx, dword [ebp - 0x22c]
movzx eax, cx
push eax
shr ecx, 0x10
lea eax, [ebp - 0x20c]
push ecx
push 0x50c710
push 0x104
push eax
call fcn.004c068d
cmp dword [ebp - 0x210], 8
lea eax, [ebp - 0x224]
cmovae eax, dword [ebp - 0x224]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0049b235
add esp, 0x38
cmp eax, edi
je 0x49c96e
test eax, eax
jne 0x49c970
mov edi, ebx
push ebx
push 1
lea ecx, [ebp - 0x224]
call fcn.00402540
push ebx
call fcn.0049b99b
pop ecx
lea ecx, [esi - 0x10]
call fcn.0042095b
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc45f
mov esp, ebp
pop ebp
ret
Function at 0x49c9a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x52de80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov dword [ebp - 0x234], eax
push 0x228
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x230], esi
push esi
push eax
call fcn.004bf4f0
add esp, 0xc
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x49ca57
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x49ca50
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
mov ecx, dword [ebp - 0x228]
cmp ecx, ebx
je 0x49ca39
test ecx, ecx
je 0x49ca39
cmp ecx, 4
je 0x49ca39
push dword [ebp - 0x234]
lea eax, [ebp - 0x20c]
push eax
call fcn.004bcea4
pop ecx
pop ecx
test eax, eax
je 0x49ca4c
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x49ca0e
jmp 0x49ca4f
xor esi, esi
inc esi
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004bc45f
mov esp, ebp
pop ebp
ret
Function at 0x49d1ea
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x52de80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push str.LockDefaultViaDuba_Begin_r_n
mov ebx, 0x55913c
push ebx
call fcn.004a9ba2
pop ecx
pop ecx
call fcn.0049c7e9
test al, al
jne 0x49d22b
push str.LockDefaultViaDuba_KDubaDetectLockLiebao_no_IsModuleSupport_r_n
push ebx
call fcn.004a9ba2
pop ecx
pop ecx
jmp 0x49d3fa
push esi
push 0x20019
xor esi, esi
lea ecx, [ebp - 0x230]
push str.SoftwarekingsoftKISCommon
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x228], esi
call fcn.00425f7b
test eax, eax
je 0x49d278
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LockDefaultViaDuba_Open_SoftwarekingsoftKISCommon_errcode_d_r_n
push ebx
call fcn.004a9ba2
add esp, 0xc
jmp 0x49d3d6
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.004bf4f0
add esp, 0xc
mov dword [ebp - 0x234], 0x104
lea eax, [ebp - 0x234]
lea ecx, [ebp - 0x230]
push eax
lea eax, [ebp - 0x20c]
push eax
push str.ProgramPath
call fcn.00426009
test eax, eax
je 0x49d2e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x20c]
push eax
push str.LockDefaultViaDuba_QueryStringValue_ws_errcode_d_r_n
push ebx
call fcn.004a9ba2
add esp, 0x10
jmp 0x49d3d6
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x49d309
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x20c]
push eax
push str.LockDefaultViaDuba_PathFileExists_ws_errcode_d_r_n
jmp 0x49d2d5
push edi
lea edi, [ebp - 0x20c]
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, si
jne 0x49d313
push 6
pop ecx
mov esi, str.kismain.exe
lea eax, [ebp - 0x20c]
rep movsd dword es:[edi], dword [esi]
push eax
movsw word es:[edi], word [esi]
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x224]
call fcn.004045f0
mov esi, str.__defendmon:lockliebao
push esi
call fcn.00402df0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x224]
call fcn.00406420
cmp dword [ebp - 0x210], 8
lea eax, [ebp - 0x224]
cmovae eax, dword [ebp - 0x224]
push eax
push str.LockDefaultViaDuba_cmdline_ws_r_n
push ebx
call fcn.004a9ba2
xor eax, eax
lea edi, [ebp - 0x244]
cmp dword [ebp - 0x210], 8
lea ecx, [ebp - 0x244]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x224]
cmovae eax, dword [ebp - 0x224]
xor esi, esi
push esi
push esi
push esi
push esi
push ecx
push esi
push eax
push esi
call fcn.00425125
push eax
push str.LockDefaultViaDuba_ExecuteAsDesktopUserEx3_hr0x_x_r_n
push ebx
call fcn.004a9ba2
add esp, 0x38
lea ecx, [ebp - 0x224]
push esi
push 1
call fcn.00402540
pop edi
lea ecx, [ebp - 0x230]
call fcn.00425f61
push str.LockDefaultViaDuba_End_r_n
push ebx
call fcn.004a9ba2
pop ecx
pop ecx
lea ecx, [ebp - 0x230]
call fcn.00425f61
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004bc45f
mov esp, ebp
pop ebp
ret
Function at 0x49d954
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push 0
push 0x3000010
push 1
push 0
push 3
push 1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
test ebx, ebx
je 0x49d987
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x49d992
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop ebx
pop ebp
ret

Function at 0x49d9ea
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x52de80]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x118
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x120], 0x11c
push 0
push eax
call fcn.004bf4f0
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x49da45
cmp dword [ebp - 0x11c], 6
jne 0x49da45
cmp dword [ebp - 0x118], 0
jne 0x49da45
xor eax, eax
inc eax
jmp 0x49da47
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bc45f
mov esp, ebp
pop ebp
ret

Function at 0x49da55
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x52de80]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x118
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x120], 0x11c
push 0
push eax
call fcn.004bf4f0
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x49daa3
cmp dword [ebp - 0x11c], 6
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bc45f
mov esp, ebp
pop ebp
ret

Function at 0x49dab1
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x52de80]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x118
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x120], 0x11c
push 0
push eax
call fcn.004bf4f0
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x49db0c
cmp dword [ebp - 0x11c], 6
jb 0x49db0c
cmp dword [ebp - 0x118], 2
jb 0x49db0c
xor eax, eax
inc eax
jmp 0x49db0e
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bc45f
mov esp, ebp
pop ebp
ret
Function at 0x49dcd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [edi], esi
je 0x49dd50
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push esi
push dword [ebp + 8]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 8], 1
mov dword [edi + 4], eax
jne 0x49dd50
mov ecx, dword [ebp + 0xc]
call fcn.00423c71
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
shr eax, 1
inc eax
push eax
call fcn.00423e83
lea ecx, [ebp - 4]
mov dword [ebp - 0xc], eax
push ecx
push eax
lea eax, [ebp - 8]
push eax
push esi
push dword [ebp + 8]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [edi + 4], eax
test eax, eax
jne 0x49dd50
mov eax, dword [ebp - 4]
xor edx, edx
mov ecx, dword [ebp - 0xc]
shr eax, 1
push 0xffffffffffffffff
mov word [ecx + eax*2], dx
mov ecx, dword [ebp + 0xc]
call fcn.00425b33
inc esi
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x49dd5a
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.RunApp_szPath_ws_szCmd_ws_dwWaitTime_d_bShow_d_bWaitTimeTermination_d_r_n
push 0x55913c
call fcn.004a9ba2
xor esi, esi
lea eax, [ebp - 0x58]
push 0x40
push esi
push eax
mov dword [ebp - 8], esi
call fcn.004bf4f0
mov dword [ebp - 0x18], esi
lea edi, [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x5c], 0x44
stosd dword es:[edi], eax
add esp, 0x28
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
inc edi
mov dword [ebp - 0x30], edi
call fcn.00420e4a
push eax
lea ecx, [ebp - 4]
call fcn.00423e50
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push dword [ebp + 8]
push str.__s___s
push eax
call fcn.0042443a
add esp, 0x10
cmp dword [ebp + 0x14], esi
je 0x49dddd
push 0xa
pop eax
jmp 0x49dddf
xor eax, eax
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
mov esi, dword [ebp - 4]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x49de29
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.KFunction::RunApp_CreateProcessW_error:_d__wait:_d__show:_d__path:_ws__cmd:_ws
push 0x55913c
call fcn.004a9ba2
mov ebx, dword [ebp - 8]
add esp, 0x1c
jmp 0x49de6b
test ebx, ebx
je 0x49de69
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x49de69
cmp dword [ebp + 0x18], 0
je 0x49de69
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x49de69
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.TerminateProcess_errcode_d_r_n
push 0x55913c
call fcn.004a9ba2
add esp, 0xc
mov ebx, edi
cmp dword [ebp - 0x18], 0
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x49de80
push dword [ebp - 0x18]
call edi
and dword [ebp - 0x18], 0
cmp dword [ebp - 0x14], 0
je 0x49de8f
push dword [ebp - 0x14]
call edi
and dword [ebp - 0x14], 0
lea ecx, [esi - 0x10]
call fcn.0042095b
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49dea0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
xor esi, esi
lea eax, [ebp - 0x58]
push 0x40
push esi
push eax
mov dword [ebp - 8], esi
call fcn.004bf4f0
mov dword [ebp - 0x18], esi
lea edi, [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x5c], 0x44
stosd dword es:[edi], eax
add esp, 0xc
mov ebx, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
inc edi
mov dword [ebp - 0x30], edi
call fcn.00420e4a
push eax
lea ecx, [ebp - 4]
call fcn.00423e50
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push dword [ebp + 8]
push str.__s___s
push eax
call fcn.0042443a
add esp, 0x10
cmp dword [ebp + 0x18], ebx
je 0x49df06
push 0xa
pop eax
jmp 0x49df08
xor eax, eax
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
mov esi, dword [ebp - 4]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x49df53
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp + 0xc]
mov ebx, eax
push dword [ebp + 8]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ebx
push str.KFunction::RunApp_CreateProcessW_error:_d__wait:_d__show:_d__path:_ws__cmd:_ws
push 0x55913c
call fcn.004a9ba2
add esp, 0x1c
jmp 0x49df7e
mov eax, dword [ebp - 0x18]
cmp dword [ebp + 0x14], ebx
je 0x49df6c
test eax, eax
je 0x49df6c
push dword [ebp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], edi
cmp dword [ebp + 0x10], ebx
je 0x49df81
push dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x49df92
push eax
call edi
and dword [ebp - 0x18], 0
cmp dword [ebp - 0x14], 0
je 0x49dfa1
push dword [ebp - 0x14]
call edi
and dword [ebp - 0x14], 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [esi - 0x10]
call fcn.0042095b
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49eb6c
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0x4fc9ec
xor ecx, ecx
push 1
push ecx
push 0x4fc9dc
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ecx
mov dword [edi], ecx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jns 0x49eba5
push esi
push str.CoCreateInstance_failed:_0x_08lx_n
jmp 0x49ebd6
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
jns 0x49ebc0
push esi
push str.get_LocalPolicy_failed:_0x_08lx_n
jmp 0x49ebd6
mov eax, dword [ebp - 4]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
jns 0x49ebe3
push esi
push str.get_CurrentProfile_failed:_0x_08lx_n
push 0x55913c
call fcn.004a9ba2
add esp, 0xc
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x49ebf0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x49ebfd
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x49ec07
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
xor esi, esi
cmp dword [edi], esi
je 0x49ec4e
mov edx, dword [ebp + 0xc]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, si
jne 0x49ec1a
push ebx
sub edx, ecx
xor ebx, ebx
sar edx, 1
inc ebx
lea eax, [edx*2 + 2]
push eax
push dword [ebp + 0xc]
push ebx
push esi
push dword [ebp + 8]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov dword [edi + 4], eax
cmove esi, ebx
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x4a0781
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
push esi
push edi
push 0x601
mov eax, dword [ebx]
mov dword [ebp - 0xc], ebx
call dword [eax + 4]
mov eax, dword [ebx + 8]
sub eax, 0x10
push eax
call fcn.00425bf9
add eax, 0x10
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.0049dc09
mov esi, str.Module_thunderdownloadMiniThunderPlatform.exe
push esi
call fcn.004241e6
add esp, 0xc
lea ecx, [ebp - 4]
push eax
push esi
call fcn.0043ae55
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a07fd
lea ecx, [ebp - 8]
call fcn.0049aef8
push 0x4fd828
push dword [ebp - 4]
lea ecx, [ebp - 8]
call fcn.0049ea79
lea ecx, [ebp - 8]
mov edi, eax
call fcn.0049af54
jmp 0x4a0814
push dword [ebp - 4]
push str.no_exists__ws
push 0x55913c
call fcn.004a9ba2
add esp, 0xc
xor edi, edi
mov esi, dword [ebx]
xor ebx, ebx
test edi, edi
setns bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0xc]
push eax
push ebx
push 0x601
call dword [esi + 8]
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.0042095b
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a086e
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x52de80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
push 0xc
mov dword [ebp - 0x20], edi
call fcn.00481491
pop ecx
test eax, eax
je 0x4a08a0
mov ecx, eax
call fcn.004a03c0
mov ebx, eax
mov dword [ebp - 0x28], eax
jmp 0x4a08a5
xor ebx, ebx
mov dword [ebp - 0x28], ebx
or dword [ebx], 0xffffffff
lea ecx, [ebp - 0x1c]
push dword [edi + 0x108]
call fcn.004045f0
cmp dword [ebp - 8], 8
lea esi, [ebp - 0x1c]
cmovae esi, dword [ebp - 0x1c]
push esi
call fcn.004241e6
pop ecx
push eax
push esi
lea ecx, [edi + 0x4c]
call fcn.0042416d
push dword [edi + 0x4c]
mov esi, edi
lea ecx, [ebp - 0x24]
mov esi, dword [esi + 0x38]
call fcn.00467996
push esi
lea ecx, [ebp - 0x2c]
mov edi, eax
call fcn.00467996
push dword [edi]
add ebx, 4
push dword [eax]
push str.reportver2.0.0.0installstepbeginoldver_snewver_s
push ebx
call fcn.00424426
mov ecx, dword [ebp - 0x2c]
add esp, 0x10
lea ecx, [ecx - 0x10]
call fcn.0042095b
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.0042095b
push 0xc
push 0x4fcea4
mov ecx, ebx
call fcn.0043af80
push dword [0x5590dc]
lea ecx, [ebp - 0x24]
call fcn.00467996
mov ecx, ebx
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.0043af80
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.0042095b
push 8
push 0x4ff25c
mov ecx, ebx
call fcn.0043af80
mov eax, dword [ebp - 0x20]
mov edi, 0x4fcc58
mov ecx, 0x50ce20
mov esi, edi
cmp dword [eax + 0xb4], 0
cmove esi, ecx
push esi
call fcn.004313aa
pop ecx
push eax
push esi
mov ecx, ebx
call fcn.0043af80
push 7
push str.force
mov ecx, ebx
call fcn.0043af80
mov eax, dword [ebp - 0x20]
mov esi, edi
cmp dword [eax + 0xc8], 0
mov eax, 0x50ce20
cmove esi, eax
push esi
call fcn.004313aa
pop ecx
push eax
push esi
mov ecx, ebx
call fcn.0043af80
push 0x17
push str.innver2013_11_22_1849
mov ecx, ebx
call fcn.0043af80
push 0xb
push str.installed
mov ecx, ebx
call fcn.0043af80
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x70], 0
mov eax, 0x50ce20
cmove edi, eax
push edi
call fcn.004313aa
pop ecx
push eax
push edi
mov ecx, ebx
call fcn.0043af80
push dword [ebx]
mov edi, 0x55913c
push str._r_n_beginreport_s_r_n
push edi
call fcn.004a9ba2
add esp, 0xc
xor ebx, ebx
push ebx
push ebx
push dword [ebp - 0x28]
push 0x4a7278
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x4a0a4e
push 0x3a98
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4a0a3f
push str.Report_timeout_r_n
push edi
call fcn.004a9ba2
pop ecx
pop ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.CusReport_Report_end_r_n
push edi
call fcn.004a9ba2
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x1c]
call fcn.00402540
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc45f
mov esp, ebp
pop ebp
ret