joyce8/EMBER2024-capa huggingface dataset:
Function at 0x485290
Capabilities:
Delete file
Move file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe018
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x53f030]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0043ae40
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4852d4
push 0x80004005
call fcn.0043a9b0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
push str.PeriodicOffer
call fcn.00482bd0
mov ebx, dword [ebp - 0x10]
add esp, 8
or ecx, 0xffffffff
test eax, eax
jns 0x48530a
xor esi, esi
jmp 0x485401
lea eax, [ebx - 0x10]
push eax
call fcn.0043a9d0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x14], eax
push 0xb
push str.octemp.exe
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00452320
mov edi, dword [ebp - 0x14]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
je 0x4853da
push 0
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x18]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x4853da
lea eax, [ebx - 0x10]
push eax
call fcn.0043a9d0
add eax, 0x10
add esp, 4
mov dword [ebp + 0xc], eax
push str.oc.exe
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.004558b0
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
neg eax
mov byte [ebp - 4], 1
sbb edx, edx
add esi, 0xfffffff0
neg edx
or ecx, 0xffffffff
mov dword [ebp + 0xc], edx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4853de
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 0xc]
jmp 0x4853e0
xor esi, esi
jmp 0x4853e0
mov esi, edx
add edi, 0xfffffff0
mov byte [ebp - 4], 0
or ecx, 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4853fe
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
or ecx, 0xffffffff
add ebx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48541f
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x485440
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
push 0
push 0
push 0x2001f
push 0
push 0
push dword [0x53ca90]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push reloc.WS2_32.dll_accept
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call fcn.0043aa90
mov edi, dword [ebp - 0xc]
test eax, eax
jne 0x4854c2
mov eax, dword [ebp + 8]
mov edx, dword [eax]
test edx, edx
je 0x4854bb
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x485492
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push dword [0x53ca74]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, 1
jmp 0x4854c4
xor esi, esi
test edi, edi
je 0x4854cf
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4854e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
push 0
push 0
push 0x2001f
push 0
push 0
push dword [0x53ca94]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push reloc.WS2_32.dll_accept
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call fcn.0043aa90
mov edi, dword [ebp - 0xc]
test eax, eax
jne 0x485564
mov eax, dword [ebp + 8]
mov edx, dword [eax]
test edx, edx
je 0x485564
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x485532
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push dword [0x53ca98]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x485564
lea esi, [eax + 1]
jmp 0x485566
xor esi, esi
test edi, edi
je 0x485571
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x485810
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ffa40
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x53f030]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0043ae40
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x485854
push 0x80004005
call fcn.0043a9b0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
push str.PlatformVersion
push dword [0x53e7c8]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004b9fe0
add esp, 0x10
call fcn.0043ae40
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4858a0
push 0x80004005
call fcn.0043a9b0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push dword [0x53e788]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push str._sOffers
push eax
call fcn.0043ad30
mov edi, dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
add esp, 0xc
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0
push 0
push 0x2001f
push 0
push 0
push edi
push reloc.WS2_32.dll_accept
call fcn.0043aa90
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x20]
test eax, eax
jne 0x48593e
xor eax, eax
test esi, esi
setne al
test eax, eax
je 0x48593e
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x485915
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push dword [0x53ca78]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test ebx, ebx
je 0x485949
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [edi - 0x10]
mov byte [ebp - 4], 0
or edi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x485969
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x485987
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x485aa0
Capabilities:
Print debug messages
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x20], 0
je 0x485b0a
cmp dword [esi + 0x24], 0
je 0x485b0a
push ebx
push 0
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0
push ecx
lea eax, [esi + 0xc]
xorps xmm0, xmm0
push 0x14
movdqu xmmword [eax], xmm0
push eax
mov dword [eax + 0x10], 0
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 4], 0x14
mov ebx, eax
jne 0x485af7
xor ebx, ebx
cmp dword [esi + 0x1c], 1
sete bl
mov eax, ebx
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
push str.The_size_of_read_result_values_does_not_match_the_size_of_PipeServerResponse_struct
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, ebx
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x485b20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 4], ebx
jne 0x485b42
mov dword [edi + 0x14], 0x12
xor eax, eax
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
cmp dword [eax], 0x1470
jne 0x485bca
push esi
push 0x1474
mov dword [ebp - 4], 0x1470
call fcn.004d7faf
mov esi, eax
lea eax, [ebp - 4]
push 4
push eax
push 4
push esi
call fcn.004d93d7
push 0x1470
push dword [ebp + 8]
lea eax, [esi + 4]
push 0x1470
push eax
call fcn.004d93d7
add esp, 0x24
mov dword [ebp - 8], ebx
lea eax, [ebp - 8]
push 0
push eax
push 0x1474
push esi
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, eax
test ebx, ebx
je 0x485baa
xor eax, eax
jmp 0x485bb0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov dword [edi + 0x18], eax
mov dword [edi + 0x24], ebx
call fcn.004d89f6
add esp, 4
mov eax, ebx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [edi + 0x14], 0x11
mov eax, ebx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x485be0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe1a5
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x53f030]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov byte [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [ebp - 4], 0
mov dword [esi], vtable.CRetakeUI.0
call fcn.0043ae40
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x485c5b
push 0x80004005
call fcn.0043a9b0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x28], eax
mov byte [ebp - 4], 1
call fcn.0043ae40
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x485c88
push 0x80004005
call fcn.0043a9b0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x2c], eax
mov byte [ebp - 4], 2
call fcn.0043ae40
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x485cb5
push 0x80004005
call fcn.0043a9b0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x30], eax
mov byte [ebp - 4], 3
call fcn.0043ae40
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x485ce2
push 0x80004005
call fcn.0043a9b0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x34], eax
mov byte [ebp - 4], 4
call fcn.0043ae40
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x485d0f
push 0x80004005
call fcn.0043a9b0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x48], eax
mov byte [ebp - 4], 5
call fcn.0043ae40
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x485d3c
push 0x80004005
call fcn.0043a9b0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x50], eax
mov byte [ebp - 4], 6
call fcn.0043ae40
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x485d69
push 0x80004005
call fcn.0043a9b0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x6c], eax
push dword [ebp + 8]
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 7
mov dword [0x543f68], esi
call fcn.0043a620
push dword [ebp + 0xc]
lea ecx, [esi + 0x2c]
call fcn.0043a620
push dword [ebp + 0x10]
lea ecx, [esi + 0x30]
call fcn.0043a620
push dword [ebp + 0x14]
lea ecx, [esi + 0x34]
call fcn.0043a620
mov eax, dword [ebp + 0x18]
lea ecx, [esi + 0x48]
push 5
push str.slide
mov dword [esi + 0x38], eax
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x4c], 0x3e8
call fcn.0043b750
push 5
push str.blend
lea ecx, [esi + 0x50]
mov dword [esi + 0x54], 0x3e8
call fcn.0043b750
mov dword [esi + 0x58], 0
mov eax, esi
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x485ff0
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x53f030]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0x50f338
mov esi, ecx
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [esi + 0x5c], eax
test eax, eax
je 0x4860a7
push 0
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push 0
push 0x30
movdqu xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, 0x24
lea eax, [ebp - 0x38]
jmp 0x486040
mov byte [eax], 0
lea eax, [eax + 1]
dec ecx
jne 0x486040
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
push eax
push 5
mov dword [ebp - 0x38], 0x24
mov dword [esi + 0x58], ecx
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
mov eax, dword [ebp - 0x2c]
cmp eax, 3
je 0x486072
cmp eax, 2
jne 0x4860a7
mov dword [esi + 0x58], eax
lea eax, [ebp - 0x3c]
push eax
push dword [esi + 0x5c]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x4860a7
push 2
push 0
push dword [ebp - 0x3c]
push 0x487170
push 0
push 0x800b
push 0x800b
call dword [sym.imp.USER32.dll_SetWinEventHook]
mov dword [esi + 0x60], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004d89fb
mov esp, ebp
pop ebp
ret
Function at 0x486b60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x502a40
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x53f030]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0043ae40
xor edx, edx
mov ecx, eax
test ecx, ecx
setne dl
test edx, edx
jne 0x486ba5
push 0x80004005
call fcn.0043a9b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
cmp byte [ebp + 0xc], 0
mov dword [ebp - 4], 0
je 0x486be5
push 0x117
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xf3
push pe_nt_image_headers32
mov ecx, edi
call fcn.004866b0
push str.APNText_Accept_DS
lea ecx, [ebp - 0x14]
call fcn.0043a420
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push 0
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
call fcn.00459710
mov edx, dword [ebp - 0x14]
test eax, eax
mov byte [ebp - 4], 0
sete byte [ebp + 0xf]
add edx, 0xfffffff0
or eax, 0xffffffff
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x486c2f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp + 0xf], 0
je 0x486c44
push 0x2f
push str.Yes__make_TEXT_PLACE_HOLDER_my_default_search
lea ecx, [ebp - 0x10]
call fcn.0043b750
push dword [edi + 0x30]
lea ecx, [ebp - 0x10]
push 0x5089c8
call fcn.0044b1f0
mov esi, dword [ebp - 0x10]
push pe_nt_image_headers32
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [ebp - 0x10]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x486c91
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x486cb0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x502a40
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x53f030]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0043ae40
xor edx, edx
mov ecx, eax
test ecx, ecx
setne dl
test edx, edx
jne 0x486cf5
push 0x80004005
call fcn.0043a9b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
cmp byte [ebp + 0xc], 0
mov dword [ebp - 4], 0
je 0x486d35
push pe_nt_image_headers32
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xf3
push 0x117
mov ecx, edi
call fcn.004866b0
push str.APNText_Accept_HP
lea ecx, [ebp - 0x14]
call fcn.0043a420
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push 0
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
call fcn.00459710
mov edx, dword [ebp - 0x14]
test eax, eax
mov byte [ebp - 4], 0
sete byte [ebp + 0xf]
add edx, 0xfffffff0
or eax, 0xffffffff
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x486d7f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp + 0xf], 0
je 0x486d94
push 0x2a
push str.Yes__make_TEXT_PLACE_HOLDER_my_home_page
lea ecx, [ebp - 0x10]
call fcn.0043b750
push dword [edi + 0x2c]
lea ecx, [ebp - 0x10]
push 0x5089c8
call fcn.0044b1f0
mov esi, dword [ebp - 0x10]
push 0x117
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [ebp - 0x10]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x486de1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x487f00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov dword [edi + 0x28], eax
call fcn.0043ae40
mov ecx, eax
test ecx, ecx
je 0x487fb7
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebx, dword [str.ie_hp_owned]
lea ecx, [ebp - 0x10]
mov esi, eax
mov dword [ebp - 0x10], 0
xor eax, eax
mov dword [ebp - 0xc], 0
cmp dword [edi + 0x28], 1
push 2
push dword [0x53e788]
sete al
mov dword [ebp - 8], 0
push reloc.WS2_32.dll_accept
mov dword [ebp - 4], eax
call fcn.0043b290
mov edi, dword [ebp - 0x10]
mov dword [ebp + 8], eax
test eax, eax
jne 0x487f82
push 4
lea eax, [ebp - 4]
push eax
push 4
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp + 8], eax
test edi, edi
je 0x487f8d
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
lea eax, [esi + 0xc]
cmp dword [ebp + 8], ebx
sete bl
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x487fac
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.0043a9b0
int3
Function at 0x487fd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov dword [edi + 0x24], eax
call fcn.0043ae40
mov ecx, eax
test ecx, ecx
je 0x488087
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebx, dword [str.ie_ds_owned]
lea ecx, [ebp - 0x10]
mov esi, eax
mov dword [ebp - 0x10], 0
xor eax, eax
mov dword [ebp - 0xc], 0
cmp dword [edi + 0x24], 1
push 2
push dword [0x53e788]
sete al
mov dword [ebp - 8], 0
push reloc.WS2_32.dll_accept
mov dword [ebp - 4], eax
call fcn.0043b290
mov edi, dword [ebp - 0x10]
mov dword [ebp + 8], eax
test eax, eax
jne 0x488052
push 4
lea eax, [ebp - 4]
push eax
push 4
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp + 8], eax
test edi, edi
je 0x48805d
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
lea eax, [esi + 0xc]
cmp dword [ebp + 8], ebx
sete bl
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48807c
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.0043a9b0
int3

