joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ccbe0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4f256f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
mov ebx, ecx
push ebp
push esi
mov ebp, dword [ebx + 8]
push edi
xor edi, edi
lea eax, [ebp + 8]
mov dword [esp + 0x10], edi
cmp eax, edi
je 0x4ccc13
lea ecx, [eax + 4]
jmp 0x4ccc15
xor ecx, ecx
mov edx, dword [ecx]
mov dword [esp + 0x18], edx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x20], edx
mov cx, word [eax + 0x10]
mov word [esp + 0x24], cx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x28], edx
mov cx, word [eax + 0x18]
mov word [esp + 0x2c], cx
mov dx, word [eax + 0x1a]
mov word [esp + 0x2e], dx
mov cx, word [eax + 0x1c]
mov word [esp + 0x30], cx
mov dx, word [eax + 0x1e]
mov word [esp + 0x32], dx
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 0x24]
mov dword [esp + 0x38], edx
mov cx, word [eax + 0x28]
mov word [esp + 0x3c], cx
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x40], edx
mov dword [esp + 0x14], 0x4f5588
mov ecx, dword [ebp + 4]
mov dword [esp + 0x4c], 1
cmp ecx, edi
mov dword [ebx + 8], ecx
je 0x4ccc99
mov dword [ecx], edi
jmp 0x4ccc9c
mov dword [ebx + 4], edi
mov esi, eax
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax]
add esi, 0x30
mov ecx, edi
dec edi
test ecx, ecx
jne 0x4ccc9e
mov edx, dword [ebx + 0x10]
mov dword [ebp], edx
mov eax, dword [ebx + 0xc]
dec eax
mov dword [ebx + 0x10], ebp
mov dword [ebx + 0xc], eax
jne 0x4ccd04
mov ebp, dword [ebx + 4]
xor edi, edi
cmp ebp, edi
je 0x4ccced
jmp 0x4ccccf
xor edi, edi
lea esi, [ebp + 8]
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax]
add esi, 0x30
mov ecx, edi
dec edi
test ecx, ecx
jne 0x4cccd2
mov ebp, dword [ebp]
test ebp, ebp
jne 0x4ccccd
xor edi, edi
mov ecx, dword [ebx + 0x14]
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x10], edi
mov dword [ebx + 8], edi
mov dword [ebx + 4], edi
call sub.MFC42.DLL_CPlex::FreeDataChain
mov dword [ebx + 0x14], edi
lea eax, [esp + 0x14]
mov esi, dword [esp + 0x54]
neg eax
sbb eax, eax
lea edx, [esp + 0x18]
and eax, edx
mov dword [esi], 0x4f5588
mov dword [esp + 0x10], 1
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x20]
mov dword [esi + 4], ecx
mov cx, word [esp + 0x24]
mov dword [esi + 8], edx
mov edx, dword [esp + 0x28]
mov dword [esi + 0xc], eax
mov ax, word [esp + 0x2c]
mov word [esi + 0x10], cx
mov cx, word [esp + 0x2e]
mov dword [esi + 0x14], edx
mov dx, word [esp + 0x30]
mov word [esi + 0x18], ax
mov ax, word [esp + 0x32]
mov word [esi + 0x1a], cx
mov ecx, dword [esp + 0x34]
mov word [esi + 0x1c], dx
mov edx, dword [esp + 0x38]
mov word [esi + 0x1e], ax
mov ax, word [esp + 0x3c]
mov dword [esi + 0x20], ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 0x24], edx
mov word [esi + 0x28], ax
mov dword [esi + 0x2c], ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 0
call fcn.00456e80
mov ecx, dword [esp + 0x44]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4
Function at 0x4d3270
Capabilities:
Get hostname

