joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437fb0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46ec48
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x437fe9
inc eax
mov dword [esi + 0x10], eax
jmp 0x4380fc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x437ffd
mov eax, 0xffffffc7
jmp 0x4380fe
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43800e
cmp dword [esi + 8], eax
jne 0x437ffd
cmp dword [esi + 8], eax
jne 0x438027
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x438027
mov eax, 0xffffffc7
jmp 0x4380fe
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43803b
push eax
mov ecx, ebx
call fcn.004377e0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00406a30
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43806c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00406a50
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00436f50
test eax, eax
mov dword [esp + 0x38], eax
je 0x43809f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4f57a0
call fcn.00406c30
mov eax, dword [esp + 0x38]
jmp 0x4380fe
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00437e10
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x4380e3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00437e30
mov esi, eax
test esi, esi
jne 0x438113
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00437e10
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x4380b5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4f57a0
call fcn.00406c30
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4f57a0
call fcn.00406c30
mov eax, esi
jmp 0x4380fe

Function at 0x43b230
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x43b290
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x43b290
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x43b290
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x43b290
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x43b2d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x441400
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46f278
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00467ed4
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00440da0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00467e02
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004646c6
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004646c6
push 1
push 0
push 0
mov ecx, esi
call fcn.0046466e
push 1
push 0
push 1
mov ecx, esi
call fcn.0046466e
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00467f46
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x441580
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46f298
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00467ed4
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00440da0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00467e02
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x441644
cmp dword [esp + 0x40], 1
jne 0x441642
cmp ecx, eax
jge 0x441644
mov eax, ecx
cmp eax, 0xc8
jge 0x441650
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00441400
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00467f46
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x441dc0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46f303
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00462ae4
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x4f9a48
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0x4f8ab8
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0046817c
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00469698
test eax, eax
je 0x441edc
mov ecx, dword [esp + 0x3c]
call fcn.004681a9
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x441ea0
push edi
mov ecx, esi
call fcn.0046580d
mov ecx, esi
call fcn.00442040
cmp dword [esp + 0x38], 1
jne 0x441ed5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00465948
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x444900
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x444933
push esi
call fcn.00447a00
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44492c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4449b9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4449a2
mov eax, dword [esi + 8]
test eax, eax
je 0x444957
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44499e
cmp eax, 2
je 0x4449a2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44494a
cmp eax, 3
je 0x44497d
cmp eax, 1
jne 0x44494a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44494a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44494a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004449e0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4449c8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004449e0
add esp, 4
pop esi
ret
Function at 0x4638d9
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x463911
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00461990
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00461968
jmp 0x46391d
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x464fca
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46500c
call fcn.0046aa88
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46500c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x465003
xor eax, eax
jmp 0x465014
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046501a
pop edi
pop esi
pop ebx
ret 4

Function at 0x46afb8
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46afe6
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46b004
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046af1e
jmp 0x46b004
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46b004
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046af1e
test edi, edi
mov eax, edi
jne 0x46afee
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x416d3e
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x475740]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x416d89
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00416edd
test al, al
jne 0x416d83
sub edx, 2
cmp edx, edi
jne 0x416d69
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x416dab
lea eax, [edi + 2]
cmp edx, eax
je 0x416dab
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00416c8a
add esp, 0x10
jmp 0x416ea5
push esi
lea ecx, [ebp - 0x255]
call fcn.00416edd
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x416dee
push dword [ebp - 0x25c]
jmp 0x416d9b
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x416e2b
cmp word [ebp - 0x226], 0
je 0x416e4c
cmp word [ebp - 0x226], ax
jne 0x416e2b
cmp word [ebp - 0x224], 0
je 0x416e4c
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00416c8a
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x416e98
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x416e05
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x416e80
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x416ea5
push 0x416aba
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0041a970
add esp, 0x10
jmp 0x416e75
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406da7
leave
ret

