joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4076c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x4076d3
xor al, al
pop esi
pop ebp
ret 4
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 0x407780
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
push 0
push 0
mov dword [esi], eax
call fcn.0049c3a3
add esp, 0x18
mov dword [esi + 4], eax
mov al, 1
pop esi
pop ebp
ret 4

Function at 0x407710
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x407749
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x407739
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov ecx, dword [esi]
test ecx, ecx
je 0x407759
mov eax, dword [ecx]
call dword [eax]
mov dword [esi], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x40776e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
pop esi
pop ebp
ret 4

Function at 0x408660
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5178cc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, edx
mov esi, ecx
cmp dword [edi + 0x14], 8
jb 0x408683
mov eax, dword [edi]
jmp 0x408685
mov eax, edi
cmp dword [esi + 0x14], 8
jb 0x40868d
mov ecx, dword [esi]
push 0
push 1
push eax
push ecx
push str.shell_filename____s___param____s___runas___d__show___d
push 0xb
push str.utility::process::shell
call fcn.0040bb00
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.004a79c0
add esp, 0x28
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x4086ec
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
mov eax, str.runas
mov ecx, str.open
cmovb eax, ecx
cmp dword [edi + 0x14], 8
jb 0x408708
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x408710
mov esi, dword [esi]
push 0
push 0
push edi
push esi
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
cmp eax, 0x20
jg 0x408751
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.shellEx_failed____lastError___d
push 0x18
push str.utility::process::shell
call fcn.0040bb00
add esp, 0x10
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049b793
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.0049b793
mov esp, ebp
pop ebp
ret
Function at 0x408870
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d024e
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x5178cc]
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 0x4088ab
mov eax, dword [esi]
jmp 0x4088ad
mov eax, esi
cmp dword [edi + 0x14], 8
jb 0x4088b5
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.0040bb00
push edi
mov edx, 0x4f3e94
lea ecx, [ebp - 0x98]
call fcn.00408a40
push 0x4f3e94
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00407ff0
add esp, 0x20
mov byte [ebp - 4], 2
cmp dword [ebp - 0x84], 8
jb 0x408912
push dword [ebp - 0x98]
call fcn.0048ec00
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 0x408974
push esi
mov edx, 0x4f3e98
lea ecx, [ebp - 0xb0]
call fcn.00408a40
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.004084b0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x9c], 8
jb 0x408974
push dword [ebp - 0xb0]
call fcn.0048ec00
add esp, 4
push 0x40
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.004a79c0
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 0x408a05
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.createProcess_failed____lastError___d
push 0xfd
push str.utility::process::create
call fcn.0040bb00
add esp, 0x10
xor esi, esi
jmp 0x408a11
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x38]
cmp dword [ebp - 0x14], 8
jb 0x408a22
push dword [ebp - 0x28]
call fcn.0048ec00
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.0049b793
mov esp, ebp
pop ebp
ret

Function at 0x40b4f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5178cc]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.004a79c0
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 0x40b54b
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.0049b793
mov esp, ebp
pop ebp
ret
Function at 0x40b670
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x5178cc]
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.004a79c0
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 0x40b6b2
mov eax, dword [esi]
jmp 0x40b6b4
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 0x40b6eb
cmp dword [esi + 0x14], 8
jb 0x40b6d4
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.0049b793
mov esp, ebp
pop ebp
ret

