joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4094e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510b4e
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x5634e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
cmp dword [esi + 0x14], 8
jb 0x40951b
mov eax, dword [esi]
jmp 0x40951d
mov eax, esi
cmp dword [edi + 0x14], 8
jb 0x409525
mov ecx, dword [edi]
push 0
push eax
push ecx
push str.createProcess_filename____s___param____s___show___d
push 0xea
push str.utility::process::create
call fcn.0040c770
push edi
mov edx, 0x53e74c
lea ecx, [ebp - 0x98]
call fcn.004096b0
push 0x53e74c
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00408e10
add esp, 0x20
mov byte [ebp - 4], 2
cmp dword [ebp - 0x84], 8
jb 0x409582
push dword [ebp - 0x98]
call fcn.004c8900
add esp, 4
xor eax, eax
mov dword [ebp - 0x84], 7
mov dword [ebp - 0x88], 0
mov word [ebp - 0x98], ax
cmp dword [esi + 0x10], eax
je 0x4095e4
push esi
mov edx, 0x53e750
lea ecx, [ebp - 0xb0]
call fcn.004096b0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00408f30
mov byte [ebp - 4], 2
cmp dword [ebp - 0x9c], 8
jb 0x4095e4
push dword [ebp - 0xb0]
call fcn.004c8900
add esp, 4
push 0x40
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.004de630
add esp, 0xc
mov dword [ebp - 0x80], 0x44
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x7c], 0
xor eax, eax
mov dword [ebp - 0x78], 0
cmp dword [ebp - 0x14], 8
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x50], eax
push ecx
push 0
push 0
push 0x10
push 0
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push 0
push eax
push 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x54], 1
movdqu xmmword [ebp - 0x38], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x409675
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.createProcess_failed____lastError___d
push 0xfd
push str.utility::process::create
call fcn.0040c770
add esp, 0x10
xor esi, esi
jmp 0x409681
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x38]
cmp dword [ebp - 0x14], 8
jb 0x409692
push dword [ebp - 0x28]
call fcn.004c8900
add esp, 4
mov eax, esi
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.004d5413
mov esp, ebp
pop ebp
ret

Function at 0x40c160
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5634e0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.004de630
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x40c1bb
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
mov ecx, dword [ebp - 4]
setae al
xor ecx, ebp
call fcn.004d5413
mov esp, ebp
pop ebp
ret
Function at 0x40c2e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x5634e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x38
lea eax, [ebp - 0x3c]
mov esi, ecx
push 0
push eax
call fcn.004de630
add esp, 0xc
mov dword [ebp - 0x40], 0x3c
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x3c], 0x440
mov dword [ebp - 0x34], str.open
jb 0x40c322
mov eax, dword [esi]
jmp 0x40c324
mov eax, esi
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x24], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x40c35b
cmp dword [esi + 0x14], 8
jb 0x40c344
mov esi, dword [esi]
push 5
push 0
push esi
push str.iexplore.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004d5413
mov esp, ebp
pop ebp
ret
Function at 0x412160
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1b8
mov eax, dword [0x5634e0]
xor eax, esp
mov dword [esp + 0x1b4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jns 0x4121ba
push 0
push str.CoInitialize_error
push str.Error
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x1b4]
xor ecx, esp
call fcn.004d5413
mov esp, ebp
pop ebp
ret 0x10
lea eax, [esp + 0x28]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
sub esp, 0x18
xor ecx, ecx
mov eax, esp
sub esp, 0x18
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
mov word [eax], cx
mov ecx, esp
xor eax, eax
push eax
push 0x53debc
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
call fcn.00407100
call fcn.004446e0
mov dword [0x56cb90], 0x446a10
call fcn.0040c900
push 0x541514
push str.downloader_start._version_is_:__s_
push 0xad
push str.wWinMain
call fcn.0040c770
add esp, 0x40
push str.commoninit_end
push 0xaf
push str.wWinMain
call fcn.0040c770
add esp, 8
mov ecx, esi
call fcn.00411f80
add esp, 4
push str.duilibInit2_end
push 0xb2
push str.wWinMain
call fcn.0040c770
add esp, 0xc
call fcn.00412030
xorps xmm0, xmm0
lea ecx, [esp + 0x10]
push edi
movdqa xmmword [esp + 0x14], xmm0
push esi
mov dword [esp + 0x18], vtable.DownloaderImpl.0
mov dword [esp + 0x20], 0
call fcn.00413170
test al, al
je 0x41229f
call fcn.00492ad0
cmp dword [0x56cb9c], 0
jne 0x4122db
push 0x508
call fcn.004d5562
mov esi, eax
add esp, 4
test esi, esi
je 0x4122d4
push 0x508
push 0
push esi
call fcn.004de630
add esp, 0xc
mov ecx, esi
call fcn.0041e100
jmp 0x4122d6
xor eax, eax
mov dword [0x56cb9c], eax
call fcn.0041e5c0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x1bc]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.004d5413
mov esp, ebp
pop ebp
ret 0x10