Disassembly:
sub esp, 0x108
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xc]
lea edi, [esi + 0xc]
test eax, eax
jne 0x4d328d
mov eax, dword [esi + 8]
test eax, eax
je 0x4d3294
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov ebx, dword [esp + 0x11c]
mov eax, dword [0x510f64]
cmp ebx, eax
je 0x4d32c6
cmp ebx, dword [0x510f6c]
je 0x4d32c6
mov ebp, dword [esp + 0x120]
push edi
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryA]
mov ecx, dword [edi]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
jmp 0x4d32e2
mov ebp, dword [esp + 0x120]
test ebp, ebp
jne 0x4d32db
mov dword [edi], ebx
mov dword [esi + 8], ebx
mov dword [esi + 4], ebp
jmp 0x4d32e2
mov dword [esi + 4], 6
mov eax, dword [esi + 4]
test eax, eax
jne 0x4d33ff
test ebp, ebp
jne 0x4d333b
mov dl, byte [0x51115c]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], dl
mov dword [esp + 0x10], 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edi, [esi + 0x30]
mov ecx, edi
call sub.MFC42.DLL_CString::Empty
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
cmp eax, 1
jne 0x4d3344
lea edx, [esp + 0x14]
mov ecx, edi
push edx
jmp 0x4d333f
push ebp
lea ecx, [esi + 0x30]
call fcn.004e28bc
cmp ebx, 0x80000002
jne 0x4d336b
push str.HKEY_LOCAL_MACHINE
lea ecx, [esi + 0x38]
call fcn.004e28bc
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x108
ret 8
cmp ebx, 0x80000000
jne 0x4d3392
push str.HKEY_CLASSES_ROOT
lea ecx, [esi + 0x38]
call fcn.004e28bc
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x108
ret 8
cmp ebx, 0x80000003
jne 0x4d33b9
push str.HKEY_USERS
lea ecx, [esi + 0x38]
call fcn.004e28bc
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x108
ret 8
cmp ebx, 0x80000001
jne 0x4d33e0
push str.HKEY_CURRENT_USER
lea ecx, [esi + 0x38]
call fcn.004e28bc
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x108
ret 8
push str.Unknown
lea ecx, [esi + 0x38]
call fcn.004e28bc
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x108
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x108
ret 8
Function at 0x4dab10
Capabilities:
Get file system object information

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x160
lea ecx, [esp]
push eax
push 0x160
push ecx
push 0
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [esp + 4]
add esp, 0x160
ret 8
Function at 0x4e1030
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f3168
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x24]
push esi
mov esi, ecx
push edi
mov ecx, dword [esp + 0x30]
push 0
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], ecx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CWindowDC::CWindowDC
push 8
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_CDC::SetMapMode
mov edx, dword [esi + 0x44]
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x48]
lea edi, [esi + 0x4c]
push 1
push edi
mov dword [edi], edx
push ecx
mov dword [edi + 4], eax
call dword [sym.imp.GDI32.dll_LPtoDP]
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0xffffffff
call fcn.004e2a18
mov edx, dword [edi]
mov ecx, dword [esp + 0x34]
mov eax, dword [edi + 4]
mov dword [esi + 0x64], edx
mov edx, dword [esp + 0x38]
mov dword [esi + 0x6c], ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 0x68], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x70], edx
mov edx, dword [esi + 0x8c]
push 0
mov dword [esi + 0x74], eax
push edx
mov dword [esi + 0x78], ecx
push 0
push 1
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetScrollRange
mov eax, dword [esi + 0x8c]
push 0
push eax
push 0
push 0
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetScrollRange
mov ecx, esi
call fcn.004e1150
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x110]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0x18
Function at 0x4e13c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f31a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
mov esi, ecx
push edi
push 0
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CWindowDC::CWindowDC
push 8
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], 0
call sub.MFC42.DLL_CDC::SetMapMode
lea eax, [ebp + 8]
lea ecx, [esp + 0x44]
push eax
call sub.MFC42.DLL_CDC::DPtoLP
lea ecx, [ebp + 0x10]
push ecx
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CDC::DPtoLP
lea ecx, [esp + 0x44]
mov dword [esp + 0x60], 0xffffffff
call fcn.004e2a18
fild dword [esi + 0x44]
fild dword [ebp + 8]
push 0
mov ecx, esi
fdiv st(1)
fstp qword [esp + 0x28]
fild dword [esi + 0x48]
fst qword [esp + 0x20]
fild dword [ebp + 0xc]
fdiv st(1)
fstp qword [esp + 0x30]
fstp st(0)
fild dword [ebp + 0x10]
fdiv st(1)
fstp qword [esp + 0x38]
fstp st(0)
fild dword [ebp + 0x14]
fdiv qword [esp + 0x20]
fstp qword [esp + 0x40]
call sub.MFC42.DLL_CWnd::GetScrollLimit
push 1
mov ecx, esi
mov dword [esp + 0x10], eax
call sub.MFC42.DLL_CWnd::GetScrollLimit
fild dword [esp + 0xc]
sub esp, 8
mov ecx, esi
mov dword [esp + 0x20], eax
fst qword [esp + 0x14]
fmul qword [esp + 0x2c]
fstp qword [esp]
call fcn.004e1da0
call sub.MSVCRT.dll__ftol
fild dword [esp + 0x18]
sub esp, 8
mov ecx, esi
mov edi, eax
fst qword [esp + 0x24]
fmul qword [esp + 0x34]
fstp qword [esp]
call fcn.004e1da0
call sub.MSVCRT.dll__ftol
fld qword [esp + 0xc]
fmul qword [esp + 0x34]
sub esp, 8
mov ecx, esi
mov ebx, eax
fstp qword [esp]
call fcn.004e1da0
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x1c]
fmul qword [esp + 0x3c]
mov dword [esp + 0x18], eax
sub esp, 8
fstp qword [esp]
mov ecx, esi
call fcn.004e1da0
call sub.MSVCRT.dll__ftol
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x58]
mov dword [esi + 0x5c], edi
mov dword [esi + 0x54], edx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x58], eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4e17b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4f31c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push esi
lea ecx, [esp + 0x20]
call fcn.004e2538
mov eax, dword [esi]
lea ecx, [esp + 0x1c]
push 0
push ecx
mov ecx, esi
mov dword [esp + 0x40], 0
call dword [eax + 0xe4]
mov eax, dword [esi + 0x20]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push 1
lea eax, [edx + ecx]
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
mov ecx, eax
mov eax, dword [esp + 0x10]
add eax, edx
cdq
sub eax, edx
sar eax, 1
sar ecx, 1
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x28]
lea eax, [esp + 8]
push eax
push ecx
call dword [sym.imp.GDI32.dll_DPtoLP]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CClientDC::CClientDC
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
push edx
push eax
mov ecx, esi
call fcn.004e18a0
fstp qword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 8]
push 0
push ecx
mov ecx, dword [esp + 0xc]
push edx
push eax
push ecx
mov ecx, esi
call fcn.004e16e0
mov ecx, dword [esp + 0x30]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8

