joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4414a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x489e78
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.00480bf4
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00440e00
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.00480b22
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.0047d30e
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.0047d30e
push 1
push 0
push 0
mov ecx, esi
call fcn.0047d2b6
push 1
push 0
push 1
mov ecx, esi
call fcn.0047d2b6
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00480c66
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x441620
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x489e98
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.00480bf4
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00440e00
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.00480b22
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 0x4416e4
cmp dword [esp + 0x40], 1
jne 0x4416e2
cmp ecx, eax
jge 0x4416e4
mov eax, ecx
cmp eax, 0xc8
jge 0x4416f0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004414a0
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.00480c66
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x441ee0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x489f43
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.0047b72a
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
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], method.CEdit.virtual_0
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.00480e9c
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004823f4
test eax, eax
je 0x441ffc
mov ecx, dword [esp + 0x3c]
call fcn.00480ec9
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 0x441fc0
push edi
mov ecx, esi
call fcn.0047e489
mov ecx, esi
call fcn.004421a0
cmp dword [esp + 0x38], 1
jne 0x441ff5
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.0047e5f3
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 0x4441e0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x444213
push esi
call fcn.00452590
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44420c
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 0x444299
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x444282
mov eax, dword [esi + 8]
test eax, eax
je 0x444237
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 0x44427e
cmp eax, 2
je 0x444282
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44422a
cmp eax, 3
je 0x44425d
cmp eax, 1
jne 0x44422a
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 0x44422a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44422a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004442c0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4442a8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004442c0
add esp, 4
pop esi
ret

Function at 0x444b40
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x444b61
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x444b61
mov eax, dword [eax + 0x44]
test eax, eax
je 0x444b61
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x47c51f
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x47c557
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.0047a536
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0047a50e
jmp 0x47c563
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x47dc12
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 0x47dc54
call fcn.00483900
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47dc54
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47dc4b
xor eax, eax
jmp 0x47dc5c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0047dc62
pop edi
pop esi
pop ebx
ret 4
Function at 0x483e30
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 0x483e5e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x483e7c
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00483d96
jmp 0x483e7c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x483e7c
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00483d96
test edi, edi
mov eax, edi
jne 0x483e66
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40de40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa000]
push edi
or ebp, 0xffffffff
jmp 0x40de62
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40de69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40de58
mov eax, 1
add ebx, ebx
jne 0x40de7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40de70
jne 0x40de8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40de70
xor ecx, ecx
sub eax, 3
jb 0x40dea0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40df12
mov ebp, eax
add ebx, ebx
jne 0x40deab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40deb8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40dedc
inc ecx
add ebx, ebx
jne 0x40dec8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40debd
jne 0x40ded9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40debd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40defc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40deed
jmp 0x40de5e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40defc
add edi, ecx
jmp 0x40de5e
pop esi
mov edi, esi
mov ecx, 0x8d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40df1a
cmp byte [edi], 1
jne 0x40df1a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x40df1f
lea edi, [esi + 0xb000]
mov eax, dword [edi]
or eax, eax
je 0x40df8e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xdda8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xde48]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40df4c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xde4c]
or eax, eax
je 0x40df88
mov dword [ebx], eax
add ebx, 4
jmp 0x40df69
call dword [esi + 0xde50]
popal
jmp 0x405044
Function at 0x403ab0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45d986
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 0x403b1a
mov ecx, edi
call sym.Install.exe_public:_void___thiscall_CAssistTask::destructor_void_
push edi
call fcn.00446900
add esp, 4
cmp dword [esi + 0x438], 8
jb 0x403b32
mov eax, dword [esi + 0x424]
push eax
call fcn.00446900
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 0x404000
Capabilities:
Get common file path
Get program files directory

