joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408e00
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x50a488]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, edx
mov esi, ecx
cmp dword [edi + 0x14], 8
jb 0x408e23
mov ecx, dword [edi]
jmp 0x408e25
mov ecx, edi
cmp dword [esi + 0x14], 8
jb 0x408e2f
mov edx, dword [esi]
jmp 0x408e31
mov edx, esi
movzx eax, byte [ebp + 0xc]
push eax
push 1
push ecx
push edx
push str.shell_filename____s___param____s___runas___d__show___d
push 0xb
push str.utility::process::shell
call fcn.0040c250
push pe_nt_image_headers32
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.0049bf90
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 0x408e93
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, str.open
mov eax, str.runas
mov edx, 5
cmovb eax, ecx
xor ecx, ecx
cmp byte [ebp + 0xc], cl
cmovne ecx, edx
cmp dword [edi + 0x14], 8
jb 0x408ebc
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x408ec4
mov esi, dword [esi]
push ecx
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 0x408f04
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.shellEx_failed____lastError___d
push 0x18
push str.utility::process::shell
call fcn.0040c250
add esp, 0x10
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491a43
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.00491a43
mov esp, ebp
pop ebp
ret
Function at 0x409020
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c6f0e
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x50a488]
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 0x40905b
mov eax, dword [esi]
jmp 0x40905d
mov eax, esi
cmp dword [edi + 0x14], 8
jb 0x409065
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.0040c250
push edi
mov edx, 0x4e8bbc
lea ecx, [ebp - 0x98]
call fcn.004091f0
push 0x4e8bbc
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00408b30
add esp, 0x20
mov byte [ebp - 4], 2
cmp dword [ebp - 0x84], 8
jb 0x4090c2
push dword [ebp - 0x98]
call fcn.00491ba0
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 0x409124
push esi
mov edx, 0x4e8bc0
lea ecx, [ebp - 0xb0]
call fcn.004091f0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00408c50
mov byte [ebp - 4], 2
cmp dword [ebp - 0x9c], 8
jb 0x409124
push dword [ebp - 0xb0]
call fcn.00491ba0
add esp, 4
push 0x40
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.0049bf90
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 0x4091b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.createProcess_failed____lastError___d
push 0xfd
push str.utility::process::create
call fcn.0040c250
add esp, 0x10
xor esi, esi
jmp 0x4091c1
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x38]
cmp dword [ebp - 0x14], 8
jb 0x4091d2
push dword [ebp - 0x28]
call fcn.00491ba0
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.00491a43
mov esp, ebp
pop ebp
ret

Function at 0x40bc40
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x50a488]
xor eax, ebp
mov dword [ebp - 4], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.0049bf90
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 0x40bc9b
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.00491a43
mov esp, ebp
pop ebp
ret
Function at 0x40bdc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x50a488]
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.0049bf90
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 0x40be02
mov eax, dword [esi]
jmp 0x40be04
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 0x40be3b
cmp dword [esi + 0x14], 8
jb 0x40be24
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.00491a43
mov esp, ebp
pop ebp
ret