Function at 0x4e18a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f31e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
push esi
lea ecx, [esp + 0x10]
call fcn.004e2538
mov eax, dword [esi]
lea ecx, [esp + 0xc]
push 0
push ecx
mov ecx, esi
mov dword [esp + 0x30], 0
call dword [eax + 0xe4]
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 4
push edx
call esi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
push 8
push eax
call esi
fild dword [esp + 4]
mov dword [esp + 8], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
fidiv dword [esp + 8]
fld qword [esp + 0x30]
fdiv st(1)
fstp qword [esp + 0x30]
fstp st(0)
call sub.MFC42.DLL_CClientDC::CClientDC
mov ecx, dword [esp + 0x20]
pop esi
fld qword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8

Function at 0x4e2389
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4e23e1
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x51115c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4e23d4
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x4e23e3
xor eax, eax
pop esi
leave
ret 4
Function at 0x403900
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1e8
mov eax, dword [0x559910]
xor eax, esp
mov dword [esp + 0x1e4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
push 0
mov dword [esp + 0x10], eax
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jns 0x403962
push 0
push str.error1
push str.error
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x1e4]
xor ecx, esp
call fcn.004d6604
mov esp, ebp
pop ebp
ret 0x10
lea eax, [esp + 0x58]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
lea eax, [esp + 0x18]
push eax
call fcn.004301b0
add esp, 4
lea ecx, [esp + 0x18]
push 0xc
push str.downloader_
call fcn.00402e30
lea eax, [esp + 0x18]
push eax
call fcn.0042ff70
add esp, 4
test al, al
jne 0x4039ad
lea eax, [esp + 0x18]
push eax
call fcn.0042ff90
add esp, 4
push 0xe
push str.downloader.log
lea ecx, [esp + 0x20]
call fcn.00402e30
call fcn.004359d0
sub esp, 0x18
lea esi, [esp + 0x30]
mov edi, esp
lea edx, [esp + 0x30]
xor eax, eax
mov ecx, edi
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [esp + 0x44], 8
mov eax, dword [esp + 0x40]
cmovae esi, dword [esp + 0x30]
cmovae edx, dword [esp + 0x30]
lea eax, [esi + eax*2]
push eax
push edx
call fcn.00403b50
call fcn.004359f0
push str._r_n_r_n_start_run
push 0x3f
push str.wWinMain
call fcn.00435930
mov eax, dword [0x5632d4]
add esp, 0x24
test eax, eax
jne 0x403a56
push 0x550
call fcn.004d6613
mov esi, eax
add esp, 4
test esi, esi
je 0x403a4f
push 0x550
push 0
push esi
call fcn.004e0910
add esp, 0xc
mov ecx, esi
call fcn.004139e0
jmp 0x403a51
xor eax, eax
mov dword [0x5632d4], eax
push dword [esp + 0xc]
mov ecx, eax
call fcn.00414630
mov eax, dword [0x5632d4]
test eax, eax
jne 0x403a9d
push 0x550
call fcn.004d6613
mov esi, eax
add esp, 4
test esi, esi
je 0x403a96
push 0x550
push 0
push esi
call fcn.004e0910
add esp, 0xc
mov ecx, esi
call fcn.004139e0
jmp 0x403a98
xor eax, eax
mov dword [0x5632d4], eax
mov esi, dword [esp + 0x10]
push 0x53bb4c
push str.downloader_start._version_is_:__s_
push 0x44
push str.wWinMain
mov dword [eax + 0x548], esi
call fcn.00435930
add esp, 0xc
mov ecx, esi
call fcn.00403840
add esp, 4
push str.duilibInit2_end
push 0x46
push str.wWinMain
call fcn.00435930
add esp, 0xc
mov dword [esp + 0x40], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x38]
movdqa xmmword [esp + 0x30], xmm0
mov dword [esp + 0x30], vtable.DNDownloaderImpl.0
call fcn.00439c20
sub esp, 8
lea ecx, [esp + 0x38]
call fcn.00405870
test al, al
je 0x403b15
call fcn.00454460
call fcn.00405ae0
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [esp + 0x2c], 8
jb 0x403b33
push dword [esp + 0x18]
call fcn.0047f070
add esp, 4
mov ecx, dword [esp + 0x1ec]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.004d6604
mov esp, ebp
pop ebp
ret 0x10
Function at 0x411690
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.00407cf0

Function at 0x412900
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5113aa
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x559910]
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, ecx
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x18], esi
call fcn.004d5598
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x4129a6
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], str.bad_locale_name
push eax
lea ecx, [ebp - 0x24]
call fcn.004d791b
push 0x555e30
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.std::runtime_error.0
push eax
call fcn.004dfe6e
push edi
push esi
call fcn.004d546b
add esp, 8
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.004d6604
mov esp, ebp
pop ebp
ret 4

Function at 0x415950
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x559910]
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.004e0910
add esp, 0xc
mov dword [ebp - 0x810], 0
cmp dword [edi + 0x14], 8
jb 0x4159a3
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 0x4159fe
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 0x415a1e
xor ecx, ecx
jmp 0x415a36
lea ecx, [ebp - 0x804]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415a27
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x804]
mov ecx, esi
push eax
call fcn.004036b0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004d6604
mov esp, ebp
pop ebp
ret
Function at 0x415ce0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5119ee
mov eax, dword fs:[0]
push eax
sub esp, 0x834
mov eax, dword [0x559910]
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.004e0910
add esp, 0xc
mov dword [ebp - 0x820], 0
cmp dword [0x5633bc], 0
jne 0x415d7d
push 0x38
call fcn.004d6613
add esp, 4
mov dword [ebp - 0x818], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x415d6f
mov ecx, eax
call fcn.004020b0
jmp 0x415d71
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x5633bc], eax
lea eax, [ebp - 0x83c]
push eax
call fcn.004027f0
cmp dword [eax + 0x14], 8
jb 0x415d91
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 0x415dbd
push dword [ebp - 0x83c]
call fcn.0047f070
add esp, 4
test edi, edi
jne 0x415e04
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 0x415e24
xor ecx, ecx
jmp 0x415e3f
lea ecx, [ebp - 0x814]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415e30
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x814]
mov ecx, esi
push eax
call fcn.004036b0
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.004d6604
mov esp, ebp
pop ebp
ret 4
Function at 0x419350
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x559910]
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.004e0910
add esp, 0xc
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4193e0
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 0x4193d9
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 0x419400
xor ecx, ecx
jmp 0x41941f
lea ecx, [ebp - 0x25c]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419410
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x25c]
mov ecx, edi
push eax
call fcn.004036b0
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004d6604
mov esp, ebp
pop ebp
ret
Function at 0x419bf0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x511f41
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x559910]
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 0x419c53
lea eax, [ebp - 0x134]
mov dword [ebp - 0x134], 0x114
push eax
call edi
cmp dword [ebp - 0x130], 6
jb 0x419d55
cmp dword [ebp - 0x12c], 2
jb 0x419d55
cmp dword [esi + 0x14], 8
jb 0x419c77
mov eax, dword [esi]
jmp 0x419c79
mov eax, esi
push eax
push str.runPlayer_no_amdin__s
push 0x463
push str.DNDownloaderModel::runPlayer
call fcn.00435930
push 0x53d050
lea edx, [ebx + 0x250]
lea ecx, [ebp - 0x164]
call fcn.00410390
add esp, 0x14
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
jb 0x419cb8
mov edx, dword [esi]
jmp 0x419cba
mov edx, esi
sub esp, 8
mov ecx, eax
call fcn.00419830
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x150], 8
mov edi, eax
jb 0x419ce7
push dword [ebp - 0x164]
call fcn.0047f070
add esp, 4
cmp edi, 0xffffffff
jne 0x419dbe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.runPlayer_no_amdin_error__d
push 0x467
push str.DNDownloaderModel::runPlayer
call fcn.00435930
push 0x53d050
lea edx, [ebx + 0x250]
lea ecx, [ebp - 0x164]
call fcn.00410390
add esp, 0x14
push 0
push 1
push esi
push eax
mov dword [ebp - 4], 1
call fcn.0043b5b0
add esp, 0x10
mov dword [ebp - 4], edi
cmp dword [ebp - 0x150], 8
jb 0x419dbe
push dword [ebp - 0x164]
call fcn.0047f070
add esp, 4
jmp 0x419dbe
push 0x53d050
lea edx, [ebx + 0x250]
lea ecx, [ebp - 0x14c]
call fcn.00410390
add esp, 4
push 0
push 1
push esi
push eax
mov dword [ebp - 4], 2
call fcn.0043b5b0
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x138], 8
jb 0x419da1
push dword [ebp - 0x14c]
call fcn.0047f070
add esp, 4
xor eax, eax
mov dword [ebp - 0x138], 7
mov dword [ebp - 0x13c], 0
mov word [ebp - 0x14c], ax
sub esp, 0x18
mov ecx, 0x563320
mov eax, esp
push str.call_mnq
mov dword [eax + 0x10], 0
call fcn.00424d30
push dword [0x563350]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d6604
mov esp, ebp
pop ebp
ret 4