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.004c6fc3
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 [0x550910]
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.0040bb40
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.004cff40
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.0040bb40
add esp, 0x10
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c63a3
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.004c63a3
mov esp, ebp
pop ebp
ret
Function at 0x408870
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x500d3e
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x550910]
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.0040bb40
push edi
mov edx, 0x52d104
lea ecx, [ebp - 0x98]
call fcn.00408a40
push 0x52d104
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.004c6500
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, 0x52d108
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.004c6500
add esp, 4
push 0x40
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.004cff40
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.0040bb40
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.004c6500
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.004c63a3
mov esp, ebp
pop ebp
ret

Function at 0x40b530
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x550910]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.004cff40
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 0x40b58b
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.004c63a3
mov esp, ebp
pop ebp
ret
Function at 0x40b6b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x550910]
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.004cff40
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 0x40b6f2
mov eax, dword [esi]
jmp 0x40b6f4
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 0x40b72b
cmp dword [esi + 0x14], 8
jb 0x40b714
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.004c63a3
mov esp, ebp
pop ebp
ret

Function at 0x40dc90
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1b8
mov eax, dword [0x550910]
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 0x40dcea
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.004c63a3
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 0x52c9f8
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
call fcn.004067b0
call fcn.00442290
mov dword [0x559990], 0x444620
call fcn.0040bcd0
push 0x52e89c
push str.downloader_start._version_is_:__s_
push 0xad
push str.wWinMain
call fcn.0040bb40
add esp, 0x40
push str.commoninit_end
push 0xaf
push str.wWinMain
call fcn.0040bb40
add esp, 8
mov ecx, esi
call fcn.0040dab0
add esp, 4
push str.duilibInit2_end
push 0xb2
push str.wWinMain
call fcn.0040bb40
add esp, 0xc
call fcn.0040db60
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.0040ee10
test al, al
je 0x40ddcf
call fcn.00483a10
call fcn.0040f130
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x1bc]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.004c63a3
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40ed00
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov dword [0x559998], 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 0x414e60
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.004c6505
mov edi, eax
add esp, 4
test edi, edi
je 0x414ea1
xorps xmm0, xmm0
movdqu xmmword [edi], xmm0
mov dword [edi], vtable.MemberFuncRunable_class_DMainFrame_.0
mov dword [edi + 4], ebx
mov dword [edi + 8], 0x4153e0
mov dword [edi + 0xc], 0
jmp 0x414ea3
xor edi, edi
cmp dword [esi + 4], 0
jne 0x414ed9
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.004c6fc3
add esp, 0x18
mov dword [esi + 4], eax
pop edi
pop esi
pop ebx
ret

Function at 0x416980
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50250b
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x550910]
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 [0x55a4fc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x34], 0
test esi, esi
jne 0x4169ed
push 0x38
call fcn.004c6505
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], esi
test eax, eax
je 0x4169de
mov ecx, eax
call fcn.0040c9f0
mov esi, eax
jmp 0x4169e0
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [0x55a4fc], esi
push 2
push 0x52d3fc
push dword [esi + 0x10]
push ecx
mov ecx, esi
call fcn.00405ad0
test eax, eax
jne 0x416a0a
mov eax, 0x82
jmp 0x416a27
push 2
push 0x52d9c8
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 0x52ff9c
push eax
call fcn.004807a0
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x416a61
push eax
mov dword [edi + 0x14], 7
mov ecx, edi
mov dword [edi + 0x10], eax
push 0x52c9f8
mov word [edi], ax
call fcn.004067b0
jmp 0x416ae4
push ebx
call fcn.004807a0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x30], eax
push ebx
test eax, eax
jne 0x416a8a
call dword [sym.imp.KERNEL32.dll_FreeResource]
push 0x52c9f8
mov ecx, edi
call fcn.004068b0
jmp 0x416ae4
call fcn.004807a0
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 0x416ae4
push dword [ebp - 0x2c]
call fcn.004c6500
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.004c63a3
mov esp, ebp
pop ebp
ret 4

