joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406ad0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov ecx, edi
mov esi, dword [edi + 0x10]
call fcn.00404b70
push 0
push esi
push eax
push dword [ebx + 4]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, esi
jge 0x406b14
test eax, eax
jle 0x406b1d
mov ecx, edi
sub esi, eax
call fcn.00404b70
push 0
push esi
push eax
push dword [ebx + 4]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, esi
jl 0x406af6
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 4
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 4

Function at 0x406c10
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 8], 0x4d54e4
mov dword [esp + 0xc], 0
cmp dword [eax + 0x14], 8
jb 0x406c37
mov eax, dword [eax]
push 1
push 0x84000001
lea ecx, [esp + 0x10]
push ecx
push 0
push str.HTTP_1.1
push eax
push str.POST
push dword [esi + 8]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edx, eax
mov dword [esi + 0xc], edx
test edx, edx
jne 0x406c6b
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
movdqu xmmword [esp + 0x14], xmm0
mov dword [esp + 0x34], 0
movdqu xmmword [esp + 0x24], xmm0
cmp dword [eax + 0x14], 8
mov dword [esp + 0x10], 0x28
mov dword [esp + 0x14], 0
jb 0x406c9f
mov ecx, dword [eax]
jmp 0x406ca1
mov ecx, eax
mov eax, dword [eax + 0x10]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x10]
push 0
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x14]
push 0
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x18]
push 0
push eax
push edx
mov dword [esp + 0x2c], ecx
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
test eax, eax
je 0x406c62
push 0
push 0
push 0
push dword [esi + 0xc]
call dword [sym.imp.WININET.dll_HttpEndRequestW]
test eax, eax
pop esi
setne al
mov esp, ebp
pop ebp
ret 0x10

Function at 0x406d00
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
push 0
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 4]
mov dword [ebp - 8], 4
mov edi, ecx
push eax
push 0x20000013
push dword [edi + 0xc]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x406d3c
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0x10]
mov dword [eax], ecx
lea eax, [ebp - 8]
push 0
push eax
lea eax, [ebp - 4]
mov dword [esi], 0xffffffff
push eax
push 0x20000005
push dword [edi + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 8], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x406d7d
mov eax, dword [ebp - 4]
mov dword [esi], eax
pop esi
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x406d90
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ecx + 0xc]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x406dbb
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x406dd0
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 8], 0x4d54e4
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x406df2
mov eax, dword [eax]
push 1
push dword [ebp + 0xc]
lea ecx, [ebp - 8]
push ecx
push 0
push str.HTTP_1.1
push eax
push 0x4d550c
push dword [esi + 8]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ecx, eax
mov dword [esi + 0xc], ecx
pop esi
test ecx, ecx
jne 0x406e23
xor al, al
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
jb 0x406e31
mov eax, dword [eax]
push 0
push 0
push edx
push eax
push ecx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
setne al
mov esp, ebp
pop ebp
ret 0xc

Function at 0x406e90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x4ee318]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ecx]
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test ecx, ecx
jne 0x406ec4
or eax, 0xffffffff
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047e7a3
mov esp, ebp
pop ebp
ret 8
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x408], 0x400
jb 0x406ed6
mov eax, dword [eax]
push esi
lea edx, [ebp - 0x408]
push edx
lea edx, [ebp - 0x404]
push edx
lea edx, [ebp - 0x40c]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.read_reg_lastError___d
push 0x4e
push str.utility::RegKey::RegRead
call fcn.0040aaf0
add esp, 0x10
test esi, esi
jne 0x406f48
cmp byte [ebp - 0x404], 0
jne 0x406f24
xor ecx, ecx
jmp 0x406f39
lea ecx, [ebp - 0x404]
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406f30
sub ecx, edx
push ecx
lea eax, [ebp - 0x404]
mov ecx, edi
push eax
call fcn.00404ef0
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop edi
call fcn.0047e7a3
mov esp, ebp
pop ebp
ret 8