Function at 0x40e110
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1c8
mov eax, dword [0x50a488]
xor eax, esp
mov dword [esp + 0x1c4], 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 0x40e16a
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 + 0x1c4]
xor ecx, esp
call fcn.00491a43
mov esp, ebp
pop ebp
ret 0x10
lea eax, [esp + 0x38]
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 0x4e84ac
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
call fcn.00406e20
call fcn.0043bb50
mov dword [0x5132c0], 0x43de80
call fcn.0040c480
push 0x4e9e30
push str.downloader_start._version_is_:__s_
push 0x62
push str.wWinMain
call fcn.0040c250
add esp, 0x40
push str.commoninit_end
push 0x64
push str.wWinMain
call fcn.0040c250
add esp, 8
mov ecx, esi
call fcn.0040df30
add esp, 4
push str.duilibInit2_end
push 0x67
push str.wWinMain
call fcn.0040c250
add esp, 0xc
call fcn.0040dfe0
xorps xmm0, xmm0
mov dword [esp + 0x20], 0
push edi
movdqa xmmword [esp + 0x14], xmm0
lea ecx, [esp + 0x14]
push esi
mov dword [esp + 0x18], vtable.DNDownloaderImpl.0
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
call fcn.0040ef70
test al, al
je 0x40e256
call fcn.0044f140
lea ecx, [esp + 0x10]
call fcn.0040f290
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x1cc]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00491a43
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40ee60
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov dword [0x5132c8], 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 0x40f720
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x50a488]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x11c]
push pe_nt_image_headers32
push 0
push eax
mov dword [ebp - 0x124], 0
call fcn.0049bf90
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 0x40f789
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, esi
push 0xffffffffffffffff
jb 0x40f79d
push str.mainframe.xml
jmp 0x40f7a2
push str.mainframe_xp.xml
call fcn.004475e0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00491a43
mov esp, ebp
pop ebp
ret 4
Function at 0x413e10
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, ecx
push esi
push edi
push 0x10
lea esi, [ebx + 0x54c]
mov dword [ebx + 0x5b4], esi
call fcn.00491ba5
mov edi, eax
add esp, 4
test edi, edi
je 0x413e51
xorps xmm0, xmm0
movdqu xmmword [edi], xmm0
mov dword [edi], vtable.MemberFuncRunable_class_DNDownloaderMainFrame_.0
mov dword [edi + 4], ebx
mov dword [edi + 8], 0x4142a0
mov dword [edi + 0xc], 0
jmp 0x413e53
xor edi, edi
cmp dword [esi + 4], 0
jne 0x413e89
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 0x407de0
push 0
push 0
mov dword [esi + 8], eax
mov dword [esi], edi
call fcn.00492663
add esp, 0x18
mov dword [esi + 4], eax
pop edi
pop esi
pop ebx
ret

Function at 0x415860
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c83eb
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x50a488]
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 [0x514284]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x34], 0
test esi, esi
jne 0x4158cd
push 0x38
call fcn.00491ba5
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], esi
test eax, eax
je 0x4158be
mov ecx, eax
call fcn.0040d1a0
mov esi, eax
jmp 0x4158c0
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [0x514284], esi
push 2
push 0x4e8e84
push dword [esi + 0x10]
push ecx
mov ecx, esi
call fcn.00406140
test eax, eax
jne 0x4158ea
mov eax, 0x84
jmp 0x415907
push 2
push 0x4e9348
push dword [esi + 0x10]
push ecx
mov ecx, esi
call fcn.00406140
neg eax
sbb eax, eax
neg eax
add eax, 0x8a
movzx eax, ax
push 0x4eb550
push eax
call fcn.0044bed0
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x415941
push eax
mov dword [edi + 0x14], 7
mov ecx, edi
mov dword [edi + 0x10], eax
push 0x4e84ac
mov word [edi], ax
call fcn.00406e20
jmp 0x4159c4
push ebx
call fcn.0044bed0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x30], eax
push ebx
test eax, eax
jne 0x41596a
call dword [sym.imp.KERNEL32.dll_FreeResource]
push 0x4e84ac
mov ecx, edi
call fcn.00406f20
jmp 0x4159c4
call fcn.0044bed0
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.00406e20
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.00406db0
cmp dword [ebp - 0x18], 8
jb 0x4159c4
push dword [ebp - 0x2c]
call fcn.00491ba0
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.00491a43
mov esp, ebp
pop ebp
ret 4
Function at 0x416930
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.00410970