Function at 0x413060
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov dword [0x56cb98], 0
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_BringWindowToTop]
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x4190a0
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, ecx
push esi
push edi
push 0x10
lea esi, [ebx + 0x550]
mov dword [ebx + 0x5b8], esi
call fcn.004d5562
mov edi, eax
add esp, 4
test edi, edi
je 0x4190e1
xorps xmm0, xmm0
movdqu xmmword [edi], xmm0
mov dword [edi], vtable.MemberFuncRunable_class_DMainFrame_.0
mov dword [edi + 4], ebx
mov dword [edi + 8], 0x419620
mov dword [edi + 0xc], 0
jmp 0x4190e3
xor edi, edi
cmp dword [esi + 4], 0
jne 0x419119
push 0
push 0
push 0
push 0
mov byte [esi + 0xc], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push esi
push 0x4080e0
push 0
push 0
mov dword [esi + 8], eax
mov dword [esi], edi
call fcn.004d6023
add esp, 0x18
mov dword [esi + 4], eax
pop edi
pop esi
pop ebx
ret

Function at 0x41b3a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51270b
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5634e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x56db58]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x34], 0
test esi, esi
jne 0x41b40d
push 0x38
call fcn.004d5562
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], esi
test eax, eax
je 0x41b3fe
mov ecx, eax
call fcn.00410ed0
mov esi, eax
jmp 0x41b400
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [0x56db58], esi
push 2
push 0x540098
push dword [esi + 0x10]
push ecx
mov ecx, esi
call fcn.00406420
test eax, eax
jne 0x41b42a
mov eax, 0x82
jmp 0x41b447
push 2
push 0x540668
push dword [esi + 0x10]
push ecx
mov ecx, esi
call fcn.00406420
neg eax
sbb eax, eax
neg eax
add eax, 0x83
movzx eax, ax
push 0x542c98
push eax
call fcn.0048f860
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x41b481
push eax
mov dword [edi + 0x14], 7
mov ecx, edi
mov dword [edi + 0x10], eax
push 0x53debc
mov word [edi], ax
call fcn.00407100
jmp 0x41b504
push ebx
call fcn.0048f860
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x30], eax
push ebx
test eax, eax
jne 0x41b4aa
call dword [sym.imp.KERNEL32.dll_FreeResource]
push 0x53debc
mov ecx, edi
call fcn.00407200
jmp 0x41b504
call fcn.0048f860
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x30]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
shr esi, 1
push esi
mov word [ebp - 0x2c], cx
lea ecx, [ebp - 0x2c]
push eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
call fcn.00407100
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.00407090
cmp dword [ebp - 0x18], 8
jb 0x41b504
push dword [ebp - 0x2c]
call fcn.004c8900
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d5413
mov esp, ebp
pop ebp
ret 4