Function at 0x406f60
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x406f98
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x406f88
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 0x406fa8
mov eax, dword [ecx]
call dword [eax]
mov dword [esi], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x406fbd
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
pop esi
ret 4
Function at 0x4070f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x407109
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x407144
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x407140
lea ebx, [ebx]
cmp esi, edx
jae 0x407144
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x407130
cmp esi, edx
jb 0x40714b
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4074b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b52a8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4ee318]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push 0
push 0
call edi
xor ecx, ecx
mov esi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00432e95
add esp, 4
mov dword [ebp - 0x2c], eax
push eax
push esi
call edi
mov eax, dword [ebp - 0x2c]
mov esi, eax
cmp word [eax], 0
je 0x40758b
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
lea esp, [esp]
push esi
call edi
test eax, eax
je 0x407573
cmp eax, 1
je 0x407573
cmp eax, 2
je 0x407573
cmp eax, 4
je 0x407573
cmp eax, 5
je 0x407573
cmp eax, 6
je 0x407573
push esi
lea ecx, [ebp - 0x28]
call fcn.004057c0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.00408390
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 8
jb 0x407573
push dword [ebp - 0x28]
call fcn.0047e7c0
add esp, 4
push 0
push esi
call fcn.0047fd0d
add esp, 8
cmp word [eax + 2], 0
lea esi, [eax + 2]
jne 0x407520
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0047f094
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047e7a3
mov esp, ebp
pop ebp
ret
Function at 0x4075c0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b52f9
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4ee318]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 1
call fcn.004074b0
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
mov eax, dword [ebp - 0x4c]
xorps xmm0, xmm0
mov ebx, dword [ebp - 0x48]
mov esi, eax
mov dword [ebp - 0x5c], 1
movsd qword [ebp - 0x68], xmm0
cmp eax, ebx
je 0x407736
lea ecx, [ecx]
xor eax, eax
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00405460
push 3
push 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x28]
call fcn.00405d40
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x58]
push 0
push 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x58], 0
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
mov dword [ebp - 0x54], 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x4076c6
cmp dword [ebp - 0x2c], 8
jb 0x4076c1
push dword [ebp - 0x40]
call fcn.0047e7c0
add esp, 4
xorps xmm0, xmm0
jmp 0x4076f4
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x58]
call fcn.004b4dee
cmp dword [ebp - 0x2c], 8
mulsd xmm0, qword [0x4dda28]
movsd qword [ebp - 0x70], xmm0
jb 0x4076f4
push dword [ebp - 0x40]
call fcn.0047e7c0
movsd xmm0, qword [ebp - 0x70]
add esp, 4
comisd xmm0, xmmword [ebp - 0x68]
jbe 0x407713
lea eax, [ebp - 0x28]
movsd qword [ebp - 0x68], xmm0
cmp edi, eax
je 0x407713
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00405460
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 8
jb 0x407728
push dword [ebp - 0x28]
call fcn.0047e7c0
add esp, 4
add esi, 0x18
cmp esi, ebx
jne 0x407650
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x407776
mov esi, eax
cmp eax, ebx
je 0x40776d
cmp dword [esi + 0x14], 8
jb 0x407750
push dword [esi]
call fcn.0047e7c0
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
add esi, 0x18
cmp esi, ebx
jne 0x407740
mov eax, dword [ebp - 0x4c]
push eax
call fcn.0047e7c0
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 - 0x10]
xor ecx, ebp
call fcn.0047e7a3
mov esp, ebp
pop ebp
ret
Function at 0x408d70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b53e8
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x4ee318]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
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 0x408dac
mov ecx, dword [esi]
jmp 0x408dae
mov ecx, esi
cmp dword [edi + 0x14], 8
jb 0x408db8
mov edx, dword [edi]
jmp 0x408dba
mov edx, edi
mov bl, byte [ebp + 8]
movzx eax, bl
push eax
push ecx
push edx
push str.createProcess_filename____s___param____s___show___d
push 0xf7
push str.utility::process::create
call fcn.0040aaf0
push edi
mov edx, 0x4d5854
lea ecx, [ebp - 0x40]
call fcn.004069b0
push 0x4d5854
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00403eb0
add esp, 0x20
mov byte [ebp - 4], 2
cmp dword [ebp - 0x2c], 8
jb 0x408e13
push dword [ebp - 0x40]
call fcn.0047e7c0
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp dword [esi + 0x10], eax
je 0x408e63
push esi
mov edx, 0x4d5858
lea ecx, [ebp - 0x58]
call fcn.004069b0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00404900
mov byte [ebp - 4], 2
cmp dword [ebp - 0x44], 8
jb 0x408e63
push dword [ebp - 0x58]
call fcn.0047e7c0
add esp, 4
push 0x40
lea eax, [ebp - 0xac]
push 0
push eax
call fcn.00488c50
add esp, 0xc
mov dword [ebp - 0xb0], 0x44
xor eax, eax
mov dword [ebp - 0xac], 0
test bl, bl
mov dword [ebp - 0xa8], 0
mov ecx, 5
mov dword [ebp - 0xa4], 0
cmovne eax, ecx
mov dword [ebp - 0x84], 1
lea ecx, [ebp - 0x68]
mov word [ebp - 0x80], ax
push ecx
lea ecx, [ebp - 0xb0]
xor eax, eax
cmp dword [ebp - 0x14], 8
xorps xmm0, xmm0
push ecx
push 0
push 0
push 0x10
push 0
mov word [ebp - 0x7e], ax
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push 0
push eax
push 0
movdqu xmmword [ebp - 0x68], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x408f1a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.createProcess_failed____lastError___d
push 0x10a
push str.utility::process::create
call fcn.0040aaf0
add esp, 0x10
xor esi, esi
jmp 0x408f26
push dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x68]
cmp dword [ebp - 0x14], 8
jb 0x408f37
push dword [ebp - 0x28]
call fcn.0047e7c0
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047e7a3
mov esp, ebp
pop ebp
ret
Function at 0x40a670
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push 0x38
lea eax, [ebp - 0x38]
mov esi, ecx
push 0
push eax
call fcn.00488c50
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x38], 0x440
mov dword [ebp - 0x30], 0x4d5728
jb 0x40a6a8
mov eax, dword [esi]
jmp 0x40a6aa
mov eax, esi
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x20], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x40a6e1
cmp dword [esi + 0x14], 8
jb 0x40a6ca
mov esi, dword [esi]
push 5
push 0
push esi
push 0x4d594c
push 0x4d5728
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x411010
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorer
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41107f
mov eax, dword [ebp - 4]
test eax, eax
je 0x41107f
lea ecx, [ebp - 0xc]
mov dword [ebp - 8], 0
push ecx
lea ecx, [ebp - 8]
mov dword [ebp - 0x10], 4
push ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0xc], 4
push ecx
push 0
push str.GlobalAssocChangedCounter
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x411099
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0
push 0x3000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
xor eax, eax
mov esp, ebp
pop ebp
inc dword [ebp - 8]
lea eax, [ebp - 8]
push 4
push eax
push 4
push 0
push str.GlobalAssocChangedCounter
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
test eax, eax
jne 0x411079
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0
push 0x3000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4144d0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6bce
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x4ee318]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push str.player__create_root_window...
push 0x30
push str.LDYunImpl::createMainFrame
call fcn.0040aaf0
push 0x528
call fcn.0047e9fc
mov esi, eax
add esp, 0x10
mov dword [ebp - 0x130], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x41455c
mov ecx, esi
call fcn.00418220
mov dword [esi], vtable.LDYunMainFrame.4.0
mov dword [esi + 0x10], vtable.LDYunMainFrame.3.0
mov dword [esi + 0x20], vtable.LDYunMainFrame.2.0
mov dword [esi + 0x24], vtable.LDYunMainFrame.1.0
mov dword [esi + 0x28], vtable.LDYunMainFrame.0
jmp 0x41455e
xor esi, esi
push pe_nt_image_headers32
lea eax, [ebp - 0x128]
mov dword [ebp - 4], 0xffffffff
push 0
push eax
mov dword [edi], esi
mov ebx, 0x86030000
call fcn.00488c50
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x12c]
add esp, 0xc
mov dword [ebp - 0x12c], 0x11c
push eax
call esi
test eax, eax
jne 0x4145b2
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 0x114
push eax
call esi
cmp dword [ebp - 0x128], 6
mov eax, 0x860f0000
mov ecx, dword [edi]
push 0x10
cmovb ebx, eax
push ebx
push 0
push 0
call fcn.0043d200
mov ecx, dword [edi]
call fcn.0043cfe0
push str.init_tray_icon
push 0x3a
push str.LDYunImpl::createMainFrame
call fcn.0040aaf0
push str.show_root_window
push 0x3e
push str.LDYunImpl::createMainFrame
call fcn.0040aaf0
mov ecx, dword [edi]
add esp, 0x18
push 1
push 1
call fcn.0043d720
mov eax, dword [0x4f68b8]
test eax, eax
jne 0x414630
push 0xb8
call fcn.0047e9fc
add esp, 4
test eax, eax
je 0x414629
mov ecx, eax
call fcn.004105e0
jmp 0x41462b
xor eax, eax
mov dword [0x4f68b8], eax
push 6
lea ecx, [eax + 0x58]
push str.update
push dword [ecx + 0x10]
push ecx
call fcn.00403f50
test eax, eax
jne 0x41464e
mov ecx, dword [edi]
call fcn.004168a0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047e7a3
mov esp, ebp
pop ebp
ret
Function at 0x414740
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6c4b
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x4ee318]
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
call fcn.0040a6f0
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 0x248]
push eax
push 0
mov dword [ebp - 0x248], 0
call esi
test eax, eax
je 0x414799
cmp eax, 0x6f
jne 0x4147c8
push dword [ebp - 0x248]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
mov dword [ebp - 0x24c], edi
test edi, edi
je 0x4147c8
lea eax, [ebp - 0x248]
push eax
push edi
call esi
test eax, eax
je 0x4147e6
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
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.0047e7a3
mov esp, ebp
pop ebp
ret
xor eax, eax
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x1b], eax
mov esi, edi
mov word [ebp - 0x17], ax
mov byte [ebp - 0x15], al
jmp 0x414800
mov eax, dword [esi + 0x194]
lea ecx, [ebp - 0x1c]
cmp eax, dword [ecx]
jne 0x41481c
mov eax, dword [esi + 0x198]
cmp eax, dword [ecx + 4]
je 0x414929
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x22c], ax
lea eax, [ebp - 0x22a]
push eax
call fcn.00488c50
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push str._02X_02X_02X_02X_02X_02X
push 0xffffffffffffffff
lea eax, [ebp - 0x22c]
push 0x104
push eax
call fcn.0047f1f9
xor eax, eax
mov dword [ebp - 0x230], 7
add esp, 0x34
mov dword [ebp - 0x234], 0
mov word [ebp - 0x244], ax
cmp word [ebp - 0x22c], ax
je 0x4148c0
lea eax, [ebp - 0x22c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4148b1
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x244]
call fcn.004049d0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x244]
mov edi, dword [ebx]
push eax
push dword [edi + 4]
push edi
call fcn.0040a750
mov edx, eax
mov ecx, 0x7fffffe
mov eax, dword [ebx + 4]
sub ecx, eax
cmp ecx, 1
jb 0x41494c
lea ecx, [eax + 1]
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov eax, dword [edx + 4]
mov dword [ebp - 4], 0xffffffff
mov dword [eax], edx
cmp dword [ebp - 0x230], 8
jb 0x414929
push dword [ebp - 0x244]
call fcn.0047e7c0
add esp, 4
mov esi, dword [esi]
test esi, esi
jne 0x414800
push dword [ebp - 0x24c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
cmp dword [ebx + 4], eax
setne al
jmp 0x4147ca
push str.list_T__too_long
call fcn.00432e33
int3
Function at 0x415c80
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x4ee318]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x415dca
test edx, edx
jle 0x415dca
push edx
xorps xmm0, xmm0
mov byte [ebp - 0x2c], 0
push ecx
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x94], 0x67452301
mov dword [ebp - 0x90], 0xefcdab89
mov dword [ebp - 0x8c], 0x98badcfe
mov dword [ebp - 0x88], 0x10325476
mov byte [ebp - 0x28], 0
movdqu xmmword [ebp - 0x27], xmm0
movdqu xmmword [ebp - 0x17], xmm0
call fcn.00415370
lea ecx, [ebp - 0x94]
call fcn.00415440
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x94]
call fcn.00415510
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x415d28
mov eax, dword [esi]
jmp 0x415d2a
mov eax, esi
lea edx, [ebp - 0x28]
cmp edx, eax
jb 0x415d77
cmp ecx, 0x10
jb 0x415d3a
mov edx, dword [esi]
jmp 0x415d3c
mov edx, esi
mov eax, dword [esi + 0x10]
add eax, edx
lea edx, [ebp - 0x28]
cmp eax, edx
jbe 0x415d77
cmp ecx, 0x10
jb 0x415d51
mov ecx, dword [esi]
jmp 0x415d53
mov ecx, esi
push 0x20
lea eax, [ebp - 0x28]
sub eax, ecx
mov ecx, esi
push eax
push esi
call fcn.00404b80
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047e7a3
mov esp, ebp
pop ebp
ret
cmp ecx, 0x20
jae 0x415d88
push dword [esi + 0x10]
mov ecx, esi
push 0x20
call fcn.00404ce0
cmp dword [esi + 0x14], 0x10
jb 0x415d92
mov eax, dword [esi]
jmp 0x415d94
mov eax, esi
push 0x20
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.00486750
add esp, 0xc
mov dword [esi + 0x10], 0x20
cmp dword [esi + 0x14], 0x10
jb 0x415db2
mov esi, dword [esi]
mov byte [esi + 0x20], 0
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047e7a3
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0047e7a3
mov esp, ebp
pop ebp
ret