Function at 0x418b80
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.00411200
Function at 0x41abc0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [0x55999c]
push edi
mov eax, dword [esi + 0x34c]
test eax, eax
je 0x41abec
mov ecx, dword [0x559994]
push eax
call fcn.0040bf50
mov dword [esi + 0x34c], 0
mov eax, dword [esi + 0x350]
test eax, eax
je 0x41ac0c
mov ecx, dword [0x559994]
push eax
call fcn.0040bf50
mov dword [esi + 0x350], 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 0x41ac5a
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41ac48
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 0x41ac72
mov eax, dword [ecx]
call dword [eax]
mov dword [esi + 0x98], 0
mov eax, dword [esi + 0xa0]
test eax, eax
je 0x41ac89
push eax
call edi
mov dword [esi + 0xa0], 0
mov eax, dword [esi + 0x110]
test eax, eax
je 0x41acc2
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41acb0
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 0x41acda
mov eax, dword [ecx]
call dword [eax]
mov dword [esi + 0x10c], 0
mov eax, dword [esi + 0x114]
test eax, eax
je 0x41acf1
push eax
call edi
mov dword [esi + 0x114], 0
mov eax, dword [esi + 0x120]
test eax, eax
je 0x41ad27
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41ad15
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 0x41ad3f
mov eax, dword [ecx]
call dword [eax]
mov dword [esi + 0x11c], 0
mov eax, dword [esi + 0x124]
test eax, eax
je 0x41ad56
push eax
call edi
mov dword [esi + 0x124], 0
mov eax, dword [esi + 0x130]
test eax, eax
je 0x41ad8f
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41ad7d
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 0x41ada8
mov eax, dword [ecx]
call dword [eax]
mov dword [esi + 0x12c], 0
mov eax, dword [esi + 0x134]
test eax, eax
je 0x41adbf
push eax
call edi
mov dword [esi + 0x134], 0
lea ecx, [esi + 0x13c]
call fcn.0042b660
lea ecx, [esi + 0x1a0]
call fcn.0042b660
lea ecx, [esi + 0x204]
call fcn.0042b660
mov ecx, dword [0x559994]
lea eax, [esi + 0x268]
push eax
mov byte [esi + 0x400], 1
call fcn.0040be60
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41ae00
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 0x41ae5f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41ae5f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
cmp dword [ebp - 4], 8
jb 0x41ae70
push dword [ebp - 0x18]
call fcn.004c6500
add esp, 4
test esi, esi
jne 0x41aeee
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 0x41aebb
push dword [ebp - 0x18]
call fcn.004c6500
add esp, 4
test esi, esi
je 0x41aecf
push 0
push 0
push 0x2b73
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
push str.wnd_exist
push 0xf0
push str.DownloaderModel::popupExistPwnd
call fcn.0040bb40
add esp, 0xc
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.wnd_not_exist
push 0xf4
push str.DownloaderModel::popupExistPwnd
mov dword [edi + 0x26c], esi
call fcn.0040bb40
add esp, 0xc
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41af20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x550910]
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.004cff40
add esp, 0xc
mov dword [ebp - 0x810], 0
cmp dword [edi + 0x14], 8
jb 0x41af73
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 0x41afce
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 0x41afee
xor ecx, ecx
jmp 0x41b006
lea ecx, [ebp - 0x804]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41aff7
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.004c63a3
mov esp, ebp
pop ebp
ret
Function at 0x41b450
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x502e5e
mov eax, dword fs:[0]
push eax
sub esp, 0x834
mov eax, dword [0x550910]
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.004cff40
mov eax, dword [0x55a4fc]
add esp, 0xc
mov dword [ebp - 0x820], 0
test eax, eax
jne 0x41b4ed
push 0x38
call fcn.004c6505
add esp, 4
mov dword [ebp - 0x818], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x41b4df
mov ecx, eax
call fcn.0040c9f0
jmp 0x41b4e1
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x55a4fc], eax
lea ecx, [ebp - 0x83c]
push ecx
mov ecx, eax
call fcn.0040d340
cmp dword [eax + 0x14], 8
jb 0x41b503
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 0x41b52f
push dword [ebp - 0x83c]
call fcn.004c6500
add esp, 4
test edi, edi
jne 0x41b576
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 0x41b596
xor ecx, ecx
jmp 0x41b5af
lea ecx, [ebp - 0x814]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b5a0
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.004c63a3
mov esp, ebp
pop ebp
ret 4

Function at 0x41b660
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.004c6505
mov esi, eax
add esp, 4
test esi, esi
je 0x41b6a1
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], 0x41b6e0
jmp 0x41b6a3
xor esi, esi
cmp dword [edi + 4], 0
jne 0x41b6d9
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.004c6fc3
add esp, 0x18
mov dword [edi + 4], eax
pop edi
pop esi
pop ebx
ret
Function at 0x41dff0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x550910]
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.004cff40
add esp, 0xc
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x41e080
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 0x41e079
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 0x41e0a0
xor ecx, ecx
jmp 0x41e0bf
lea ecx, [ebp - 0x25c]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e0b0
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.004c63a3
mov esp, ebp
pop ebp
ret
Function at 0x41e960
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5032e1
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x550910]
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 0x41e9c3
lea eax, [ebp - 0x134]
mov dword [ebp - 0x134], 0x114
push eax
call edi
cmp dword [ebp - 0x130], 6
jb 0x41eaae
cmp dword [ebp - 0x12c], 2
jb 0x41eaae
push str.runPlayer_no_amdin
push 0x46a
push str.DownloaderModel::runPlayer
call fcn.0040bb40
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 0x41ea1e
mov edx, dword [esi]
jmp 0x41ea20
mov edx, esi
sub esp, 8
mov ecx, eax
call fcn.0041e5a0
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x138], 8
mov edi, eax
jb 0x41ea4d
push dword [ebp - 0x14c]
call fcn.004c6500
add esp, 4
cmp edi, 0xffffffff
jne 0x41eaef
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.runPlayer_no_amdin_error__d
push 0x46e
push str.DownloaderModel::runPlayer
call fcn.0040bb40
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 0x41eaef
push dword [ebp - 0x14c]
jmp 0x41eae7
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 0x41eaef
push dword [ebp - 0x164]
call fcn.004c6500
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.004c63a3
mov esp, ebp
pop ebp
ret 4