Function at 0x418580
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [0x5132cc]
push edi
mov eax, dword [esi + 0x38c]
test eax, eax
je 0x4185ac
mov ecx, dword [0x5132c4]
push eax
call fcn.0040c700
mov dword [esi + 0x38c], 0
mov eax, dword [esi + 0x390]
test eax, eax
je 0x4185cc
mov ecx, dword [0x5132c4]
push eax
call fcn.0040c700
mov dword [esi + 0x390], 0
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push dword [esi + 0x2c0]
call edi
mov eax, dword [esi + 0x9c]
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
je 0x41861a
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x418608
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 0x418632
mov eax, dword [ecx]
call dword [eax]
mov dword [esi + 0x98], 0
mov eax, dword [esi + 0xa0]
test eax, eax
je 0x418649
push eax
call edi
mov dword [esi + 0xa0], 0
mov eax, dword [esi + 0x2b0]
test eax, eax
je 0x418682
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x418670
push 0xffffffffffffffff
push dword [esi + 0x2b0]
call ebx
push dword [esi + 0x2b0]
call edi
mov dword [esi + 0x2b0], 0
mov ecx, dword [esi + 0x2ac]
test ecx, ecx
je 0x41869a
mov eax, dword [ecx]
call dword [eax]
mov dword [esi + 0x2ac], 0
mov eax, dword [esi + 0x2b4]
test eax, eax
je 0x4186b1
push eax
call edi
mov dword [esi + 0x2b4], 0
mov eax, dword [esi + 0x110]
test eax, eax
je 0x4186ea
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4186d8
push 0xffffffffffffffff
push dword [esi + 0x110]
call ebx
push dword [esi + 0x110]
call edi
mov dword [esi + 0x110], 0
mov ecx, dword [esi + 0x10c]
pop ebx
test ecx, ecx
je 0x418703
mov eax, dword [ecx]
call dword [eax]
mov dword [esi + 0x10c], 0
mov eax, dword [esi + 0x114]
test eax, eax
je 0x41871a
push eax
call edi
mov dword [esi + 0x114], 0
lea ecx, [esi + 0x1e4]
call fcn.00427e90
lea ecx, [esi + 0x11c]
call fcn.00427e90
lea ecx, [esi + 0x180]
call fcn.00427e90
lea ecx, [esi + 0x248]
call fcn.00427e90
mov ecx, dword [0x5132c4]
lea eax, [esi + 0x2bc]
push eax
mov byte [esi + 0x440], 1
call fcn.0040c610
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x418770
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.2266E930_7040_4A6B_B7C8_E44663785cdd
lea ecx, [ebp - 0x18]
mov word [ebp - 0x18], ax
call fcn.00406e20
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 0x4187cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4187cf
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
cmp dword [ebp - 4], 8
jb 0x4187e0
push dword [ebp - 0x18]
call fcn.00491ba0
add esp, 4
test esi, esi
jne 0x41885e
push 0x26
xor eax, eax
mov dword [ebp - 4], 7
push str.2266E930_7040_4A6B_B7C8_E44663785cdd
lea ecx, [ebp - 0x18]
mov dword [ebp - 8], esi
mov word [ebp - 0x18], ax
call fcn.00406e20
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 0x41882b
push dword [ebp - 0x18]
call fcn.00491ba0
add esp, 4
test esi, esi
je 0x41883f
push 0
push 0
push 0x2b73
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
push str.DNDownloaderModel::popupExistPwnd_exist
push 0xd0
push str.DNDownloaderModel::popupExistPwnd
call fcn.0040c250
add esp, 0xc
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.CCmdLine::popupExistPwnd_not_exist
push 0xd4
push str.DNDownloaderModel::popupExistPwnd
mov dword [edi + 0x2c0], esi
call fcn.0040c250
add esp, 0xc
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x418890
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x50a488]
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.0049bf90
add esp, 0xc
mov dword [ebp - 0x810], 0
cmp dword [edi + 0x14], 8
jb 0x4188e3
mov edi, dword [edi]
lea eax, [ebp - 0x810]
push eax
push edi
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x41893e
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 0x41895e
xor ecx, ecx
jmp 0x418976
lea ecx, [ebp - 0x804]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418967
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x804]
mov ecx, esi
push eax
call fcn.00406e20
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00491a43
mov esp, ebp
pop ebp
ret
Function at 0x418dc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8ace
mov eax, dword fs:[0]
push eax
sub esp, 0x834
mov eax, dword [0x50a488]
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.0049bf90
mov eax, dword [0x514284]
add esp, 0xc
mov dword [ebp - 0x820], 0
test eax, eax
jne 0x418e5d
push 0x38
call fcn.00491ba5
add esp, 4
mov dword [ebp - 0x818], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x418e4f
mov ecx, eax
call fcn.0040d1a0
jmp 0x418e51
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x514284], eax
lea ecx, [ebp - 0x83c]
push ecx
mov ecx, eax
call fcn.0040d980
cmp dword [eax + 0x14], 8
jb 0x418e73
mov eax, dword [eax]
lea ecx, [ebp - 0x820]
push ecx
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
cmp dword [ebp - 0x828], 8
mov edi, eax
jb 0x418e9f
push dword [ebp - 0x83c]
call fcn.00491ba0
add esp, 4
test edi, edi
jne 0x418ee6
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 0x418f06
xor ecx, ecx
jmp 0x418f1f
lea ecx, [ebp - 0x814]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418f10
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x814]
mov ecx, esi
push eax
call fcn.00406e20
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.00491a43
mov esp, ebp
pop ebp
ret 4