Function at 0x488100
Capabilities:
Create thread

Disassembly:
push esi
push 0
push 0
push 0
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x2c], eax
test eax, eax
jne 0x48811c
xor eax, eax
pop esi
ret
push 0
push 0
push esi
push 0x488150
push 0
push 0
call fcn.004da73c
add esp, 0x18
mov dword [esi + 0x30], eax
test eax, eax
je 0x488118
mov ecx, esi
call fcn.00488590
xor ecx, ecx
test al, al
pop esi
setne cl
mov eax, ecx
ret
Function at 0x489180
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x53f030]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
mov dword [ebp - 0x220], eax
call fcn.0043ac50
lea eax, [ebp - 0x210]
push eax
push 0x20019
push 0
push dword [0x53e7bc]
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x489336
push edi
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004d9060
push 0x7ffe
mov dword [ebp - 0x224], 0x104
mov dword [ebp - 0x21c], 0
call fcn.004d7faf
mov edi, eax
add esp, 0x10
mov eax, 0x3fff
mov ecx, edi
mov byte [ecx], 0
lea ecx, [ecx + 1]
dec eax
jne 0x489212
lea eax, [ebp - 0x240]
mov dword [ebp - 0x214], 0x3fff
push eax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [ebp - 0x218]
test eax, eax
je 0x489305
push esi
xor esi, esi
test eax, eax
je 0x489304
mov edi, edi
xor eax, eax
mov dword [ebp - 0x214], 0x3fff
push eax
push eax
push eax
push eax
mov word [edi], ax
lea eax, [ebp - 0x214]
push eax
push edi
push esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x4892fb
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4892c1
sub eax, edx
mov ecx, ebx
sar eax, 1
push eax
push edi
call fcn.0043b750
mov eax, dword [ebx]
test eax, eax
je 0x489349
push eax
mov eax, dword [ebp - 0x220]
push dword [eax]
call fcn.004da111
add esp, 8
test eax, eax
jne 0x489304
mov ecx, ebx
call fcn.0043ac50
inc esi
cmp esi, dword [ebp - 0x218]
jb 0x489290
pop esi
push edi
call fcn.004d89f6
add esp, 4
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebx]
xor eax, eax
pop edi
pop ebx
cmp dword [ecx - 0xc], eax
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d89fb
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop ebx
call fcn.004d89fb
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.0043a9b0
int3
Function at 0x48a040
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe666
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x53f030]
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 eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
test eax, eax
jne 0x48a082
mov eax, 0x80070057
jmp 0x48a1a5
push eax
lea ecx, [ebp - 0x21c]
call fcn.0043a420
mov eax, dword [ebp - 0x21c]
or ebx, 0xffffffff
mov dword [ebp - 4], 0
cmp dword [eax - 0xc], 0
jne 0x48a0ae
mov esi, 0x80070057
jmp 0x48a17f
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.004d9060
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, 0x104
ja 0x48a17a
test eax, eax
je 0x48a17a
push 0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x507ffc
push 0x509c8c
lea ecx, [ebp - 0x21c]
call fcn.0044b1f0
push 0x507ffc
push 0x50af18
lea ecx, [ebp - 0x21c]
call fcn.0044b1f0
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.004593d0
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0043a620
mov edx, dword [ebp - 0x220]
mov ecx, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48a176
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
jmp 0x48a17f
mov esi, 0x80004005
mov edi, dword [ebp - 0x21c]
add edi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x48a1a3
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 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.004d89fb
mov esp, ebp
pop ebp
ret