Disassembly:
sub esp, 0x210
mov eax, dword [0x476110]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
mov ebx, ecx
push esi
lea esi, [ebx + 0x3c]
push str.btn_sys_close
mov ecx, esi
call fcn.0040f787
push str.btn_select
mov ecx, esi
mov dword [ebx + 0x3d4], eax
call fcn.0040f787
push str.option_startmenu
mov ecx, esi
mov dword [ebx + 0x3e8], eax
call fcn.0040f787
push str.option1
mov ecx, esi
mov dword [ebx + 0x3f8], eax
call fcn.0040f787
push str.option2
mov ecx, esi
mov dword [ebx + 0x3fc], eax
call fcn.0040f787
push str.option_lockie
mov ecx, esi
mov dword [ebx + 0x400], eax
call fcn.0040f787
push str.option3
mov ecx, esi
mov dword [ebx + 0x410], eax
call fcn.0040f787
push str.option_run
mov ecx, esi
mov dword [ebx + 0x404], eax
call fcn.0040f787
push str.edit_path
mov ecx, esi
mov dword [ebx + 0x408], eax
call fcn.0040f787
push str.btn_install
mov ecx, esi
mov dword [ebx + 0x3ec], eax
call fcn.0040f787
push str.tab_install
mov ecx, esi
mov dword [ebx + 0x40c], eax
call fcn.0040f787
push str.label_text
mov ecx, esi
mov dword [ebx + 0x3f4], eax
call fcn.0040f787
push str.label_installto
mov ecx, esi
mov dword [ebx + 0x414], eax
call fcn.0040f787
push str.progress
mov ecx, esi
mov dword [ebx + 0x3f0], eax
call fcn.0040f787
push str.btn_ok
mov ecx, esi
mov dword [ebx + 0x418], eax
call fcn.0040f787
push str.label_appname
mov ecx, esi
mov dword [ebx + 0x41c], eax
call fcn.0040f787
mov dword [ebx + 0x3e4], eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x2c]
push str.xfplay
call eax
mov ecx, dword [ebx + 0x3f8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14c]
push 1
call eax
mov ecx, dword [ebx + 0x408]
mov edx, dword [ecx]
push 1
mov eax, dword [edx + 0x14c]
call eax
mov ecx, dword [ebx + 0x418]
push 0
call fcn.004150e2
mov ecx, dword [ebx + 0x414]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
push str.ck_W
call eax
mov ecx, dword [ebx + 0x3ec]
push 1
call fcn.00415999
xor ecx, ecx
push 0x208
push ecx
lea edx, [esp + 0x12]
push edx
mov word [esp + 0x14], cx
call fcn.0044a2c0
add esp, 0xc
push 0
push 0x26
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x404239
push edi
lea edi, [esp + 0xc]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4041d0
mov ecx, dword [0x46b464]
lea eax, [esp + 0xc]
mov dword [edi], ecx
lea edx, [eax + 2]
pop edi
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4041f0
sub eax, edx
sar eax, 1
push eax
lea esi, [ebx + 0x420]
lea eax, [esp + 0xc]
call fcn.00401510
push 6
mov eax, str.xfplay
mov ecx, esi
call fcn.00401370
cmp dword [esi + 0x18], 8
jb 0x404228
mov esi, dword [esi + 4]
jmp 0x40422b
add esi, 4
mov ecx, dword [ebx + 0x3ec]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
push esi
call eax
mov ecx, dword [esp + 0x214]
pop esi
pop ebx
xor ecx, esp
call fcn.004468a0
add esp, 0x210
ret
Function at 0x404250
Capabilities:
Create process on windows
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x45e038
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x476110]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebp
push esi
push edi
mov eax, dword [0x476110]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
push 0
push 0
mov edi, ecx
call fcn.00413521
cmp byte [edi + 0x442], 0
mov ebp, dword [sym.imp.SHELL32.dll_ShellExecuteW]
je 0x404326
cmp byte [edi + 0x441], 0
je 0x404326
lea eax, [edi + 0x420]
push eax
lea esi, [esp + 0x14]
call fcn.004066f0
add esp, 4
push 0xa
mov eax, str.xfplay.exe
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.00401370
mov eax, dword [esp + 0x14]
mov esi, 8
cmp dword [esp + 0x28], esi
jae 0x4042e4
lea eax, [esp + 0x14]
push 5
push 0
push 0
push eax
push str.open
push 0
call ebp
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x28], esi
jb 0x40430f
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00446900
add esp, 4
xor edx, edx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], dx
mov al, byte [0x478a58]
test al, al
jne 0x404368
cmp byte [edi + 0x442], al
je 0x404368
push 5
push 0
push 0
push str.http:__s.7654.cc_xfplay.html_898
push str.open
push 0
call ebp
push 0
push 0
push edi
push 0x405d80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x404379
push 1
mov ecx, edi
call fcn.0041384e
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004468a0
add esp, 0x2c
ret
Function at 0x404540
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.0041553a
mov ecx, dword [esi + 0x3f8]
call fcn.00413c7c
mov ecx, dword [esi + 0x408]
mov byte [esi + 0x440], al
call fcn.00413c7c
mov byte [esi + 0x441], al
cmp dword [esi + 0x438], 8
jb 0x4045c8
mov eax, dword [esi + 0x424]
jmp 0x4045ce
lea eax, [esi + 0x424]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [esi + 0x43c], edi
jne 0x40461d
push 0x40
call fcn.00446d62
add esp, 4
cmp eax, edi
je 0x40460b
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 0x40460d
xor eax, eax
mov dword [esi + 0x43c], eax
mov dword [eax + 0x3c], 0x404ae0
mov dword [eax + 0x2c], esi
mov ecx, dword [esi + 0x43c]
push esi
push 0x404640
push edi
call sym.Install.exe_public:_int___thiscall_CAssistTask::StartTask_void___int____stdcall___void___void___void____void__
pop edi
ret
Function at 0x405150
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 0x4051b0
cmp dword [0x477404], 8
mov eax, dword [0x4773f0]
jae 0x40518e
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 0x4051fa
cmp dword [0x477404], 8
mov eax, dword [0x4773f0]
jae 0x4051d8
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 0x405200
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.004472e5
mov ebp, eax
add esp, 4
lea eax, [esp + 8]
push eax
push ebp
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x405252
push ebp
call fcn.004473af
mov ecx, dword [esp + 0xc]
push ecx
call fcn.004472e5
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x40526a
lea edx, [esp + 8]
push edx
push ebp
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x405271
push ebp
call fcn.004473af
add esp, 4
xor al, al
pop ebp
add esp, 8
ret
push esi
xor esi, esi
cmp dword [ebp + 0x190], esi
jbe 0x4052d1
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.0044743d
lea eax, [esp + 0x14]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4052b2
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 0x405280
cmp dword [ebx + 0x14], 8
jae 0x40534f
push edi
mov edi, dword [ebp]
test edi, edi
je 0x40534e
nop
xor esi, esi
cmp dword [edi + 0x190], esi
jbe 0x405341
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.0044743d
lea eax, [esp + 0x18]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405322
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 0x4052f0
cmp dword [ebx + 0x14], 8
jae 0x40534e
mov edi, dword [ebp]
test edi, edi
jne 0x4052e0
pop edi
push ebp
call fcn.004473af
add esp, 4
cmp dword [ebx + 0x14], 0
pop esi
setne al
pop ebp
add esp, 8
ret
Function at 0x405370
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.0044a2c0
add esp, 0xc
lea ecx, [esp]
push ecx
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x4053ca
xor al, al
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.004468a0
add esp, 0x2a4
ret
push 0x104
lea edx, [esp + 0x194]
push edx
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x4053b3
lea eax, [esp + 0x190]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x4053b3
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 0x4053b3
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.004468a0
add esp, 0x2a4
ret

Function at 0x4066f0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x45dee8
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.00446900
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 0x45d64b
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.00410659
lea ecx, [esi + 0x24]
mov dword [esp + 0x14], 0xffffffff
call fcn.00413272
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret