joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cd69d
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x583d10]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x408]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push eax
push 0xf003f
push esi
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4cd752
lea eax, [ebp - 0x414]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x404]
push eax
push esi
jmp 0x4cd724
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
call fcn.004cd69d
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4cd763
lea eax, [ebp - 0x414]
xor ecx, ecx
push eax
push ecx
push ecx
push ecx
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x404]
push eax
push ecx
push dword [ebp - 0x408]
mov dword [ebp - 0x40c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4cd6ef
push dword [ebp - 0x408]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f225b
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x408]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x4cd752

Function at 0x4cdb20
Capabilities:
Acquire debug privileges

Disassembly:
push 0x2c
push 0x57a2a8
call fcn.004f8780
xor esi, esi
mov ebx, esi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x2c], esi
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 4], esi
lea eax, [ebp - 0x30]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4cdbb4
lea eax, [ebp - 0x3c]
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x4cdbb4
xor edi, edi
inc edi
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 2
push esi
push esi
push esi
lea eax, [ebp - 0x2c]
push eax
push esi
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x4cdbb4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x514
cmovne ebx, edi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.004cdbcd
mov eax, ebx
call fcn.004f87c8
ret
Function at 0x4ce00f
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x583d10]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4ce0cf
lea eax, [ebp - 0x214]
mov dword [ebp - 0x210], esi
push eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x214], esi
push eax
push edi
call fcn.004ce0e2
add esp, 0xc
test al, al
je 0x4ce0cf
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.004f2e30
mov ecx, dword [ebp - 0x214]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
mov ecx, dword [ebp - 0x210]
movzx eax, cx
push eax
shr ecx, 0x10
lea eax, [ebp - 0x20c]
push ecx
push str._d._d._d._d
push 0x104
push eax
call fcn.004f58d0
lea eax, [ebp - 0x20c]
push eax
call fcn.0043a8c3
add esp, 0x2c
mov ecx, ebx
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0043a84a
inc esi
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f225b
mov esp, ebp
pop ebp
ret

Function at 0x4ce0e2
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
xor ebx, ebx
push edi
mov dword [eax], ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], ebx
mov dword [eax], ebx
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x4ce169
push esi
push edi
call fcn.004f09ec
pop ecx
mov esi, eax
push esi
push edi
push dword [ebp - 4]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4ce15d
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
push 0x55af84
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4ce15d
cmp dword [ebp - 8], ebx
je 0x4ce15d
mov ecx, dword [ebp - 0xc]
mov bl, 1
mov edx, dword [ebp + 0xc]
mov eax, dword [ecx + 8]
mov dword [edx], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
test esi, esi
je 0x4ce168
push esi
call fcn.004f304f
pop ecx
pop esi
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ce216
Capabilities:
Accept command line arguments

Disassembly:
push 0x7c
mov eax, 0x533d0d
call fcn.004f2332
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x88], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x4ce290
push 0x53f798
push eax
call fcn.004f678b
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4ce28a
add esi, 0xa
push 0x20
push esi
call fcn.004f548d
pop ecx
xor ebx, ebx
pop ecx
test eax, eax
jne 0x4ce278
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4ce266
sub ecx, edx
sar ecx, 1
lea eax, [esi + ecx*2]
sub eax, esi
mov ecx, edi
sar eax, 1
push eax
push esi
call fcn.0043a84a
jmp 0x4ce369
mov esi, dword [ebp - 0x88]
push ebx
lea ecx, [ebp - 0x88]
call fcn.0043c206
xor ebx, ebx
push 0x55af84
mov dword [ebp - 4], ebx
call fcn.0043a8c3
pop ecx
push eax
push 0x55af84
lea ecx, [ebp - 0x88]
call fcn.004516f5
push str.browserpacket.xml
call fcn.0043a8c3
pop ecx
push eax
push str.browserpacket.xml
lea ecx, [ebp - 0x88]
call fcn.004516f5
lea ecx, [ebp - 0x84]
call fcn.004c3985
push dword [ebp - 0x88]
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 1
call fcn.004c3b1c
test eax, eax
je 0x4ce349
push ebx
push str.packetpid
lea ecx, [ebp - 0x84]
call fcn.004c3b84
test eax, eax
je 0x4ce323
push edi
push 0x55bb10
lea ecx, [ebp - 0x84]
call fcn.004c3c57
push ebx
push str.packet_spid
lea ecx, [ebp - 0x84]
call fcn.004c3b84
test eax, eax
je 0x4ce349
push esi
push 0x53f7e0
lea ecx, [ebp - 0x84]
call fcn.004c3c57
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], bl
call fcn.00480410
mov ecx, dword [ebp - 0x88]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.00436fdb
mov eax, dword [0x5ae92c]
cmp dword [eax - 0xc], ebx
je 0x4ce37f
push 0x5ae92c
mov ecx, edi
call fcn.0043c2e8
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
jne 0x4ce3b1
push 0xc
pop eax
call fcn.004f5c90
mov eax, esp
push 3
push 5
push 0x53f7e8
push eax
call fcn.00495e5d
mov esi, eax
push esi
call fcn.0043a8c3
pop ecx
push eax
push esi
mov ecx, edi
call fcn.0043a84a
lea esp, [ebp - 0x98]
call fcn.004f22e1
ret
Function at 0x4ce7eb
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x583d10]
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 0x4ce84f
ja 0x4ce84a
mov eax, dword [ebp - 0x14]
cmp eax, dword [ecx]
jb 0x4ce84f
xor eax, eax
inc eax
jmp 0x4ce851
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f225b
mov esp, ebp
pop ebp
ret

Function at 0x4ce9a8
Capabilities:
Check if file exists

Disassembly:
push 0x230
mov eax, 0x533dc4
call fcn.004f2332
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x234]
xor esi, esi
push eax
inc esi
call fcn.0043c206
lea eax, [ebp - 0x234]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004cfddf
mov edi, str.liebao.exe
push edi
call fcn.0043a8c3
pop ecx
pop ecx
push eax
push edi
lea ecx, [ebp - 0x234]
call fcn.004516f5
push esi
call fcn.004cd7de
pop ecx
push dword [ebp - 0x234]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4ceadc
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x238], ebx
push eax
lea eax, [ebp - 0x238]
mov dword [ebp - 0x23c], ebx
push eax
push dword [ebp - 0x234]
call fcn.004ce0e2
add esp, 0xc
test al, al
je 0x4ceadc
lea eax, [ebp - 0x230]
push ebx
push eax
call fcn.004cdee7
xor eax, eax
mov byte [ebp - 4], 1
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.004f2e30
mov ecx, dword [ebp - 0x23c]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
mov ecx, dword [ebp - 0x238]
movzx eax, cx
push eax
shr ecx, 0x10
lea eax, [ebp - 0x218]
push ecx
push str._d._d._d._d
push 0x104
push eax
call fcn.004f58d0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004cce67
add esp, 0x38
cmp eax, esi
je 0x4ceac9
test eax, eax
jne 0x4ceacb
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], bl
call fcn.00417d20
push ebx
call fcn.004cd7de
pop ecx
mov ecx, dword [ebp - 0x234]
add ecx, 0xfffffff0
call fcn.00436fdb
mov eax, esi
call fcn.004f22e1
ret
Function at 0x4ceaf9
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x583d10]
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.004f2e30
add esp, 0xc
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x4cebb0
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4ceba9
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
mov ecx, dword [ebp - 0x228]
cmp ecx, ebx
je 0x4ceb92
test ecx, ecx
je 0x4ceb92
cmp ecx, 4
je 0x4ceb92
push dword [ebp - 0x234]
lea eax, [ebp - 0x20c]
push eax
call fcn.004f38f9
pop ecx
pop ecx
test eax, eax
je 0x4ceba5
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4ceb67
jmp 0x4ceba8
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.004f225b
mov esp, ebp
pop ebp
ret
Function at 0x4cf385
Capabilities:
Check if file exists