Function at 0x40db90
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1b8
mov eax, dword [0x5178cc]
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 0x40dbea
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.0049b793
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 0x4f3788
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
call fcn.004067b0
call fcn.00442000
mov dword [0x520780], 0x444390
call fcn.0040bc90
push 0x4f54e4
push str.downloader_start._version_is_:__s_
push 0xad
push str.wWinMain
call fcn.0040bb00
add esp, 0x40
push str.commoninit_end
push 0xaf
push str.wWinMain
call fcn.0040bb00
add esp, 8
mov ecx, esi
call fcn.0040d9b0
add esp, 4
push str.duilibInit2_end
push 0xb2
push str.wWinMain
call fcn.0040bb00
add esp, 0xc
call fcn.0040da60
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.0040ed10
test al, al
je 0x40dccf
call fcn.00458d50
call fcn.0040f030
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x1bc]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0049b793
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40ec00
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov dword [0x520788], 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 0x414c00
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.0049b8e2
mov edi, eax
add esp, 4
test edi, edi
je 0x414c41
xorps xmm0, xmm0
movdqu xmmword [edi], xmm0
mov dword [edi], vtable.MemberFuncRunable_class_DMainFrame_.0
mov dword [edi + 4], ebx
mov dword [edi + 8], 0x415180
mov dword [edi + 0xc], 0
jmp 0x414c43
xor edi, edi
cmp dword [esi + 4], 0
jne 0x414c79
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 0x407780
push 0
push 0
mov dword [esi + 8], eax
mov dword [esi], edi
call fcn.0049c3a3
add esp, 0x18
mov dword [esi + 4], eax
pop edi
pop esi
pop ebx
ret

Function at 0x416720
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d19fb
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5178cc]
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 [0x5212ec]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x34], 0
test esi, esi
jne 0x41678d
push 0x38
call fcn.0049b8e2
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], esi
test eax, eax
je 0x41677e
mov ecx, eax
call fcn.0040c9b0
mov esi, eax
jmp 0x416780
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [0x5212ec], esi
push 2
push 0x4f418c
push dword [esi + 0x10]
push ecx
mov ecx, esi
call fcn.00405ad0
test eax, eax
jne 0x4167aa
mov eax, 0x82
jmp 0x4167c7
push 2
push 0x4f4628
push dword [esi + 0x10]
push ecx
mov ecx, esi
call fcn.00405ad0
neg eax
sbb eax, eax
neg eax
add eax, 0x83
movzx eax, ax
push 0x4f6bf4
push eax
call fcn.00455ae0
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x416801
push eax
mov dword [edi + 0x14], 7
mov ecx, edi
mov dword [edi + 0x10], eax
push 0x4f3788
mov word [edi], ax
call fcn.004067b0
jmp 0x416884
push ebx
call fcn.00455ae0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x30], eax
push ebx
test eax, eax
jne 0x41682a
call dword [sym.imp.KERNEL32.dll_FreeResource]
push 0x4f3788
mov ecx, edi
call fcn.004068b0
jmp 0x416884
call fcn.00455ae0
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.004067b0
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.00406740
cmp dword [ebp - 0x18], 8
jb 0x416884
push dword [ebp - 0x2c]
call fcn.0048ec00
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.0049b793
mov esp, ebp
pop ebp
ret 4

