joyce8/EMBER2024-capa huggingface dataset:
Function at 0x481bd0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x574b28
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
call fcn.0040ff50
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [esp + 0x1e]
movzx eax, word [esp + 0x1c]
movzx ecx, word [esp + 0x1a]
push edx
movzx edx, word [esp + 0x1c]
push eax
push ecx
push edx
push str._02d__02d__02d__03d_n
lea edi, [esp + 0x20]
call fcn.00410c20
mov eax, dword [esp + 0x20]
add esp, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x481c6d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x24
ret

Function at 0x481c80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x577f88
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [0x5e736c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5e736c
call edx
add eax, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
push eax
push 0x58ded0
lea edi, [esp + 0x14]
mov dword [esp + 0x20], 0
call fcn.00441d40
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
add esp, 8
push esi
push ecx
mov ecx, dword [esp + 0x2c]
push edx
call fcn.00450580
mov edi, eax
lea eax, [esi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x481d15
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x10

Function at 0x481da0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5746f8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [0x5e736c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5e736c
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x1c], 0
mov ebx, dword [esp + 0x2c]
push eax
lea edi, [esp + 0x14]
call fcn.00410de0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.00483270
mov edi, eax
lea eax, [esi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x481e2f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x482e20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x577f88
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [0x5e736c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5e736c
call edx
add eax, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
push eax
push 0x58ded0
lea edi, [esp + 0x14]
mov dword [esp + 0x20], 0
call fcn.00441d40
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
add esp, 8
push esi
push str.height
push ecx
mov ecx, dword [esp + 0x30]
call fcn.00483be0
mov edi, eax
lea eax, [esi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x482eb5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0xc

Function at 0x484cd0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x484d30
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x484d26
cmp edi, 0x1b
jne 0x484d0e
mov ecx, dword [esi + 4]
push 0
push 2
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0x364], 0
ret
cmp edi, 0xd
jne 0x484d26
mov edx, dword [esi + 4]
push 0
push 1
push 0x111
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0x364], 0
ret
Function at 0x486690
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x56ec13
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
fldz
xor edi, edi
fst dword [esi + 4]
mov ecx, 0x5e736c
fst dword [esi + 8]
fst dword [esi + 0xc]
fstp dword [esi + 0x10]
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi], vtable.CBkRichtextObjBase.0
mov eax, dword [0x5e736c]
mov edx, dword [eax + 0xc]
call edx
add eax, 0x10
mov dword [esi + 0x24], eax
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x28], edi
mov dword [esp + 0x14], edi
mov dword [esi], vtable.CBkRichtextObj.0
mov eax, dword [0x5e736c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5e736c
call edx
add eax, 0x10
mov dword [esi + 0x2c], eax
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x38], 1
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x488c40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov edi, eax
push edi
push ebp
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
jne 0x488c63
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
test ebp, ebp
je 0x488c5b
push ebp
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x10], ecx
je 0x488c5b
mov eax, dword [esi]
sub eax, 0x10
mov edx, 1
sub edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
lea edi, [ebx + 1]
sub eax, edi
or edx, eax
jge 0x488ca8
mov ecx, edi
mov eax, esi
call fcn.00410ad0
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
test eax, eax
je 0x488cb9
push ebx
push ecx
push eax
call sub.MSVCR80.dll_memcpy
add esp, 0xc
mov eax, edi
call fcn.00419e10
push ebp
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x488ce0
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x57ca08
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
mov eax, dword [edi]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
mov dword [esp + 0x18], ebx
je 0x488e27
mov edx, dword [0x5e736c]
mov eax, dword [edx + 0xc]
mov ecx, 0x5e736c
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x30]
mov eax, dword [edi]
push ecx
push edx
push eax
push str._s_d._s
lea edi, [esp + 0x24]
call fcn.00410c00
mov ecx, dword [esp + 0x24]
add esp, 0x10
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x488dff
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, ebx
je 0x488df8
mov eax, dword [esi]
sub eax, 0x10
mov dword [esp + 0x30], ebx
mov edx, 1
sub edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
lea ecx, [edi + 0xa]
sub eax, ecx
or eax, edx
jge 0x488dad
mov eax, esi
call fcn.00410ad0
mov eax, dword [esi]
push ebx
lea edx, [esp + 0x34]
push edx
push edi
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x488dea
cmp dword [esp + 0x30], edi
jne 0x488dea
mov eax, edi
call fcn.00419e10
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x14]
call fcn.00410000
mov eax, 1
jmp 0x488e2b
mov eax, dword [esi]
cmp dword [eax - 8], ebx
jl 0x488e41
mov dword [eax - 0xc], ebx
mov eax, dword [esi]
mov byte [eax], bl
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x488e27
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
push 0x80070057
call fcn.0040fcd0
int3
Function at 0x48ae80
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x1c
mov eax, dword [ebx + 4]
push ebp
push esi
push edi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
xor ebp, ebp
cmp dword [ebx + 0x2a8], ebp
mov dword [esp + 0x10], ebp
je 0x48aeaa
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [ebx + 0x2a8], ebp
mov edi, dword [ebx + 0x29c]
cmp edi, ebp
je 0x48af9a
call fcn.0046bdd0
mov esi, eax
test esi, esi
mov edi, 1
je 0x48af45
mov edx, dword [esi]
mov eax, dword [edx + 0x28]
push 2
push 0
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x34]
mov ecx, esi
call eax
test eax, eax
je 0x48aee8
push ebx
call fcn.0048a950
mov ecx, dword [ebx + 0x29c]
cmp ecx, dword [ebx + 0x298]
jne 0x48af45
movzx edx, word [esp + 0x34]
movzx eax, word [esp + 0x30]
mov ecx, dword [esp + 0x2c]
shl edx, 0x10
or edx, eax
push edx
push ecx
push 0x202
mov ecx, esi
call fcn.0046c070
mov eax, dword [esi + 0x40]
test eax, eax
je 0x48af38
cmp word [eax], bp
je 0x48af38
push edi
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x48af45
mov eax, dword [esi + 0x10]
test eax, eax
je 0x48af45
mov dword [esp + 0x10], edi
mov ebp, eax
cmp dword [esp + 0x10], 0
mov dword [ebx + 0x29c], 0
je 0x48af9a
mov eax, dword [ebx + 4]
push eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edx, dword [esi]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 8]
mov ecx, esi
mov dword [esp + 0x20], ebp
call eax
mov ecx, dword [ebx + 4]
push ecx
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
push ecx
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebp
add esp, 0x1c
ret 0xc