Disassembly:
push 0x244
mov eax, 0x533e7e
call fcn.004f2332
push str.LockDefaultViaDuba_Begin_r_n
mov esi, 0x5aea00
push esi
call fcn.004de360
pop ecx
pop ecx
call fcn.004ce940
test al, al
jne 0x4cf3c1
push str.LockDefaultViaDuba_KDubaDetectLockLiebao_no_IsModuleSupport_r_n
push esi
call fcn.004de360
pop ecx
pop ecx
jmp 0x4cf599
xor ebx, ebx
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x234], ebx
push 0x20019
push str.SoftwarekingsoftKISCommon
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x23c]
mov dword [ebp - 4], ebx
call fcn.0043c6fa
test eax, eax
je 0x4cf410
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LockDefaultViaDuba_Open_SoftwarekingsoftKISCommon_errcode_d_r_n
push esi
call fcn.004de360
add esp, 0xc
jmp 0x4cf576
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.004f2e30
add esp, 0xc
mov dword [ebp - 0x240], 0x104
lea eax, [ebp - 0x240]
lea ecx, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x218]
push eax
push str.ProgramPath
call fcn.0043c788
test eax, eax
je 0x4cf47b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x218]
push eax
push str.LockDefaultViaDuba_QueryStringValue_ws_errcode_d_r_n
push esi
call fcn.004de360
add esp, 0x10
jmp 0x4cf576
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4cf4a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x218]
push eax
push str.LockDefaultViaDuba_PathFileExists_ws_errcode_d_r_n
jmp 0x4cf46d
lea edi, [ebp - 0x218]
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x4cf4aa
push 6
pop ecx
mov esi, str.kismain.exe
lea eax, [ebp - 0x218]
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 - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00417260
mov esi, str.__defendmon:lockliebao
mov byte [ebp - 4], 1
push esi
call fcn.00416680
pop ecx
push eax
push esi
lea ecx, [ebp - 0x230]
call fcn.00418190
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov esi, 0x5aea00
cmovae eax, dword [ebp - 0x230]
push eax
push str.LockDefaultViaDuba_cmdline_ws_r_n
push esi
call fcn.004de360
xor eax, eax
lea edi, [ebp - 0x250]
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x250]
stosd dword es:[edi], eax
push ebx
push ebx
push ebx
stosd dword es:[edi], eax
push ebx
push ecx
push ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push ebx
call fcn.0043b852
push eax
push str.LockDefaultViaDuba_ExecuteAsDesktopUserEx3_hr0x_x_r_n
push esi
call fcn.004de360
add esp, 0x38
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x230]
push ebx
push 1
call fcn.00417d20
lea ecx, [ebp - 0x23c]
call fcn.0043c6e0
push str.LockDefaultViaDuba_End_r_n
push esi
call fcn.004de360
pop ecx
pop ecx
lea ecx, [ebp - 0x23c]
call fcn.0043c6e0
call fcn.004f22e1
ret
Function at 0x4cfb20
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 0x4cfb53
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x4cfb5e
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop ebx
pop ebp
ret

Function at 0x4cfb61
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x583d10]
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.004f2e30
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4cfbbc
cmp dword [ebp - 0x11c], 6
jne 0x4cfbbc
cmp dword [ebp - 0x118], 0
jne 0x4cfbbc
xor eax, eax
inc eax
jmp 0x4cfbbe
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f225b
mov esp, ebp
pop ebp
ret

Function at 0x4cfbcc
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x583d10]
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.004f2e30
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4cfc1a
cmp dword [ebp - 0x11c], 6
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f225b
mov esp, ebp
pop ebp
ret

Function at 0x4cfc87
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x583d10]
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.004f2e30
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4cfce2
cmp dword [ebp - 0x11c], 6
jb 0x4cfce2
cmp dword [ebp - 0x118], 2
jb 0x4cfce2
xor eax, eax
inc eax
jmp 0x4cfce4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f225b
mov esp, ebp
pop ebp
ret
Function at 0x4cfeb6
Capabilities:
Create process on windows
Terminate process

Disassembly:
push 0x5c
mov eax, 0x533f30
call fcn.004f22ff
push dword [ebp + 0x18]
mov ebx, dword [ebp + 0x10]
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 0x5aea00
call fcn.004de360
xor esi, esi
lea eax, [ebp - 0x64]
push 0x40
push esi
push eax
mov dword [ebp - 0x14], esi
call fcn.004f2e30
mov dword [ebp - 0x24], esi
lea edi, [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0x68], 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 - 0x3c], edi
call fcn.00437474
push eax
lea ecx, [ebp - 0x10]
call fcn.0043a4ef
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
mov dword [ebp - 4], esi
push dword [ebp + 8]
push str.__s___s
push eax
call fcn.0043ab29
add esp, 0x10
cmp dword [ebp + 0x14], esi
je 0x4cff3f
push 0xa
pop eax
jmp 0x4cff41
xor eax, eax
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
mov esi, dword [ebp - 0x10]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4cff8b
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 0x5aea00
call fcn.004de360
mov ebx, dword [ebp - 0x14]
add esp, 0x1c
jmp 0x4cffcd
test ebx, ebx
je 0x4cffcb
push ebx
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4cffcb
cmp dword [ebp + 0x18], 0
je 0x4cffcb
push 0
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x4cffcb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.TerminateProcess_errcode_d_r_n
push 0x5aea00
call fcn.004de360
add esp, 0xc
mov ebx, edi
cmp dword [ebp - 0x24], 0
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x4cffe2
push dword [ebp - 0x24]
call edi
and dword [ebp - 0x24], 0
cmp dword [ebp - 0x20], 0
je 0x4cfff1
push dword [ebp - 0x20]
call edi
and dword [ebp - 0x20], 0
lea ecx, [esi - 0x10]
call fcn.00436fdb
mov eax, ebx
call fcn.004f22cd
ret
Function at 0x4d0001
Capabilities:
Create process on windows

