joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4deb60
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x20]
mov dword [ebp - 4], esi
call fcn.005b0cd0
test eax, eax
je 0x4deb90
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x14
call ebx
lea ecx, [esi + 0x20]
call fcn.005b0cd0
test eax, eax
jne 0x4deb80
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x713e40], 0
jbe 0x4dec14
mov edi, dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov ecx, dword [0x713e3c]
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + 8]
push eax
push 0
push 1
call edi
lea ecx, [ebp - 8]
mov esi, eax
push ecx
push esi
call ebx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x713e3c]
mov eax, dword [ecx + 4]
cmp eax, ecx
je 0x4dec08
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
push eax
mov dword [edx + 4], ecx
call fcn.0060faf6
mov ecx, dword [0x713e3c]
add esp, 4
dec dword [0x713e40]
cmp dword [0x713e40], 0
ja 0x4debb1
mov esi, dword [ebp - 4]
mov eax, dword [esi + 0x298]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4dec49
push 0x32
push eax
call edi
cmp eax, 0x102
jne 0x4dec49
mov edx, dword [esi + 0x298]
push 0x42
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0x298], 0
mov eax, dword [esi + 0x29c]
test eax, eax
je 0x4dec78
push 0x32
push eax
call edi
cmp eax, 0x102
jne 0x4dec78
mov eax, dword [esi + 0x29c]
push 0x42
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0x29c], 0
pop edi
pop esi
mov byte [0x6f6e59], 1
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4df340
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64efeb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x800
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
movzx edx, cl
mov eax, ecx
push edx
shr eax, 0x10
shr ecx, 8
movzx ecx, cl
movzx edx, al
push ecx
shr eax, 8
push edx
movzx eax, al
push eax
lea ecx, [ebp - 0x80c]
push 0x66ea44
push ecx
call fcn.004dc9d0
add esp, 0x18
lea edx, [ebp - 0x80c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005fb5ce
mov esi, eax
add esp, 4
lea eax, [ebp - 0x80c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0xc
call fcn.00611c8b
add esp, 4
mov dword [ebp + 8], eax
xor ecx, ecx
mov dword [ebp - 4], ecx
cmp eax, ecx
je 0x4df3eb
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
jmp 0x4df3ed
xor eax, eax
mov dword [ebp - 4], 0xffffffff
push ecx
push ecx
push eax
push 0x4deea0
push ecx
push ecx
mov dword [eax], edi
mov dword [eax + 8], esi
call fcn.00615455
mov ecx, dword [ebp - 0xc]
add esp, 0x18
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4df5a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6557cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, ecx
mov eax, dword [esi + 4]
push 0x456
push eax
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esi + 4]
push 0x480
push ecx
call edi
mov edx, dword [esi + 4]
push 0x481
push edx
mov ebx, eax
call edi
lea ecx, [ebp - 0x14]
push ecx
mov edi, eax
xor eax, eax
push eax
push 0x466
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
call ebx
lea edx, [ebp - 0x10]
push edx
push 0
push 0x466
push edi
call ebx
mov eax, dword [ebp - 0x14]
xor ebx, ebx
cmp eax, ebx
je 0x4df6fb
mov ecx, dword [ebp - 0x10]
cmp ecx, eax
jb 0x4df6fb
jbe 0x4df64f
mov edx, ecx
sub edx, eax
cmp edx, 0x1fff
jbe 0x4df64f
lea ecx, [eax + 0x1fff]
mov dword [ebp - 0x10], ecx
sub ecx, eax
cmp ecx, 0x64
jbe 0x4df6a9
mov ecx, dword [0x716738]
push 0x80
lea eax, [ebp - 0x118]
push eax
push 0x100
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [esi + 4]
push 0x34
push 0x66f998
lea edx, [ebp - 0x118]
push edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
jne 0x4df6a9
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
push 8
call fcn.005fb5ce
mov ecx, dword [ebp - 0x14]
mov edi, eax
mov dword [edi], ecx
mov edx, dword [ebp - 0x10]
push 0xc
mov dword [edi + 4], edx
call fcn.00611c8b
add esp, 8
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x4df6db
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
jmp 0x4df6dd
xor eax, eax
mov dword [ebp - 4], 0xffffffff
push ebx
push ebx
push eax
push 0x4df420
push ebx
push ebx
mov dword [eax], esi
mov dword [eax + 8], edi
call fcn.00615455
add esp, 0x18
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4e1610
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004df240
Function at 0x4e77f0
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x656618
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
xor eax, eax
push edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
mov esi, dword [ebp + 0xc]
mov ebx, dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x14], eax
lea esp, [esp]
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
mov ecx, 0x700724
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
test esi, esi
je 0x4e7873
test esi, 0xffff0000
jne 0x4e7873
movzx edi, si
push 0
push edi
call fcn.00403bf0
add esp, 8
test eax, eax
je 0x4e787c
push edi
push eax
lea ecx, [ebp - 0x10]
call fcn.00407a90
jmp 0x4e787c
push esi
lea ecx, [ebp - 0x10]
call fcn.00409320
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
push 0xf003f
push 0
push eax
call fcn.005ba710
movzx ecx, al
add esp, 4
neg ecx
sbb ecx, ecx
not ecx
and ecx, esi
push ecx
call ebx
mov edi, eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4e78c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x1c], edi
test edi, edi
jne 0x4e78ea
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, 0x14
jl 0x4e7830
jmp 0x4e791a
xor ebx, ebx
lea esp, [esp]
mov ecx, dword [ebp + 8]
push 0xf01ff
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
jne 0x4e794a
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x14
jl 0x4e78f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x424
jne 0x4e7971
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x4e7993
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
xor ebx, ebx
lea esp, [esp]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
setne al
test al, al
jne 0x4e7971
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x14
jl 0x4e7950
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test eax, eax
je 0x4e7985
push eax
call esi
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x4e7993
push edi
call esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4e9070
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x656780
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push 0
push 2
push 2
push 0
push 0
push 0x40000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x18], esi
cmp esi, 0xffffffff
jne 0x4e90e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4e90c8
and eax, 0xffff
or eax, 0x80070000
push str.hFile_____HANDLE__LONG_PTR__1_
push eax
lea ecx, [ebp - 0x28]
call fcn.0040de50
push 0x6ba4dc
lea ecx, [ebp - 0x28]
push ecx
call fcn.0060fb01
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov edx, dword [ebp + 0xc]
mov eax, edx
lea edi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4e9100
sub eax, edi
sar eax, 1
push 0
lea ecx, [ebp - 0x14]
push ecx
add eax, eax
push eax
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4e9154
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4e9138
and eax, 0xffff
or eax, 0x80070000
push str.WriteFile_hFile__MsiFileName__wcslen_MsiFileName___sizeof_TCHAR___BytesWritten__0_
push eax
lea ecx, [ebp - 0x38]
call fcn.0040de50
push 0x6ba4dc
lea ecx, [ebp - 0x38]
push ecx
call fcn.0060fb01
mov dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4eab40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push esi
mov esi, ecx
mov eax, dword [esi + 0x58]
sub eax, 2
je 0x4eac2a
sub eax, 2
jne 0x4ead19
cmp dword [esi + 0x48], eax
je 0x4eabde
mov eax, dword [esi + 0x50]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x4eab83
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x50], 0
mov edx, dword [ecx + 4]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x716738]
push 0x80
lea eax, [ebp - 0x110]
push eax
push 0x10e
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
mov edx, dword [esi + 4]
push 1
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x110]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
add dword [esi + 0x58], 0xfffffffe
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esi + 0x54]
call fcn.004dce90
mov eax, dword [0x716738]
push 0x80
lea edx, [ebp - 0x110]
push edx
push 0x10d
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
mov ecx, dword [esi + 4]
push 1
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
lea edx, [ebp - 0x110]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
add dword [esi + 0x58], 0xfffffffe
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esi + 0x20]
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push edi
mov edi, dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4eac54
mov eax, dword [eax + 4]
push eax
call edi
test eax, eax
je 0x4eac54
mov ecx, dword [esi + 0x20]
mov edx, dword [ecx + 4]
push 0
push edx
call ebx
mov eax, dword [esi + 0x54]
test eax, eax
je 0x4eac70
mov eax, dword [eax + 4]
push eax
call edi
test eax, eax
je 0x4eac70
mov ecx, dword [esi + 0x54]
mov edx, dword [ecx + 4]
push 0
push edx
call ebx
mov ecx, dword [0x716738]
push 0x80
lea eax, [ebp - 0x110]
push eax
push 0x2af8
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push edx
call edi
lea ecx, [ebp - 0x110]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [esi + 4]
push 0x456
push edx
call edi
push 5
push eax
call ebx
mov eax, dword [esi + 4]
push 0x456
push eax
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esi + 4]
push 1
push ecx
call edi
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [esi + 4]
push 1
push edx
call edi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x10]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 4]
push 1
lea edx, [ebp - 0x10]
push edx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esi + 0x28]
push 5
push ecx
call ebx
dec dword [esi + 0x58]
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4eb260
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, ecx
mov eax, dword [ebx + 4]
lea esi, [ebx + 4]
push 0x456
push eax
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebx + 0x38], 0
mov ecx, dword [esi]
mov dword [ebp - 4], ecx
jne 0x4eb2a7
call fcn.0060ed18
mov dword [ebx + 0x38], eax
test eax, eax
jne 0x4eb2a7
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4eb2d5
lea eax, [ebx + 0x24]
push eax
add eax, 8
push eax
push 0x716768
call fcn.00426c90
mov edx, dword [ebp - 4]
mov eax, dword [0x716738]
push 0
push 0x427de0
push edx
push 0x42e
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamW]
lea ecx, [ebx + 0x28]
push 0
call fcn.00402160
mov ecx, dword [ebx + 0x28]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi]
inc dword [ebx + 0x58]
push 0x456
push edx
call edi
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
push 0x456
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push eax
call ebx
mov ecx, dword [esi]
push 1
push ecx
call edi
push 1
push eax
call ebx
mov edx, dword [esi]
push 1
push edx
call edi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi]
push 1
push eax
call edi
push 0xa
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, esi
call fcn.00402160
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4ebbd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
push 0x30
lea eax, [ebp - 0x30]
push 0
push eax
mov esi, ecx
mov dword [ebp - 0x34], 0
call fcn.006100a0
mov eax, dword [ebp + 0xc]
add esp, 0xc
lea ecx, [ebp - 0x23c]
lea edx, [ebp - 0x34]
push edx
mov edx, dword [esi + 4]
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax + 0xc]
push ecx
push 0x1073
push edx
mov dword [ebp - 0x2c], 5
mov dword [ebp - 0x1c], 0x104
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 0
push 0
lea eax, [ebp - 0x23c]
push eax
push 0x6768a0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 1
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4ec920
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x652e58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
mov eax, dword [ebp + 0x10]
shr eax, 0x10
mov dword [ebp - 0x10], ecx
test eax, eax
je 0x4ec969
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov dword [ebp + 0x14], ebx
xor edi, edi
mov dword [ebp - 4], edi
push ebx
call dword [sym.imp.USER32.dll_GetMenuItemCount]
test eax, eax
jle 0x4ecab9
push esi
push 0x30
lea edx, [ebp - 0x40]
push 0
push edx
call fcn.006100a0
push pe_nt_image_headers32
lea eax, [ebp - 0x150]
push 0
push eax
mov dword [ebp - 0x40], 0x30
call fcn.006100a0
add esp, 0x18
lea ecx, [ebp - 0x154]
push ecx
mov dword [ebp - 0x154], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4ec9e4
mov eax, dword [ebp - 0x150]
cmp eax, 5
jae 0x4ec9eb
cmp eax, 4
jne 0x4ec9e4
cmp dword [ebp - 0x14c], 0x5a
jae 0x4ec9eb
mov dword [ebp - 0x40], 0x2c
lea eax, [ebp - 0x40]
push eax
push 1
push edi
lea edx, [ebp - 0x21c]
push ebx
mov dword [ebp - 0x18], 0x64
mov dword [ebp - 0x3c], 0x3f
mov dword [ebp - 0x1c], edx
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test dword [ebp - 0x38], 0x100
jne 0x4ecaa8
push 0x10
call fcn.00611c8b
mov esi, eax
add esp, 4
test esi, esi
je 0x4ecaa8
mov eax, dword [ebp - 0x38]
or eax, 0x100
mov dword [ebp - 0x38], eax
mov dword [esi + 4], eax
mov ecx, dword [ebp - 0x34]
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4eca50
add ecx, 0xfffffd88
jmp 0x4eca52
xor ecx, ecx
push esi
lea edx, [ebp - 0x40]
push edx
call fcn.004ebac0
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005fb5ce
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x4eca97
lea ecx, [ebp - 0x21c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [ebp - 0x40]
push edx
push 1
push edi
push ebx
mov dword [ebp - 0x20], esi
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
push ebx
inc edi
call dword [sym.imp.USER32.dll_GetMenuItemCount]
cmp edi, eax
jl 0x4ec986
pop esi
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x10]
push eax
add ecx, 0x20
mov dword [ebp + 0x10], ebx
call fcn.00594900
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4ecb90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x656d53
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004f6b90
lea eax, [esi + 0x14]
xor edi, edi
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], edi
mov dword [ebp - 4], 1
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [ebp - 4], 2
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x2c], eax
mov dword [ebp - 4], 4
lea ecx, [esi + 0x30]
call fcn.004ebcf0
mov dword [ebp - 4], 6
mov ecx, dword [ebp + 8]
push edi
push ecx
lea ecx, [esi + 0x5c]
call fcn.005b0e10
mov byte [ebp - 4], 7
lea eax, [esi + 0x278]
mov dword [ebp + 8], eax
mov dword [eax + 0x10], edi
mov byte [ebp - 4], 8
lea ecx, [eax + 0x20]
mov dword [ebp - 0x14], ecx
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov byte [ebp - 4], 0xa
mov dword [eax + 0x2c], edi
mov dword [eax + 0x14], edi
mov dword [eax + 0x1c], 0xc0c0c0
mov dword [eax], 0x10
mov dword [eax + 4], 0xf
mov dword [eax + 8], 0x16
mov dword [eax + 0xc], 0x15
mov byte [ebp - 4], 0xb
mov edx, dword [0x700724]
lea eax, [esi + 0x2a8]
mov dword [ebp - 0x14], eax
add eax, 4
mov dword [ebp + 8], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
call eax
mov ecx, dword [ebp + 8]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 0xe
mov dword [esi], vtable.CInternetView.2.0
mov dword [esi + 0x10], vtable.CInternetView.1.0
mov dword [esi + 0x5c], vtable.CInternetView.0
mov dword [esi + 0x2d8], edi
mov dword [esi + 0x2dc], edi
mov byte [ebp - 4], 0xf
lea eax, [esi + 0x2fc]
mov dword [esi + 0x2e0], edi
mov dword [ebp + 8], eax
lea ecx, [eax + 8]
mov dword [eax + 4], edi
mov dword [ebp - 0x14], ecx
mov dword [ecx + 0xc], edi
mov byte [ebp - 4], 0x11
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], edi
mov byte [ebp - 4], 0x12
mov edx, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [eax + 0x20], edx
mov byte [ebp - 4], 0x14
mov dword [eax], vtable.CPagedHeaderCtrl.0
mov dword [eax + 0x24], edi
mov dword [eax + 0x28], edi
mov dword [eax + 0x2c], edi
mov dword [eax + 0x30], edi
mov byte [ebp - 4], 0x15
mov byte [esi + 0x344], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4ed270
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x640e98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [ecx + 4]
push esi
push edi
push 0
push 0
lea esi, [ecx + 4]
push 0x1042
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4ed32c
mov edx, dword [0x700724]
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x10]
push ecx
push 4
push edi
mov ecx, esi
call fcn.004a2c80
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], 0
je 0x4ed309
cmp dword [esi - 4], 1
jle 0x4ed2f5
mov edx, dword [esi - 0xc]
push edx
lea ecx, [ebp - 0x10]
call fcn.00401370
mov esi, dword [ebp - 0x10]
push 5
push 0
push 0
push esi
push 0x66f294
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], 0xffffffff
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ed32c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4efbe0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x65b1e0
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
lea eax, [ebp - 0x18]
push eax
mov esi, ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, esi
call fcn.004f6c50
test eax, eax
je 0x4efc54
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x18]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x1c], ecx
push edx
mov ecx, esi
mov dword [ebp - 0x20], eax
call fcn.004f6dd0
cmp eax, 0xffffffff
je 0x4efc54
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esi + 4]
push ebx
push edi
push 0
push 0
lea edi, [esi + 4]
push 0x1042
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4efcdd
push 0x66eba8
lea ecx, [ebp - 0x10]
call fcn.0040bea0
mov dword [ebp - 4], 0
mov esi, dword [esi + 0x2f8]
lea ecx, [ebp - 0x10]
push ecx
push esi
push ebx
mov ecx, edi
call fcn.004a2c80
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x4efcb7
push 5
push 0
push 0
push eax
push 0x66f294
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4efcdd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
xor eax, eax
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10