Function at 0x418fd0
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.00491ba5
mov esi, eax
add esp, 4
test esi, esi
je 0x419011
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], vtable.MemberFuncRunable_class_DNDownloaderModel_.0
mov dword [esi + 4], ebx
mov dword [esi + 8], 0x419050
jmp 0x419013
xor esi, esi
cmp dword [edi + 4], 0
jne 0x419049
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 0x407de0
push 0
push 0
mov dword [edi + 8], eax
mov dword [edi], esi
call fcn.00492663
add esp, 0x18
mov dword [edi + 4], eax
pop edi
pop esi
pop ebx
ret
Function at 0x41af30
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov edi, ecx
push 0xc
mov byte [edi + 0x30d], 1
call fcn.00491ba5
mov esi, eax
add esp, 4
test esi, esi
je 0x41af6b
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], vtable.MemberFuncRunable_class_DNDownloaderModel_.0
mov dword [esi + 4], edi
mov dword [esi + 8], 0x41c340
jmp 0x41af6d
xor esi, esi
add edi, 0x2ac
cmp dword [edi + 4], 0
jne 0x41afa9
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 0x407de0
push 0
push 0
mov dword [edi + 8], eax
mov dword [edi], esi
call fcn.00492663
add esp, 0x18
mov dword [edi + 4], eax
pop edi
pop esi
ret

Function at 0x41b050
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x50a488]
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.0049bf90
add esp, 0xc
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x41b0e0
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 0x41b0d9
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 0x41b100
xor ecx, ecx
jmp 0x41b11f
lea ecx, [ebp - 0x25c]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b110
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x25c]
mov ecx, edi
push eax
call fcn.00406e20
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00491a43
mov esp, ebp
pop ebp
ret
Function at 0x41b9c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9021
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x50a488]
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 0x41ba23
lea eax, [ebp - 0x134]
mov dword [ebp - 0x134], 0x114
push eax
call edi
cmp dword [ebp - 0x130], 6
jb 0x41bb11
cmp dword [ebp - 0x12c], 2
jb 0x41bb11
push str.runPlayer_no_amdin
push 0x467
push str.DNDownloaderModel::runPlayer
call fcn.0040c250
add esp, 0xc
lea edx, [ebx + 0x2f4]
lea ecx, [ebp - 0x14c]
push str.dnplayer.exe
call fcn.00408a40
add esp, 4
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
jb 0x41ba7e
mov edx, dword [esi]
jmp 0x41ba80
mov edx, esi
sub esp, 8
mov ecx, eax
call fcn.0041b600
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x138], 8
mov edi, eax
jb 0x41baad
push dword [ebp - 0x14c]
call fcn.00491ba0
add esp, 4
cmp edi, 0xffffffff
jne 0x41bb57
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.runPlayer_no_amdin_error__d
push 0x46b
push str.DNDownloaderModel::runPlayer
call fcn.0040c250
push str.dnplayer.exe
lea edx, [ebx + 0x2f4]
lea ecx, [ebp - 0x14c]
call fcn.00408a40
add esp, 0x14
push 0
push ecx
mov edx, esi
mov dword [ebp - 4], 1
mov ecx, eax
call fcn.00408e00
add esp, 8
cmp dword [ebp - 0x138], 8
jb 0x41bb57
push dword [ebp - 0x14c]
jmp 0x41bb4f
push str.dnplayer.exe
lea edx, [ebx + 0x2f4]
lea ecx, [ebp - 0x164]
call fcn.00408a40
add esp, 4
push 0
push ecx
mov edx, esi
mov dword [ebp - 4], 2
mov ecx, eax
call fcn.00408e00
add esp, 8
cmp dword [ebp - 0x150], 8
jb 0x41bb57
push dword [ebp - 0x164]
call fcn.00491ba0
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.00491a43
mov esp, ebp
pop ebp
ret 4