Function at 0x41dee0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
movzx eax, byte [eax]
mov dword [ebp + 8], eax
add ecx, 4
pop ebp
jmp fcn.004152f0
Function at 0x41fc70
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [0x56cb9c]
push edi
mov eax, dword [esi + 0x368]
test eax, eax
je 0x41fc9c
mov ecx, dword [0x56cb94]
push eax
call fcn.0040cb80
mov dword [esi + 0x368], 0
mov eax, dword [esi + 0x36c]
test eax, eax
je 0x41fcbc
mov ecx, dword [0x56cb94]
push eax
call fcn.0040cb80
mov dword [esi + 0x36c], 0
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push dword [esi + 0x270]
call edi
mov eax, dword [esi + 0xa0]
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
je 0x41fd0a
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41fcf8
push 0xffffffffffffffff
push dword [esi + 0xa0]
call ebx
push dword [esi + 0xa0]
call edi
mov dword [esi + 0xa0], 0
mov ecx, dword [esi + 0x9c]
test ecx, ecx
je 0x41fd22
mov eax, dword [ecx]
call dword [eax]
mov dword [esi + 0x9c], 0
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x41fd39
push eax
call edi
mov dword [esi + 0xa4], 0
mov eax, dword [esi + 0x114]
test eax, eax
je 0x41fd72
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41fd60
push 0xffffffffffffffff
push dword [esi + 0x114]
call ebx
push dword [esi + 0x114]
call edi
mov dword [esi + 0x114], 0
mov ecx, dword [esi + 0x110]
test ecx, ecx
je 0x41fd8a
mov eax, dword [ecx]
call dword [eax]
mov dword [esi + 0x110], 0
mov eax, dword [esi + 0x118]
test eax, eax
je 0x41fda1
push eax
call edi
mov dword [esi + 0x118], 0
mov eax, dword [esi + 0x124]
test eax, eax
je 0x41fdd7
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41fdc5
push 0xffffffffffffffff
push dword [esi + 0x124]
call ebx
push dword [esi + 0x124]
call edi
mov dword [esi + 0x124], 0
mov ecx, dword [esi + 0x120]
test ecx, ecx
je 0x41fdef
mov eax, dword [ecx]
call dword [eax]
mov dword [esi + 0x120], 0
mov eax, dword [esi + 0x128]
test eax, eax
je 0x41fe06
push eax
call edi
mov dword [esi + 0x128], 0
mov eax, dword [esi + 0x134]
test eax, eax
je 0x41fe3f
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41fe2d
push 0xffffffffffffffff
push dword [esi + 0x134]
call ebx
push dword [esi + 0x134]
call edi
mov dword [esi + 0x134], 0
mov ecx, dword [esi + 0x130]
pop ebx
test ecx, ecx
je 0x41fe58
mov eax, dword [ecx]
call dword [eax]
mov dword [esi + 0x130], 0
mov eax, dword [esi + 0x138]
test eax, eax
je 0x41fe6f
push eax
call edi
mov dword [esi + 0x138], 0
lea ecx, [esi + 0x140]
call fcn.00431450
lea ecx, [esi + 0x1a4]
call fcn.00431450
lea ecx, [esi + 0x208]
call fcn.00431450
mov ecx, dword [0x56cb94]
lea eax, [esi + 0x26c]
push eax
mov byte [esi + 0x420], 1
call fcn.0040ca90
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41feb0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
push 0x26
mov edi, ecx
mov dword [ebp - 4], 7
xor eax, eax
mov dword [ebp - 8], 0
push str.0A3E7733_8B36_47AC_A87E_A23A7DD0404C
lea ecx, [ebp - 0x18]
mov word [ebp - 0x18], ax
call fcn.00407100
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
cmovae eax, dword [ebp - 0x18]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x41ff0f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41ff0f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
cmp dword [ebp - 4], 8
jb 0x41ff20
push dword [ebp - 0x18]
call fcn.004c8900
add esp, 4
test esi, esi
jne 0x41ff9e
push 0x26
xor eax, eax
mov dword [ebp - 4], 7
push str.0A3E7733_8B36_47AC_A87E_A23A7DD0404C
lea ecx, [ebp - 0x18]
mov dword [ebp - 8], esi
mov word [ebp - 0x18], ax
call fcn.00407100
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
push esi
cmovae eax, dword [ebp - 0x18]
push eax
push esi
push esi
call dword [sym.imp.USER32.dll_FindWindowExW]
cmp dword [ebp - 4], 8
mov esi, eax
jb 0x41ff6b
push dword [ebp - 0x18]
call fcn.004c8900
add esp, 4
test esi, esi
je 0x41ff7f
push 0
push 0
push 0x2b73
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
push str.wnd_exist
push 0xd5
push str.DownloaderModel::popupExistPwnd
call fcn.0040c770
add esp, 0xc
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.wnd_not_exist
push 0xd9
push str.DownloaderModel::popupExistPwnd
mov dword [edi + 0x270], esi
call fcn.0040c770
add esp, 0xc
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41ffd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x5634e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov dword [ebp - 0x814], 0
push 0x7fe
push eax
mov word [ebp - 0x804], ax
mov edi, edx
lea eax, [ebp - 0x802]
mov esi, ecx
push eax
call fcn.004de630
add esp, 0xc
mov dword [ebp - 0x810], 0
cmp dword [edi + 0x14], 8
jb 0x420023
mov edi, dword [edi]
lea eax, [ebp - 0x810]
push eax
push edi
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x42007e
mov dword [ebp - 0x808], eax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x804]
mov dword [ebp - 0x80c], 0x800
push eax
lea eax, [ebp - 0x808]
push eax
push 0
push str.InstallDir
push dword [ebp - 0x810]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x810]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x804], ax
jne 0x42009e
xor ecx, ecx
jmp 0x4200b6
lea ecx, [ebp - 0x804]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4200a7
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x804]
mov ecx, esi
push eax
call fcn.00407100
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004d5413
mov esp, ebp
pop ebp
ret
Function at 0x420500
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51313e
mov eax, dword fs:[0]
push eax
sub esp, 0x834
mov eax, dword [0x5634e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x814], ax
lea eax, [ebp - 0x812]
push eax
mov dword [ebp - 0x824], 0
call fcn.004de630
mov eax, dword [0x56db58]
add esp, 0xc
mov dword [ebp - 0x820], 0
test eax, eax
jne 0x42059d
push 0x38
call fcn.004d5562
add esp, 4
mov dword [ebp - 0x818], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x42058f
mov ecx, eax
call fcn.00410ed0
jmp 0x420591
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x56db58], eax
lea ecx, [ebp - 0x83c]
push ecx
mov ecx, eax
call fcn.00411810
cmp dword [eax + 0x14], 8
jb 0x4205b3
mov eax, dword [eax]
lea ecx, [ebp - 0x820]
push ecx
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
cmp dword [ebp - 0x828], 8
mov edi, eax
jb 0x4205df
push dword [ebp - 0x83c]
call fcn.004c8900
add esp, 4
test edi, edi
jne 0x420626
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x81c], 0x800
push eax
lea eax, [ebp - 0x814]
mov dword [ebp - 0x818], edi
push eax
lea eax, [ebp - 0x818]
push eax
push edi
push str.Version
push dword [ebp - 0x820]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x820]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x814], ax
jne 0x420646
xor ecx, ecx
jmp 0x42065f
lea ecx, [ebp - 0x814]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420650
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x814]
mov ecx, esi
push eax
call fcn.00407100
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d5413
mov esp, ebp
pop ebp
ret 4

Function at 0x420750
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, ecx
push esi
push edi
push 0xc
lea edi, [ebx + 0x9c]
mov dword [ebx + 0x104], edi
call fcn.004d5562
mov esi, eax
add esp, 4
test esi, esi
je 0x420791
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], vtable.MemberFuncRunable_class_DownloaderModel_.0
mov dword [esi + 4], ebx
mov dword [esi + 8], 0x4207d0
jmp 0x420793
xor esi, esi
cmp dword [edi + 4], 0
jne 0x4207c9
push 0
push 0
push 0
push 0
mov byte [edi + 0xc], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push edi
push 0x4080e0
push 0
push 0
mov dword [edi + 8], eax
mov dword [edi], esi
call fcn.004d6023
add esp, 0x18
mov dword [edi + 4], eax
pop edi
pop esi
pop ebx
ret
Function at 0x423ba0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x5634e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov dword [ebp - 0x268], 0
push 0x256
push eax
mov word [ebp - 0x25c], ax
mov esi, edx
lea eax, [ebp - 0x25a]
mov edi, ecx
push eax
call fcn.004de630
add esp, 0xc
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x423c30
lea eax, [ebp - 0x260]
push eax
push 4
lea eax, [ebp - 0x264]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x423c29
push 0x104
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0x264]
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp word [ebp - 0x25c], ax
jne 0x423c50
xor ecx, ecx
jmp 0x423c6f
lea ecx, [ebp - 0x25c]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423c60
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x25c]
mov ecx, edi
push eax
call fcn.00407100
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004d5413
mov esp, ebp
pop ebp
ret
Function at 0x424510
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513671
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x5634e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x134]
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
mov dword [ebp - 0x134], 0x11c
call edi
test eax, eax
jne 0x424573
lea eax, [ebp - 0x134]
mov dword [ebp - 0x134], 0x114
push eax
call edi
cmp dword [ebp - 0x130], 6
jb 0x42465e
cmp dword [ebp - 0x12c], 2
jb 0x42465e
push str.runPlayer_no_amdin
push 0x476
push str.DownloaderModel::runPlayer
call fcn.0040c770
add esp, 0xc
lea edx, [ebx + 0x2a4]
lea ecx, [ebp - 0x14c]
push str.dnplayer.exe
call fcn.00408d20
add esp, 4
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
jb 0x4245ce
mov edx, dword [esi]
jmp 0x4245d0
mov edx, esi
sub esp, 8
mov ecx, eax
call fcn.00424150
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x138], 8
mov edi, eax
jb 0x4245fd
push dword [ebp - 0x14c]
call fcn.004c8900
add esp, 4
cmp edi, 0xffffffff
jne 0x42469f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.runPlayer_no_amdin_error__d
push 0x47a
push str.DownloaderModel::runPlayer
call fcn.0040c770
push str.dnplayer.exe
lea edx, [ebx + 0x2a4]
lea ecx, [ebp - 0x14c]
call fcn.00408d20
add esp, 0xc
mov dword [ebp - 4], 1
mov edx, esi
mov ecx, eax
call fcn.004090e0
add esp, 8
cmp dword [ebp - 0x138], 8
jb 0x42469f
push dword [ebp - 0x14c]
jmp 0x424697
push str.dnplayer.exe
lea edx, [ebx + 0x2a4]
lea ecx, [ebp - 0x164]
call fcn.00408d20
push ecx
mov edx, esi
mov dword [ebp - 4], 2
mov ecx, eax
call fcn.004090e0
add esp, 8
cmp dword [ebp - 0x150], 8
jb 0x42469f
push dword [ebp - 0x164]
call fcn.004c8900
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d5413
mov esp, ebp
pop ebp
ret 4
Function at 0x426b80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x5634e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 8
mov edi, ecx
call fcn.004d5562
mov esi, eax
add esp, 4
test esi, esi
je 0x426bb4
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi], vtable.FunctionRunable_class__lambda_d351f03860f869b820ecb1d1e7dc1a03__.0
mov dword [esi + 4], edi
jmp 0x426bb6
xor esi, esi
add edi, 0x120
cmp dword [edi + 4], 0
jne 0x426bf2
push 0
push 0
push 0
push 0
mov byte [edi + 0xc], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push edi
push 0x4080e0
push 0
push 0
mov dword [edi + 8], eax
mov dword [edi], esi
call fcn.004d6023
add esp, 0x18
mov dword [edi + 4], eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004d5413
mov esp, ebp
pop ebp
ret

Function at 0x42a620
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5143b8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x5634e0]
xor eax, esp
mov dword [esp + 0xc], eax
push esi
push edi
mov eax, dword [0x5634e0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
lea eax, [esp + 0x10]
mov dword [esp + 0xc], 0
xorps xmm0, xmm0
push eax
movq qword [esp + 0x14], xmm0
call fcn.004d7e16
push 0x55f940
lea eax, [esp + 0x18]
mov dword [esp + 0x30], 0
push esi
push eax
call fcn.004d7de4
lea eax, [esp + 0x20]
push eax
push edi
call fcn.004d7dc4
lea eax, [esp + 0x28]
mov dword [esp + 0x40], 0xffffffff
push eax
call fcn.004d7e67
add esp, 0x1c
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.004d5413
mov esp, ebp
pop ebp
ret