Disassembly:
push 0x5c
mov eax, 0x533f53
call fcn.004f22ff
xor esi, esi
lea eax, [ebp - 0x64]
push 0x40
push esi
push eax
mov dword [ebp - 0x14], esi
call fcn.004f2e30
mov dword [ebp - 0x24], esi
lea edi, [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0x68], 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 - 0x3c], edi
call fcn.00437474
push eax
lea ecx, [ebp - 0x10]
call fcn.0043a4ef
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
mov dword [ebp - 4], esi
push dword [ebp + 8]
push str.__s___s
push eax
call fcn.0043ab29
add esp, 0x10
cmp dword [ebp + 0x18], esi
je 0x4d006d
push 0xa
pop eax
jmp 0x4d006f
xor eax, eax
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
mov esi, dword [ebp - 0x10]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4d00ba
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 0x5aea00
call fcn.004de360
add esp, 0x1c
jmp 0x4d00e7
cmp dword [ebp + 0x14], 0
mov eax, dword [ebp - 0x24]
je 0x4d00d4
test eax, eax
je 0x4d00d4
push dword [ebp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x24]
cmp dword [ebp + 0x10], 0
mov dword [ebp - 0x14], edi
je 0x4d00ea
push dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4d00fb
push eax
call edi
and dword [ebp - 0x24], 0
cmp dword [ebp - 0x20], 0
je 0x4d010a
push dword [ebp - 0x20]
call edi
and dword [ebp - 0x20], 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [esi - 0x10]
call fcn.00436fdb
mov eax, dword [ebp - 0x14]
call fcn.004f22cd
ret
Function at 0x4d0d32
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 0x5403b8
xor ecx, ecx
push 1
push ecx
push 0x5403a8
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 0x4d0d6b
push esi
push str.CoCreateInstance_failed:_0x_08lx_n
jmp 0x4d0d9c
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 0x4d0d86
push esi
push str.get_LocalPolicy_failed:_0x_08lx_n
jmp 0x4d0d9c
mov eax, dword [ebp - 4]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
jns 0x4d0da9
push esi
push str.get_CurrentProfile_failed:_0x_08lx_n
push 0x5aea00
call fcn.004de360
add esp, 0xc
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x4d0db6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x4d0dc3
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 0x4d2b28
Capabilities:
Check if file exists

Disassembly:
push 0xc
mov eax, 0x534650
call fcn.004f22ff
mov edi, ecx
mov eax, dword [edi]
push 0x601
call dword [eax + 4]
mov eax, dword [edi + 8]
sub eax, 0x10
push eax
call fcn.0043c35e
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call fcn.004cfddf
mov esi, str.Module_thunderdownloadMiniThunderPlatform.exe
push esi
call fcn.0043a8c3
add esp, 0xc
lea ecx, [ebp - 0x10]
push eax
push esi
call fcn.004516f5
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d2bb4
lea ecx, [ebp - 0x14]
call fcn.004ccb08
push 0x541140
push dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004d0c3f
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0
call fcn.004ccbbf
mov eax, dword [ebp - 0x18]
jmp 0x4d2bcb
push dword [ebp - 0x10]
push str.no_exists__ws
push 0x5aea00
call fcn.004de360
add esp, 0xc
xor eax, eax
mov esi, dword [edi]
xor ebx, ebx
test eax, eax
setns bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push 0x601
mov ecx, edi
call dword [esi + 8]
test ebx, ebx
jne 0x4d2bf4
mov dword [edi + 0x150], 0xe
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00436fdb
mov eax, ebx
call fcn.004f22cd
ret