joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c5ff0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x61308c]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov ebx, ecx
push esi
lea eax, [ebx + 0x30]
mov dword [esp + 0xc], ebx
push edi
mov edi, dword [eax]
mov dword [esp + 0x14], eax
mov esi, dword [edi]
mov dword [esp + 0xc], esi
cmp esi, edi
je 0x4c6037
cmp dword [esi + 0x14], 0
jne 0x4c604b
lea ecx, [esp + 0xc]
call fcn.0043ebd0
mov esi, dword [esp + 0xc]
cmp esi, edi
jne 0x4c6020
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.005120a1
mov esp, ebp
pop ebp
ret
call fcn.0046f470
mov edi, eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0xc], eax
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4c608a
push str.QueryInterface
push dword [ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4c608a
push 0xa7ee8d87
call eax
test eax, eax
je 0x4c608a
lea ecx, [esp + 0x18]
push ecx
push dword [esp + 0x10]
push dword [edi]
call eax
cmp dword [esp + 0x2c], 5
jne 0x4c61c8
cmp dword [esp + 0x30], 0
jne 0x4c6137
push str.System_repair_drv_down_finish_
push 0
push str.CPluginMgrThread::GetDownLoadState
push str.ThreadPluginMgr.cpp
push 0x9e
call fcn.004095d0
push eax
call fcn.00409720
add esp, 0x18
call fcn.0046f470
mov edi, eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x4c60ff
push str.QueryInterface
push dword [eax + 0x18]
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
test eax, eax
je 0x4c60ff
push 0x57f41e06
call eax
test eax, eax
je 0x4c60ff
push dword [esp + 0xc]
push dword [edi]
call eax
push esi
lea eax, [esp + 0x14]
push eax
lea ecx, [ebx + 0x30]
call fcn.00485c60
push 0
push 0
push 0
push 0
push 0
push 6
mov ecx, ebx
call fcn.004c5e50
mov eax, 6
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.005120a1
mov esp, ebp
pop ebp
ret
call fcn.0046f470
mov ebx, dword [esi + 0x14]
mov edi, eax
mov eax, dword [edi + 4]
test eax, eax
je 0x4c616b
push str.QueryInterface
push dword [eax + 0x18]
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
test eax, eax
je 0x4c616b
push 0x57f41e06
call eax
test eax, eax
je 0x4c616b
push ebx
push dword [edi]
call eax
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0xc]
push esi
push eax
call fcn.00485c60
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x4c6187
lea ebx, [eax + 6]
jmp 0x4c61a0
cmp eax, 7
jne 0x4c6191
lea ebx, [eax + 3]
jmp 0x4c61a0
xor ebx, ebx
cmp eax, 2
sete bl
lea ebx, [ebx*4 + 7]
mov ecx, dword [esp + 0x10]
push 0
push 0
push 0
push 0
push 0
push ebx
call fcn.004c5e50
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.005120a1
mov esp, ebp
pop ebp
ret
push dword [esp + 0x28]
mov ecx, ebx
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [esp + 0x30]
push dword [esp + 0x30]
push 4
call fcn.004c5e50
mov ecx, dword [esp + 0x3c]
mov eax, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005120a1
mov esp, ebp
pop ebp
ret
Function at 0x4c63f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x553e58
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.004c64f0
mov esi, eax
lea eax, [ebp - 0x28]
push eax
call fcn.004c6690
mov dword [ebp - 4], 0
lea ecx, [esi*8]
sub ecx, esi
mov edx, dword [ecx*4 + 0x5c3098]
cmp word [edx], 0
jne 0x4c644d
xor ecx, ecx
jmp 0x4c6461
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c6452
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00406f60
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.005336c4
add esp, 8
test eax, eax
jne 0x4c6497
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp + 8]
mov ecx, edi
call fcn.0040f140
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4c64bd
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005120a1
mov esp, ebp
pop ebp
ret 4
Function at 0x4c8830
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c798
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push esi
mov eax, dword [0x61308c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push 0
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 0
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
movq qword [ebp - 0x1c], xmm0
push eax
mov dword [ebp - 0x20], 0xc
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x4c88a8
lea esi, [eax + 1]
jmp 0x4c8958
push 0x40
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.0052d340
add esp, 0xc
mov dword [ebp - 0x74], 0x44
lea eax, [ebp - 0x74]
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [ebp - 0x10]
xor ecx, ecx
cmp dword [ebp + 8], 1
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], eax
mov eax, 5
cmove ax, cx
mov dword [ebp - 0x48], 0x101
cmp dword [ebp + 0x20], 8
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x74]
mov word [ebp - 0x44], ax
push ecx
push 0
push 0
push 0
push 1
push 0
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4c8929
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x4c8958
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp + 0x28]
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4c8951
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x4c8958
push dword [ebp - 0x14]
call esi
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x20]
cmp eax, 8
jb 0x4c8974
inc eax
lea ecx, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
call fcn.00404be0
xor eax, eax
mov dword [ebp + 0x20], 7
mov word [ebp + 0xc], ax
mov eax, esi
mov dword [ebp + 0x1c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x24
Function at 0x4c8c40
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56cacc
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x61308c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CThreadScanResultReport.0
mov dword [ebp - 4], 4
mov eax, dword [esi + 0x24]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4c8c91
push eax
call ebx
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 3
lea edi, [esi + 0x58]
mov eax, dword [edi + 0x14]
cmp eax, 8
jb 0x4c8cab
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.00404be0
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x4c8cc1
mov edi, dword [edi]
xor eax, eax
mov word [edi], ax
mov byte [ebp - 4], 2
lea edi, [esi + 0x40]
mov eax, dword [edi + 0x14]
cmp eax, 8
jb 0x4c8ce0
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.00404be0
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x4c8cf6
mov edi, dword [edi]
xor eax, eax
mov word [edi], ax
mov byte [ebp - 4], 1
lea eax, [esi + 0x28]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov byte [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.004ca650
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 0xc]
mov dword [esi], vtable.base_thread.0
test eax, eax
je 0x4c8d3a
push eax
call ebx
mov dword [esi + 0xc], 0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4c8d4b
push eax
call ebx
mov dword [esi + 0x10], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x4c8d69
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
cmp eax, 1
jne 0x4c8d69
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cb890
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56cfc6
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x61308c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0
push 0
push 1
push 0
mov dword [esi], vtable.base_thread.0
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0
mov dword [ebp - 4], 0
lea eax, [esi + 0x18]
push 0x7d0
push eax
mov dword [esi], vtable.CThreadUnzip.0
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4cb940
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d016
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x61308c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CThreadUnzip.0
mov dword [ebp - 4], 1
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x4cb9a3
mov eax, dword [esi + 0x38]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.0041d6d0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 0
lea eax, [esi + 0x18]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 0xc]
mov dword [esi], vtable.base_thread.0
test eax, eax
je 0x4cb9da
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc], 0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4cb9ef
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x10], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x4cba0d
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
cmp eax, 1
jne 0x4cba0d
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4cbe70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d118
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
test esi, esi
je 0x4cbf78
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4cbf78
push 0x2c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.0052d340
add esp, 0xc
mov dword [ebp - 4], 0
lea edx, [ebp - 0x3c]
mov ecx, esi
call fcn.0040f4a0
test eax, eax
je 0x4cbf49
mov ecx, dword [ebp - 0x24]
test ecx, ecx
jne 0x4cbf00
push str.file_signsigInfo.lpszSubjectName_NULL
push 0x7c
push 0x5c45c0
push 1
call fcn.0040a150
push eax
call fcn.0040a3e0
add esp, 0x14
xor bl, bl
jmp 0x4cbf36
mov eax, str.Shenzhen_DriveTheLife_Software_Technology_Co.Ltd
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4cbf2b
test dx, dx
je 0x4cbf27
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4cbf2b
add ecx, 4
add eax, 4
test dx, dx
jne 0x4cbf05
xor eax, eax
jmp 0x4cbf30
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4cbf49
mov bl, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004bec90
mov al, bl
jmp 0x4cbf7a
push esi
push str.file_sign_error_path__s_
push 0x85
push str.ThreadVerifyFiles.cpp
push 1
call fcn.0040a150
push eax
call fcn.0040a3e0
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004bec90
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005120a1
mov esp, ebp
pop ebp
ret 4

Function at 0x4cdd50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d628
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x61308c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x10]
push eax
push 0x2001f
push esi
push 0x5c5fd8
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4cdde5
mov esi, dword [ebp - 0x10]
push 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
push 4
push 0
push 0x5c6130
push esi
mov dword [ebp - 0x10], 0x1f40
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x4cddde
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4cddfe
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4ce030
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5649ff
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x61308c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
or ecx, 0xffffffff
mov esi, dword [ebp + 0x18]
push ecx
mov eax, dword [eax]
mov word [eax], cx
mov ecx, esi
call fcn.00412630
mov edi, eax
add esp, 4
mov eax, dword [0x618d28]
test eax, eax
jne 0x4ce09f
push 0x70
call fcn.005120b2
add esp, 4
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 0
mov ecx, eax
call fcn.00409ee0
mov dword [ebp - 4], 0xffffffff
mov dword [0x618d28], eax
push esi
push edi
push 0x5c619c
push 0xdd
push str.UINewsPageNewsPage.cpp
push 8
push eax
call fcn.0040a3e0
add esp, 0x1c
cmp edi, 0x1f
jne 0x4ce0d7
push 3
push 0
push esi
push 0x5c61e8
push 0x5c6208
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14

Function at 0x4d0ef0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x4d0f21
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x4d0f10
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x4d2e90
Capabilities:
Parse credit card information

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
cmp dword [esi + 0x4c], 0xffffffff
je 0x4d3066
mov eax, dword [esi + 0x4c]
cmp eax, 0x7c
je 0x4d3066
cmp eax, 0x29
jne 0x4d2ec9
cmp dword [esi + 0x10], 0
jne 0x4d3066
test dword [esi + 0x50], 0x10000000
je 0x4d3073
cmp eax, 0x2e
jne 0x4d2f26
push 5
lea ecx, [esi + 0x24]
call fcn.004d32c0
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x4d2f1a
cmp word [eax], 0x5c
jne 0x4d2f17
add eax, 2
cmp eax, ecx
je 0x4d2f17
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x4d2f03
movzx edx, word [eax]
cmp edx, 0x28
je 0x4d2f15
cmp edx, 0x29
je 0x4d2f15
test cl, 0x10
jne 0x4d2f17
movzx ecx, word [eax]
cmp ecx, 0x7b
je 0x4d2f15
cmp ecx, 0x7d
jne 0x4d2f17
mov dword [esi], eax
add dword [esi], 2
mov ecx, esi
call fcn.004d2280
jmp 0x4d3053
cmp eax, 0x5c
jne 0x4d2f8d
mov ecx, esi
call fcn.004d2e40
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x4d2f59
cmp word [esi + 0x48], 0x62
jne 0x4d2f59
push 4
lea ecx, [esi + 0x24]
call fcn.004d32c0
mov ecx, esi
call fcn.004d2e40
jmp 0x4d305a
test eax, eax
je 0x4d2f81
cmp word [esi + 0x48], 0x42
jne 0x4d2f81
push 4
lea ecx, [esi + 0x24]
call fcn.004d32c0
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.004d2e40
jmp 0x4d305a
mov ecx, esi
call fcn.004d3b40
jmp 0x4d3053
cmp eax, 0x5b
jne 0x4d2faf
mov ecx, esi
call fcn.004d2e40
mov ecx, esi
call fcn.004d3a80
cmp dword [esi + 0x4c], 0x5d
je 0x4d304c
jmp 0x4d306c
cmp eax, 0x28
jne 0x4d2fdf
mov ecx, esi
call fcn.004d2e40
mov ecx, esi
call fcn.004d3c90
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x4d3073
mov ecx, esi
call fcn.004d2e40
test bl, bl
je 0x4d305a
jmp 0x4d3053
cmp eax, 0x5e
jne 0x4d2ff7
push 2
lea ecx, [esi + 0x24]
call fcn.004d32c0
mov ecx, esi
call fcn.004d2e40
jmp 0x4d305a
cmp eax, 0x24
jne 0x4d300f
push 3
lea ecx, [esi + 0x24]
call fcn.004d32c0
mov ecx, esi
call fcn.004d2e40
jmp 0x4d305a
cmp eax, 0x2a
je 0x4d3081
cmp eax, 0x2b
je 0x4d3081
cmp eax, 0x3f
je 0x4d3081
cmp eax, 0x7b
je 0x4d3081
cmp eax, 0x7d
jne 0x4d3031
test dword [esi + 0x50], 0x10000000
je 0x4d307a
cmp eax, 0x5d
jne 0x4d303f
test dword [esi + 0x50], 0x10000000
je 0x4d306c
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.004d3e90
mov ecx, esi
call fcn.004d2e40
mov ecx, esi
call fcn.004d3d50
cmp dword [esi + 0x4c], 0xffffffff
mov cl, 1
jne 0x4d2ea1
pop esi
mov al, cl
pop ebx
pop ecx
ret
push 4
call fcn.00505915
push 5
call fcn.00505915
push 6
call fcn.00505915
push 0xa
call fcn.00505915
int3
Function at 0x4dc170
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov byte [esi + 0x68], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x4dc1b1
mov eax, dword [eax]
push ecx
push eax
mov ecx, esi
call fcn.00408360
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x4dc8d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d628
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x61308c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x10]
push eax
push 0x2001f
push esi
push 0x5c89f0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4dc965
mov esi, dword [ebp - 0x10]
push 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
push 4
push 0
push 0x5c88ec
push esi
mov dword [ebp - 0x10], 0x1f40
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x4dc95e
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4dc97e
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4dcb60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56fe0e
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x61308c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
or ecx, 0xffffffff
mov esi, dword [ebp + 0x18]
push ecx
mov eax, dword [eax]
mov word [eax], cx
mov ecx, esi
call fcn.00412630
mov edi, eax
add esp, 4
mov eax, dword [0x618d28]
test eax, eax
jne 0x4dcbcf
push 0x70
call fcn.005120b2
add esp, 4
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 0
mov ecx, eax
call fcn.00409ee0
mov dword [ebp - 4], 0xffffffff
mov dword [0x618d28], eax
push esi
push edi
push 0x5c8af4
push 0x6b
push 0x5c8ae0
push 8
push eax
call fcn.0040a3e0
add esp, 0x1c
cmp edi, 0x1f
jne 0x4dcc4b
push 3
push 0
push esi
push 0x5c8b34
push 0x5c8b28
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [0x618d28]
test eax, eax
jne 0x4dcc34
push 0x70
call fcn.005120b2
add esp, 4
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 1
mov ecx, eax
call fcn.00409ee0
mov dword [ebp - 4], 0xffffffff
mov dword [0x618d28], eax
push 0x5c8b5c
push 0x70
push str.UpgradeWebUI.cpp
push 8
push eax
call fcn.0040a3e0
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4ecf70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x4c]
push eax
push 0x20019
push 0
push str.SoftwareOSTotoSoftDriverTalent
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4ecfbe
lea eax, [ebp - 0x4c]
push eax
push 0x20019
push 0
push str.SoftwareOSTotoSoftDriverTalent
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4ecfee
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x40
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
push str.UnionID
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4ed000
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
xor edx, edx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005120a1
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x5c]
xorps xmm0, xmm0
movlpd qword [ebp - 0x58], xmm0
cmp eax, 3
je 0x4ed015
cmp eax, 4
jne 0x4ed02c
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x4ed02c
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x58]
call fcn.00448580
add esp, 8
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x58]
xor ecx, ebp
mov edx, dword [ebp - 0x54]
call fcn.005120a1
mov esp, ebp
pop ebp
ret