Function at 0x4168a0
Capabilities:
Create thread

Disassembly:
push str.maintab
add ecx, 0x2c
call fcn.00435530
push 1
push 2
mov ecx, eax
call fcn.0043e900
mov eax, dword [0x4f68b8]
test eax, eax
jne 0x4168ec
push 0xb8
call fcn.0047e9fc
add esp, 4
test eax, eax
je 0x4168e5
mov ecx, eax
call fcn.004105e0
mov dword [0x4f68b8], eax
mov ecx, eax
jmp fcn.004110e0
xor eax, eax
mov dword [0x4f68b8], eax
mov ecx, eax
jmp fcn.004110e0
Function at 0x418980
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b73c8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4ee318]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x4ee318]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0x10]
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00404b80
push dword [ebp + 0xc]
lea eax, [esp + 0x2c]
push dword [ebp + 8]
push eax
call fcn.004188a0
add esp, 0x24
mov dword [esp + 0x38], 0
cmp dword [eax + 0x14], 0x10
jb 0x4189fd
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov ecx, esi
lea eax, [esp + 0xc]
push eax
call fcn.00484b27
cmp dword [esp + 0x24], 0x10
mov dword [esi], vtable.std::runtime_error.0
jb 0x418a26
push dword [esp + 0x10]
call fcn.0047e7c0
add esp, 4
mov ecx, dword [ebp + 8]
mov eax, esi
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi], vtable.std::_System_error.0
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0047e7a3
mov esp, ebp
pop ebp
ret 0xc