Function at 0x41c7e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41c80d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41c80d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401000
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ecx
mov eax, dword [0x476110]
xor eax, esp
mov dword [esp], eax
mov eax, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x10]
push esi
push eax
movzx eax, word [esp + 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x401040
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp]
xor ecx, esp
call fcn.00446830
pop ecx
ret
push ebx
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x40105f
pop ebx
pop esi
pop ebp
mov ecx, dword [esp]
xor ecx, esp
call fcn.00446830
pop ecx
ret
push edi
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0x46b1d4
push ebp
mov edi, eax
call fcn.004469de
mov esi, eax
push esi
push 1
push edi
push ebx
call fcn.00446b57
push esi
call fcn.00446c50
mov ecx, dword [esp + 0x2c]
add esp, 0x1c
pop edi
pop ebx
pop esi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.00446830
pop ecx
ret
Function at 0x403a60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45d916
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x476110]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esi], vtable.CMainWnd.0
mov dword [esi + 0x20], vtable.CMainWnd.1.0
mov dword [esi + 0x30], vtable.CMainWnd.2.0
mov dword [esi + 0x34], vtable.CMainWnd.3.0
mov dword [esi + 0x38], vtable.CMainWnd.4.0
mov dword [esp + 0x14], 1
mov edi, dword [esi + 0x43c]
test edi, edi
je 0x403aca
mov ecx, edi
call sym.Install.exe_public:_void___thiscall_CAssistTask::destructor_void_
push edi
call fcn.00446890
add esp, 4
cmp dword [esi + 0x438], 8
jb 0x403ae2
mov eax, dword [esi + 0x424]
push eax
call fcn.00446890
add esp, 4
xor eax, eax
mov dword [esi + 0x438], 7
mov dword [esi + 0x434], 0
mov ecx, esi
mov word [esi + 0x424], ax
mov dword [esp + 0x14], 0xffffffff
call fcn.00406a50
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x4044d0
Capabilities:
Create directory

Disassembly:
mov ecx, dword [esi + 0x3f0]
mov eax, dword [ecx]
mov edx, dword [eax + 0xd8]
push edi
xor edi, edi
push edi
call edx
mov ecx, dword [esi + 0x3ec]
mov eax, dword [ecx]
mov edx, dword [eax + 0xd8]
push edi
call edx
mov ecx, dword [esi + 0x3e8]
mov eax, dword [ecx]
mov edx, dword [eax + 0xd8]
push edi
call edx
mov ecx, dword [esi + 0x3d4]
mov eax, dword [ecx]
mov edx, dword [eax + 0xe4]
push edi
call edx
mov ecx, dword [esi + 0x3f4]
push edi
push 1
call fcn.0041543e
mov ecx, dword [esi + 0x3f8]
call fcn.00413b80
mov ecx, dword [esi + 0x408]
mov byte [esi + 0x440], al
call fcn.00413b80
mov byte [esi + 0x441], al
cmp dword [esi + 0x438], 8
jb 0x404558
mov eax, dword [esi + 0x424]
jmp 0x40455e
lea eax, [esi + 0x424]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [esi + 0x43c], edi
jne 0x4045ad
push 0x40
call fcn.00446cf2
add esp, 4
cmp eax, edi
je 0x40459b
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], edi
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], edi
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0x24], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
jmp 0x40459d
xor eax, eax
mov dword [esi + 0x43c], eax
mov dword [eax + 0x3c], 0x404a70
mov dword [eax + 0x2c], esi
mov ecx, dword [esi + 0x43c]
push esi
push 0x4045d0
push edi
call sym.Install.exe_public:_int___thiscall_CAssistTask::StartTask_void___int____stdcall___void___void___void____void__
pop edi
ret
Function at 0x405210
Capabilities:
Set registry value

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
push esi
push edi
lea eax, [esp + 0xc]
push eax
push str.SOFTWAREMicrosoftInternet_ExplorerMain
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x405270
cmp dword [0x477404], 8
mov eax, dword [0x4773f0]
jae 0x40524e
mov eax, 0x4773f0
mov ecx, dword [0x477400]
lea edx, [ecx + ecx]
push edx
push eax
mov eax, dword [esp + 0x14]
push 1
push 0
push str.Start_Page
push eax
call esi
mov ecx, dword [esp + 0xc]
push ecx
call edi
lea edx, [esp + 0xc]
push edx
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocString
call ebx
test eax, eax
jne 0x4052ba
cmp dword [0x477404], 8
mov eax, dword [0x4773f0]
jae 0x405298
mov eax, 0x4773f0
mov ecx, dword [0x477400]
lea edx, [ecx + ecx]
push edx
push eax
mov eax, dword [esp + 0x14]
push 1
push 0
push str.Start_Page
push eax
call esi
mov ecx, dword [esp + 0xc]
push ecx
call edi
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4052c0
Capabilities:
Get mac address on windows