Function at 0x48c390
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [ebx]
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea esi, [eax + 1]
mov eax, dword [edi]
mov edx, dword [eax - 8]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
sub edx, esi
or ecx, edx
jge 0x48c3bc
mov ecx, esi
mov eax, edi
call fcn.00410610
mov eax, dword [edi]
push esi
push eax
mov eax, dword [ebx]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, 0xffffffff
mov ecx, eax
jne 0x48c3ef
mov ecx, dword [edi]
test ecx, ecx
je 0x48c3f3
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x48c3e0
sub ecx, esi
sar ecx, 1
test ecx, ecx
jl 0x48c407
mov edx, dword [edi]
cmp ecx, dword [edx - 8]
jg 0x48c407
mov dword [edx - 0xc], ecx
mov edx, dword [edi]
mov word [edx + ecx*2], 0
pop esi
ret
push 0x80070057
call fcn.0040fcd0
int3
Function at 0x48c760
Capabilities:
Hide graphical window

Disassembly:
push ecx
push ebx
push esi
lea esi, [edi + 4]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push esi
call fcn.00456dc0
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x48c78c
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x48c7df
push 1
push 0x59202c
push 0xaa
lea ebx, [edi + 0x24]
push ebx
mov dword [edi + 0x370], 0xa
call fcn.00481c80
mov eax, dword [edi + 0x370]
cdq
mov ecx, 0xa
idiv ecx
push edx
push 0x59202c
push 0xb4
push ebx
call fcn.00481c80
mov edx, dword [esi]
push 0
push 0x3e8
push 0xf6
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [esi]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi]
push 0
push 0
push 0xf
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [esi]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
pop esi
pop ebx
pop ecx
ret

Function at 0x48c920
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [ecx + 8]
cmp eax, 1
jne 0x48c98c
mov eax, dword [ecx + 0xc]
cmp eax, 0x64
jne 0x48c95a
push 0
push 1
push eax
call fcn.00520ec0
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x48c954
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
ret
cmp eax, 0xc8
jne 0x48c98c
push 0
push 2
push 0x64
call fcn.00520ec0
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x48c986
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
ret
mov dword [esi + 0x36c], 0
xor eax, eax
ret
Function at 0x48caf0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x58
mov eax, dword [0x5d7050]
xor eax, esp
mov dword [esp + 0x54], eax
push esi
push edi
xor eax, eax
mov dword [esp + 0xa], eax
mov dword [esp + 0xe], eax
mov dword [esp + 0x12], eax
mov dword [esp + 0x16], eax
mov dword [esp + 0x1a], eax
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x26], eax
mov dword [esp + 0x2a], eax
mov word [esp + 0x2e], ax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
lea eax, [esp + 8]
xor edi, edi
push eax
mov word [esp + 0xc], di
call fcn.0046ff40
lea eax, [ebx + 0x24]
add esp, 4
cmp eax, edi
je 0x48cb77
lea edi, [eax - 0x24]
mov esi, 0x190
call fcn.004507b0
mov esi, eax
test esi, esi
je 0x48cba0
push 1
push edi
call fcn.00450820
lea eax, [esp + 8]
call fcn.0046fe70
push 1
push edi
call fcn.00450820
mov ecx, dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
lea esi, [ebx + 4]
push ecx
call edi
push esi
call fcn.00456dc0
mov edx, dword [esi]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
push eax
call edi
mov ecx, dword [esi]
push 3
push 0
push 0
push 0
push 0
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
xor ecx, esp
call fcn.00569ed6
mov esp, ebp
pop ebp
ret

Function at 0x48cbf0
Capabilities:
Hide graphical window

Disassembly:
push 0
push 0
push 0x64
call fcn.00520ec0
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x48cc15
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x48f0a0
Capabilities:
Hide graphical window

Disassembly:
push ecx
test esi, esi
je 0x48f0e0
mov eax, dword [edi + 0x3c]
push esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48f0b5
sub eax, edx
sar eax, 1
je 0x48f0d4
mov ecx, dword [edi + 0x3c]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop ecx
ret
mov edx, dword [edi + 0x3c]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop ecx
ret

Function at 0x48f560
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x5746f8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [0x5e736c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5e736c
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x24]
add ebx, 0x3c
lea edi, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.0048c390
mov esi, dword [esp + 0x10]
cmp dword [esi - 0xc], 0
jne 0x48f5c7
mov eax, dword [ebx]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48f5eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x48f7b0
Capabilities:
Access peb ldr_data
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x57a6f1
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea eax, [esp + 0x20]
xor esi, esi
push eax
mov dword [esp + 0x1c], esi
xor ebp, ebp
call fcn.0048fc30
xor edi, edi
lea ebx, [esp + 0x24]
mov dword [esp + 0x38], esi
call fcn.004125d0
push eax
lea ecx, [esp + 0x20]
push ecx
mov ebx, str.datahttproothttproot.html
mov byte [esp + 0x40], 1
call fcn.0041a8a0
add esp, 8
mov byte [esp + 0x38], 3
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48f835
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0048fb50
mov edi, eax
mov eax, dword [esp + 0x20]
mov ecx, str.httproot.html
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48f86b
test dx, dx
je 0x48f867
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48f86b
add eax, 4
add ecx, 4
test dx, dx
jne 0x48f845
xor eax, eax
jmp 0x48f870
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x48f8cb
mov ecx, dword [esp + 0x1c]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ecx
call esi
test eax, eax
je 0x48f8cb
add edi, 0xfffffffc
cmp edi, 3
ja 0x48f8cb
xor edi, edi
lea ebx, [esp + 0x2c]
call fcn.004125d0
push eax
lea edx, [esp + 0x2c]
mov byte [esp + 0x3c], 4
push edx
mov ebx, str.datahttprootuseruser.js
mov dword [esp + 0x20], 1
call fcn.0041a8a0
mov eax, dword [eax]
add esp, 8
push eax
lea ebx, [edi + 3]
call esi
test eax, eax
je 0x48f8cf
mov byte [esp + 0x17], 1
jmp 0x48f8d4
mov ebx, dword [esp + 0x18]
mov byte [esp + 0x17], 0
test bl, 2
je 0x48f900
mov eax, dword [esp + 0x28]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [esp + 0x18], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48f900
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 1
mov dword [esp + 0x38], 3
je 0x48f92d
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48f92d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x17], 0
je 0x48f939
mov ebp, 1
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48f95e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48f986
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x48f9a0
Capabilities:
Set registry value

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREkingsoftkwifiKSetting
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x48f9f7
mov eax, dword [esp]
test eax, eax
mov ecx, dword [esp + 8]
mov dword [esp + 8], ecx
je 0x48fa05
push 4
lea edx, [esp + 0xc]
push edx
push 4
push 0
push str.custom_switch_turnon
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp]
test eax, eax
je 0x48fa05
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ecx
ret 4

Function at 0x48fae0
Capabilities:
Set registry value

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREkingsoftkwifiKSetting
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x48fb37
mov eax, dword [esp]
test eax, eax
mov ecx, dword [esp + 8]
mov dword [esp + 8], ecx
je 0x48fb45
push 4
lea edx, [esp + 0xc]
push edx
push 4
push 0
push str.custom_template_sel
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp]
test eax, eax
je 0x48fb45
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ecx
ret 4

Function at 0x48fbb0
Capabilities:
Set registry value

Disassembly:
push ecx
push edi
push 0
lea eax, [esp + 8]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREkingsoftkwifiKSetting
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x48fc1c
mov edi, dword [esp + 4]
test edi, edi
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
je 0x48fc2b
mov eax, edx
push esi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48fbf6
sub eax, esi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edx
push 1
push 0
push str.custom_template_url
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
mov eax, dword [esp + 4]
test eax, eax
je 0x48fc2b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ecx
ret 4