Function at 0x418cd0
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.00410fc0
Function at 0x41aa10
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [0x52078c]
push edi
mov eax, dword [esi + 0x334]
test eax, eax
je 0x41aa3c
mov ecx, dword [0x520784]
push eax
call fcn.0040bf10
mov dword [esi + 0x334], 0
mov eax, dword [esi + 0x338]
test eax, eax
je 0x41aa5c
mov ecx, dword [0x520784]
push eax
call fcn.0040bf10
mov dword [esi + 0x338], 0
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push dword [esi + 0x26c]
call edi
mov eax, dword [esi + 0x9c]
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
je 0x41aaaa
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41aa98
push 0xffffffffffffffff
push dword [esi + 0x9c]
call ebx
push dword [esi + 0x9c]
call edi
mov dword [esi + 0x9c], 0
mov ecx, dword [esi + 0x98]
test ecx, ecx
je 0x41aac2
mov eax, dword [ecx]
call dword [eax]
mov dword [esi + 0x98], 0
mov eax, dword [esi + 0xa0]
test eax, eax
je 0x41aad9
push eax
call edi
mov dword [esi + 0xa0], 0
mov eax, dword [esi + 0x110]
test eax, eax
je 0x41ab12
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41ab00
push 0xffffffffffffffff
push dword [esi + 0x110]
call ebx
push dword [esi + 0x110]
call edi
mov dword [esi + 0x110], 0
mov ecx, dword [esi + 0x10c]
test ecx, ecx
je 0x41ab2a
mov eax, dword [ecx]
call dword [eax]
mov dword [esi + 0x10c], 0
mov eax, dword [esi + 0x114]
test eax, eax
je 0x41ab41
push eax
call edi
mov dword [esi + 0x114], 0
mov eax, dword [esi + 0x120]
test eax, eax
je 0x41ab77
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41ab65
push 0xffffffffffffffff
push dword [esi + 0x120]
call ebx
push dword [esi + 0x120]
call edi
mov dword [esi + 0x120], 0
mov ecx, dword [esi + 0x11c]
test ecx, ecx
je 0x41ab8f
mov eax, dword [ecx]
call dword [eax]
mov dword [esi + 0x11c], 0
mov eax, dword [esi + 0x124]
test eax, eax
je 0x41aba6
push eax
call edi
mov dword [esi + 0x124], 0
mov eax, dword [esi + 0x130]
test eax, eax
je 0x41abdf
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41abcd
push 0xffffffffffffffff
push dword [esi + 0x130]
call ebx
push dword [esi + 0x130]
call edi
mov dword [esi + 0x130], 0
mov ecx, dword [esi + 0x12c]
pop ebx
test ecx, ecx
je 0x41abf8
mov eax, dword [ecx]
call dword [eax]
mov dword [esi + 0x12c], 0
mov eax, dword [esi + 0x134]
test eax, eax
je 0x41ac0f
push eax
call edi
mov dword [esi + 0x134], 0
lea ecx, [esi + 0x13c]
call fcn.0042b3a0
lea ecx, [esi + 0x1a0]
call fcn.0042b3a0
lea ecx, [esi + 0x204]
call fcn.0042b3a0
mov ecx, dword [0x520784]
lea eax, [esi + 0x268]
push eax
mov byte [esi + 0x3e8], 1
call fcn.0040be20
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41ac50
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.004067b0
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 0x41acaf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41acaf
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
cmp dword [ebp - 4], 8
jb 0x41acc0
push dword [ebp - 0x18]
call fcn.0048ec00
add esp, 4
test esi, esi
jne 0x41ad3e
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.004067b0
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 0x41ad0b
push dword [ebp - 0x18]
call fcn.0048ec00
add esp, 4
test esi, esi
je 0x41ad1f
push 0
push 0
push 0x2b73
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
push str.wnd_exist
push 0xd7
push str.DownloaderModel::popupExistPwnd
call fcn.0040bb00
add esp, 0xc
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.wnd_not_exist
push 0xdb
push str.DownloaderModel::popupExistPwnd
mov dword [edi + 0x26c], esi
call fcn.0040bb00
add esp, 0xc
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41ad70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x5178cc]
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.004a79c0
add esp, 0xc
mov dword [ebp - 0x810], 0
cmp dword [edi + 0x14], 8
jb 0x41adc3
mov edi, dword [edi]
lea eax, [ebp - 0x810]
push eax
push edi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x41ae1e
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 0x41ae3e
xor ecx, ecx
jmp 0x41ae56
lea ecx, [ebp - 0x804]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ae47
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x804]
mov ecx, esi
push eax
call fcn.004067b0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0049b793
mov esp, ebp
pop ebp
ret
Function at 0x41b2a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d234e
mov eax, dword fs:[0]
push eax
sub esp, 0x834
mov eax, dword [0x5178cc]
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.004a79c0
mov eax, dword [0x5212ec]
add esp, 0xc
mov dword [ebp - 0x820], 0
test eax, eax
jne 0x41b33d
push 0x38
call fcn.0049b8e2
add esp, 4
mov dword [ebp - 0x818], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x41b32f
mov ecx, eax
call fcn.0040c9b0
jmp 0x41b331
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x5212ec], eax
lea ecx, [ebp - 0x83c]
push ecx
mov ecx, eax
call fcn.0040d270
cmp dword [eax + 0x14], 8
jb 0x41b353
mov eax, dword [eax]
lea ecx, [ebp - 0x820]
push ecx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
cmp dword [ebp - 0x828], 8
mov edi, eax
jb 0x41b37f
push dword [ebp - 0x83c]
call fcn.0048ec00
add esp, 4
test edi, edi
jne 0x41b3c6
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 0x41b3e6
xor ecx, ecx
jmp 0x41b3ff
lea ecx, [ebp - 0x814]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b3f0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x814]
mov ecx, esi
push eax
call fcn.004067b0
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.0049b793
mov esp, ebp
pop ebp
ret 4

Function at 0x41b4b0
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, ecx
push esi
push edi
push 0xc
lea edi, [ebx + 0x98]
mov dword [ebx + 0x100], edi
call fcn.0049b8e2
mov esi, eax
add esp, 4
test esi, esi
je 0x41b4f1
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], 0x41b530
jmp 0x41b4f3
xor esi, esi
cmp dword [edi + 4], 0
jne 0x41b529
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 0x407780
push 0
push 0
mov dword [edi + 8], eax
mov dword [edi], esi
call fcn.0049c3a3
add esp, 0x18
mov dword [edi + 4], eax
pop edi
pop esi
pop ebx
ret
Function at 0x41dd50
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x5178cc]
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.004a79c0
add esp, 0xc
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x41dde0
lea eax, [ebp - 0x260]
push eax
push 4
lea eax, [ebp - 0x264]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x41ddd9
push 0x104
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0x264]
push esi
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
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 0x41de00
xor ecx, ecx
jmp 0x41de1f
lea ecx, [ebp - 0x25c]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41de10
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x25c]
mov ecx, edi
push eax
call fcn.004067b0
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0049b793
mov esp, ebp
pop ebp
ret
Function at 0x41e6c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d27c1
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x5178cc]
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 0x41e723
lea eax, [ebp - 0x134]
mov dword [ebp - 0x134], 0x114
push eax
call edi
cmp dword [ebp - 0x130], 6
jb 0x41e80e
cmp dword [ebp - 0x12c], 2
jb 0x41e80e
push str.runPlayer_no_amdin
push 0x43c
push str.DownloaderModel::runPlayer
call fcn.0040bb00
add esp, 0xc
lea edx, [ebx + 0x2a0]
lea ecx, [ebp - 0x14c]
push str.dnplayer.exe
call fcn.00407f00
add esp, 4
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
jb 0x41e77e
mov edx, dword [esi]
jmp 0x41e780
mov edx, esi
sub esp, 8
mov ecx, eax
call fcn.0041e300
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x138], 8
mov edi, eax
jb 0x41e7ad
push dword [ebp - 0x14c]
call fcn.0048ec00
add esp, 4
cmp edi, 0xffffffff
jne 0x41e84f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.runPlayer_no_amdin_error__d
push 0x440
push str.DownloaderModel::runPlayer
call fcn.0040bb00
push str.dnplayer.exe
lea edx, [ebx + 0x2a0]
lea ecx, [ebp - 0x14c]
call fcn.00407f00
add esp, 0xc
mov dword [ebp - 4], 1
mov edx, esi
mov ecx, eax
call fcn.00408660
add esp, 8
cmp dword [ebp - 0x138], 8
jb 0x41e84f
push dword [ebp - 0x14c]
jmp 0x41e847
push str.dnplayer.exe
lea edx, [ebx + 0x2a0]
lea ecx, [ebp - 0x164]
call fcn.00407f00
push ecx
mov edx, esi
mov dword [ebp - 4], 2
mov ecx, eax
call fcn.00408660
add esp, 8
cmp dword [ebp - 0x150], 8
jb 0x41e84f
push dword [ebp - 0x164]
call fcn.0048ec00
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.0049b793
mov esp, ebp
pop ebp
ret 4