Disassembly:
sub esp, 8
push ebp
push 0
push 0x46b203
mov ecx, ebx
call fcn.00403160
push 0x288
mov dword [esp + 0xc], 0x288
call fcn.00447275
mov ebp, eax
add esp, 4
lea eax, [esp + 8]
push eax
push ebp
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x405312
push ebp
call fcn.0044733f
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00447275
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x40532a
lea edx, [esp + 8]
push edx
push ebp
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x405331
push ebp
call fcn.0044733f
add esp, 4
xor al, al
pop ebp
add esp, 8
ret
push esi
xor esi, esi
cmp dword [ebp + 0x190], esi
jbe 0x405391
lea esp, [esp]
xor eax, eax
mov word [esp + 9], ax
mov byte [esp + 0xb], al
movzx eax, byte [esi + ebp + 0x194]
push eax
lea ecx, [esp + 0xc]
push str._.2x
push ecx
mov byte [esp + 0x14], 0
call fcn.004473cd
lea eax, [esp + 0x14]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405372
sub eax, edx
push eax
lea edx, [esp + 0xc]
push edx
mov eax, ebx
call fcn.00402850
inc esi
cmp esi, dword [ebp + 0x190]
jb 0x405340
cmp dword [ebx + 0x14], 8
jae 0x40540f
push edi
mov edi, dword [ebp]
test edi, edi
je 0x40540e
nop
xor esi, esi
cmp dword [edi + 0x190], esi
jbe 0x405401
lea ebx, [ebx]
xor eax, eax
mov word [esp + 0xd], ax
mov byte [esp + 0xf], al
movzx eax, byte [edi + esi + 0x194]
push eax
lea ecx, [esp + 0x10]
push str._.2x
push ecx
mov byte [esp + 0x18], 0
call fcn.004473cd
lea eax, [esp + 0x18]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4053e2
sub eax, edx
push eax
lea edx, [esp + 0x10]
push edx
mov eax, ebx
call fcn.00402850
inc esi
cmp esi, dword [edi + 0x190]
jb 0x4053b0
cmp dword [ebx + 0x14], 8
jae 0x40540e
mov edi, dword [ebp]
test edi, edi
jne 0x4053a0
pop edi
push ebp
call fcn.0044733f
add esp, 4
cmp dword [ebx + 0x14], 0
pop esi
setne al
pop ebp
add esp, 8
ret
Function at 0x405430
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
sub esp, 0x2a4
mov eax, dword [0x476110]
xor eax, esp
mov dword [esp + 0x29c], eax
push 0x103
lea eax, [esp + 0x195]
push 0
push eax
mov byte [esp + 0x19c], 0
call fcn.0044a250
add esp, 0xc
lea ecx, [esp]
push ecx
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x40548a
xor al, al
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.00446830
add esp, 0x2a4
ret
push 0x104
lea edx, [esp + 0x194]
push edx
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x405473
lea eax, [esp + 0x190]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x405473
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
test eax, eax
je 0x405473
push eax
mov ecx, esi
call fcn.00402c80
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x29c]
xor ecx, esp
mov al, 1
call fcn.00446830
add esp, 0x2a4
ret

Function at 0x4066f0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x45dbe8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x476110]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x14], ax
mov eax, dword [esp + 0x3c]
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
call fcn.00401900
mov eax, 0x46b464
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x406750
sub eax, edx
sar eax, 1
push eax
mov eax, 0x46b464
lea ecx, [esp + 0x10]
call fcn.00401370
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push 0xffffffffffffffff
mov word [esi + 4], cx
push edi
mov ecx, esi
call fcn.00401900
cmp dword [esp + 0x24], 8
jb 0x40679c
mov edx, dword [esp + 0x10]
push edx
call fcn.00446890
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret

Function at 0x406a50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45d5db
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x476110]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.DuiLib::WindowImplBase.4.0
mov dword [esi + 0x20], vtable.DuiLib::WindowImplBase.3.0
mov dword [esi + 0x30], vtable.DuiLib::WindowImplBase.2.0
mov dword [esi + 0x34], vtable.DuiLib::WindowImplBase.1.0
mov dword [esi + 0x38], vtable.DuiLib::WindowImplBase.0
lea ecx, [esi + 0x3c]
mov dword [esp + 0x14], 0
call fcn.004105ec
lea ecx, [esi + 0x24]
mov dword [esp + 0x14], 0xffffffff
call fcn.00413201
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x406b60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x45d63b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x476110]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.00413455
push 0x53
lea ecx, [esi + 0x24]
mov dword [esi + 0x20], vtable.DuiLib::CNotifyPump.0
call fcn.00412b27
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esi + 0x30], vtable.DuiLib::INotifyUI.0
mov dword [esi + 0x34], vtable.DuiLib::IMessageFilterUI.0
mov dword [esi + 0x38], vtable.DuiLib::IDialogBuilderCallback.0
lea ecx, [esi + 0x3c]
mov dword [esi], vtable.DuiLib::WindowImplBase.4.0
mov dword [esi + 0x20], vtable.DuiLib::WindowImplBase.3.0
mov dword [esi + 0x30], vtable.DuiLib::WindowImplBase.2.0
mov dword [esi + 0x34], vtable.DuiLib::WindowImplBase.1.0
mov dword [esi + 0x38], vtable.DuiLib::WindowImplBase.0
call fcn.0040fca7
mov dword [esi + 0x3d4], edi
mov dword [esi + 0x3d8], edi
mov dword [esi + 0x3dc], edi
mov dword [esi + 0x3e0], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret