joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411d90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a9e88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x4c2080]
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], eax
xor edi, edi
lea ecx, [esi + 4]
mov dword [esp + 0x18], edi
call fcn.0043b360
mov ecx, dword [0x4c2080]
mov dword [esi + 0x1c], ecx
mov edx, dword [0x4c2080]
mov dword [esi + 0x20], edx
mov eax, dword [0x4c2080]
mov dword [esi + 0x24], eax
mov ecx, dword [0x4c2080]
mov dword [esi + 0x28], ecx
mov edx, dword [0x4c2080]
mov dword [esi + 0x2c], edx
mov eax, dword [0x4c2080]
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], reloc.OLEAUT32.dll_SysReAllocString
mov ecx, dword [0x4c2080]
mov dword [esi + 0x38], ecx
mov edx, dword [0x4c2080]
mov cl, byte [esp + 0xb]
mov dword [esi + 0x3c], edx
mov eax, dword [0x4c2080]
mov dword [esi + 0x40], eax
mov byte [esi + 0x44], cl
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov edx, dword [0x4c2080]
mov dword [esi + 0x54], edx
mov eax, dword [0x4c2080]
mov dword [esi + 0x58], eax
mov ecx, dword [0x4c2080]
mov dword [esi + 0x5c], ecx
mov edx, dword [0x4c2080]
mov dword [esi + 0x60], edx
mov eax, dword [0x4c2080]
mov dword [esi + 0x64], eax
mov ecx, dword [0x4c2080]
mov dword [esi + 0x68], ecx
mov edx, dword [0x4c2080]
mov dword [esi + 0x6c], edx
mov eax, dword [0x4c2080]
mov dl, byte [esp + 0xb]
mov dword [esi + 0x70], eax
mov ecx, dword [0x4c2080]
mov eax, 0x14
mov dword [esi + 0x74], ecx
mov byte [esi + 0x78], dl
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], 0x3e8
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], 1
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], edi
mov eax, dword [0x4c2080]
mov dword [esi + 0xb8], eax
or eax, 0xffffffff
mov dword [esi + 0xbc], eax
mov dword [esi + 0xc0], eax
mov dword [esi + 0xc4], 0xb4
mov ecx, dword [0x4c2080]
mov eax, 0x6400000
mov dword [esi + 0xc8], ecx
mov dword [esi + 0xd0], eax
mov dl, byte [esp + 0xb]
mov dword [esi + 0xd8], eax
mov al, byte [esp + 0xb]
mov dword [esi + 0xd4], edi
mov dword [esi + 0xdc], edi
mov byte [esi + 0xe0], dl
mov dword [esi + 0xe4], edi
mov dword [esi + 0xe8], edi
mov dword [esi + 0xec], edi
mov byte [esi + 0xf0], al
mov dword [esi + 0xf4], edi
mov dword [esi + 0xf8], edi
mov dword [esi + 0xfc], edi
mov ecx, dword [0x4c2080]
mov dword [esi + 0x100], ecx
mov edx, dword [0x4c2080]
mov dword [esi + 0x104], edx
mov eax, dword [0x4c2080]
mov dword [esi + 0x108], eax
mov ecx, dword [0x4c2080]
mov dword [esi + 0x10c], ecx
mov edx, dword [0x4c2080]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x110], edx
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x412970
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4aa088
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov ebx, ecx
xor esi, esi
or eax, 0xffffffff
mov dword [ebx + 4], esi
mov dword [ebx + 8], eax
mov ecx, dword [0x4c2080]
mov dword [esp + 0xc], ebx
mov dword [ebx + 0xc], ecx
mov edx, dword [0x4c2080]
mov dword [esp + 0x18], esi
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x24], esi
mov dword [ebx + 0x28], esi
mov dword [ebx + 0x2c], esi
mov dword [ebx + 0x30], 0xb4
mov ecx, dword [0x4c2080]
mov dword [ebx + 0x34], ecx
mov dword [ebx + 0x38], esi
mov edx, dword [0x4c2080]
mov dword [ebx + 0x50], edx
mov eax, dword [0x4c2080]
mov dword [ebx + 0x54], eax
mov cl, byte [esp + 0x20]
mov dword [ebx + 0x70], esi
mov byte [ebx + 0x6c], cl
mov dword [ebx + 0x74], esi
mov dword [ebx + 0x78], esi
mov edx, dword [0x4c2080]
mov dword [ebx + 0x7c], edx
mov eax, 0x4d1b48
mov byte [esp + 0x18], 7
test eax, eax
mov dword [ebx], vtable.CDownloadTask.0
jne 0x412a1e
xor ebp, ebp
jmp 0x412a2b
push 0x4d1b48
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, eax
mov eax, dword [ebx + 0x34]
mov edx, dword [eax - 0xc]
lea ecx, [eax - 0xc]
cmp edx, 1
jg 0x412a3e
cmp ebp, dword [eax - 4]
jle 0x412aa1
mov edx, dword [0x4c2084]
add eax, 0xfffffff4
cmp eax, edx
je 0x412a6e
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x412a65
mov ecx, dword [ebx + 0x34]
sub ecx, 0xc
push ecx
call fcn.00442ac0
add esp, 4
mov edx, dword [0x4c2080]
mov dword [ebx + 0x34], edx
cmp ebp, esi
jne 0x412a79
mov eax, dword [0x4c2080]
jmp 0x412a9e
lea ecx, [ebp + ebp + 0xe]
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, esi
je 0x412ad6
mov dword [eax], 1
mov word [eax + ebp*2 + 0xc], si
mov dword [eax + 4], ebp
mov dword [eax + 8], ebp
add eax, 0xc
mov dword [ebx + 0x34], eax
lea eax, [ebp + ebp]
lea edx, [ebp + ebp + 2]
cmp edx, eax
jb 0x412ac9
mov ecx, eax
push edi
mov edi, dword [ebx + 0x34]
mov edx, ecx
mov esi, 0x4d1b48
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
pop edi
mov ecx, dword [ebx + 0x34]
mov dword [ecx - 8], ebp
mov edx, dword [ebx + 0x34]
mov word [edx + eax], si
mov ecx, dword [esp + 0x10]
mov dword [ebx + 0x68], esi
mov dword [ebx + 0x5c], esi
mov dword [ebx + 0x60], esi
mov dword [ebx + 0x64], esi
pop esi
mov dword [ebx + 0x58], 1
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x412b20
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4aa0f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], vtable.CDownloadTask.0
mov eax, dword [esi + 0x14]
mov dword [esp + 0x1c], 7
cmp eax, 0xffffffff
je 0x412b6f
call fcn.004131a0
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x412b6f
call fcn.0041a1d0
mov ecx, dword [esi + 0x68]
call fcn.00419b30
mov edi, dword [esi + 0x70]
mov eax, dword [esi + 0x74]
cmp edi, eax
je 0x412b8e
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [edi]
push eax
call ebx
mov eax, dword [esi + 0x74]
add edi, 4
cmp edi, eax
jne 0x412b7f
mov eax, dword [esi + 0x7c]
mov edx, dword [0x4c2084]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x412bbd
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x412bbd
mov eax, dword [esi + 0x7c]
sub eax, 0xc
push eax
call fcn.00442ac0
add esp, 4
mov ebx, dword [esi + 0x74]
mov edi, dword [esi + 0x70]
cmp edi, ebx
mov byte [esp + 0x1c], 5
je 0x412bdc
push 0
mov ecx, edi
call fcn.004128b0
add edi, 4
cmp edi, ebx
jne 0x412bcc
mov eax, dword [esi + 0x70]
push eax
call fcn.00442ac0
xor edi, edi
add esp, 4
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov eax, dword [esi + 0x54]
mov ecx, dword [0x4c2084]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x412c1c
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x412c1c
mov eax, dword [esi + 0x54]
sub eax, 0xc
push eax
call fcn.00442ac0
add esp, 4
mov eax, dword [esi + 0x50]
mov edx, dword [0x4c2084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x412c45
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x412c45
mov eax, dword [esi + 0x50]
sub eax, 0xc
push eax
call fcn.00442ac0
add esp, 4
mov ecx, dword [esi + 0x38]
mov byte [esp + 0x1c], 2
cmp ecx, edi
je 0x412c56
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, dword [esi + 0x34]
mov edx, dword [0x4c2084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x412c7f
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x412c7f
mov edx, dword [esi + 0x34]
sub edx, 0xc
push edx
call fcn.00442ac0
add esp, 4
mov eax, dword [esi + 0x10]
mov edx, dword [0x4c2084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x412ca8
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x412ca8
mov edx, dword [esi + 0x10]
sub edx, 0xc
push edx
call fcn.00442ac0
add esp, 4
mov eax, dword [esi + 0xc]
mov edx, dword [0x4c2084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x412cd1
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x412cd1
mov edx, dword [esi + 0xc]
sub edx, 0xc
push edx
call fcn.00442ac0
add esp, 4
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x414220
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x2670
call fcn.004a2ae0
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x18], ecx
call fcn.004141e0
mov esi, eax
mov ecx, 0x800
xor eax, eax
lea edi, [esp + 0x680]
rep stosd dword es:[edi], eax
mov ebx, 1
lea eax, [esp + 0x14]
lea ecx, [esp + 0x680]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0x1000
push eax
mov eax, dword [esi + 0x3c]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x38]
push edx
mov edx, dword [esi + 0x34]
push eax
push ecx
push edx
mov dword [esp + 0x34], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [esp + 0x10], ebx
jne 0x41431b
cmp word [esp + 0x680], 0
je 0x41431b
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x41431b
lea eax, [esp + 0x680]
lea ebx, [esi + 0x2c]
test eax, eax
jne 0x4142b5
xor ebp, ebp
jmp 0x4142c5
lea ecx, [esp + 0x680]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, eax
mov eax, dword [ebx]
cmp dword [eax - 0xc], 1
jg 0x4142d2
cmp ebp, dword [eax - 4]
jle 0x4142e5
mov ecx, ebx
call fcn.00405a90
push ebp
mov ecx, ebx
call fcn.004056f0
test eax, eax
je 0x41431b
lea eax, [ebp + ebp]
lea edx, [ebp + ebp + 2]
cmp edx, eax
jb 0x41430e
mov edi, dword [ebx]
mov ecx, eax
mov edx, ecx
lea esi, [esp + 0x680]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x1c]
mov ecx, dword [ebx]
mov dword [ecx - 8], ebp
mov edx, dword [ebx]
mov word [edx + eax], 0
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x2c]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0x430]
lea ecx, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x41435f
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [esi + 0x70]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push edx
push eax
call fcn.00413d00
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2670
ret
Function at 0x414370
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4aa1ab
push eax
mov eax, 0x2678
mov dword fs:[0], esp
call fcn.004a2ae0
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], ebx
call fcn.004141e0
mov esi, eax
mov ecx, 0x103
xor eax, eax
lea edi, [esp + 0x2a]
mov word [esp + 0x28], bx
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebp, dword [esi + 0x48]
mov ecx, 0x7ff
xor eax, eax
lea edi, [esp + 0x68a]
mov word [esp + 0x688], bx
push edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x68c]
mov edi, 1
push edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], 0x1000
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x38]
lea edx, [esp + 0x20]
push edx
push eax
mov eax, dword [esi + 0x34]
push ecx
push eax
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [esp + 0x18], edi
jne 0x414483
cmp word [esp + 0x688], bx
je 0x414483
cmp dword [esp + 0x10], ebx
jbe 0x414483
lea ecx, [esp + 0x688]
mov dword [esp + 0x14], edi
test ecx, ecx
lea ebx, [esi + 0x2c]
jne 0x414436
xor edi, edi
jmp 0x414446
lea edx, [esp + 0x688]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004059f0
test eax, eax
je 0x414483
mov edx, dword [ebx]
lea eax, [edi + edi]
mov dword [esp + 0x20], eax
push eax
lea eax, [esp + 0x68c]
lea ecx, [edi + edi + 2]
push eax
push ecx
push edx
call fcn.00404a40
mov eax, dword [ebx]
mov edx, dword [esp + 0x30]
add esp, 0x10
mov dword [eax - 8], edi
mov ecx, dword [ebx]
mov word [ecx + edx], 0
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x2c]
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push eax
lea eax, [esp + 0x2c]
push ecx
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [esp + 0x438]
lea edx, [esp + 0x28]
push ecx
push edx
call ebx
cmp eax, 0xffffffff
je 0x414500
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp ebp, dword [esi + 0x4c]
je 0x4144f9
mov ecx, dword [ebp]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4144ef
mov eax, dword [esi + 0x2c]
push ecx
push eax
lea eax, [esp + 0x30]
push eax
call edi
lea ecx, [esp + 0x438]
lea edx, [esp + 0x28]
push ecx
push edx
call ebx
cmp eax, 0xffffffff
je 0x414500
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esi + 0x4c]
add ebp, 4
cmp ebp, eax
jne 0x4144be
mov eax, 1
jmp 0x414567
mov ebx, dword [esp + 0x14]
xor edi, edi
xor eax, eax
lea ecx, [esp + 0x1c]
test ebx, ebx
setne al
add eax, 0x30
push ecx
mov ecx, dword [esp + 0x28]
mov esi, eax
call fcn.00414080
mov edx, dword [eax]
push edi
push edx
push esi
mov ecx, 0x4d1ad0
mov dword [esp + 0x269c], edi
call fcn.00403720
mov eax, dword [esp + 0x1c]
mov edx, dword [0x4c2084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x414565
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x414565
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.00442ac0
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x2688]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2684
ret
Function at 0x414a70
Capabilities:
Get file size

Disassembly:
mov eax, dword [esp + 4]
push esi
test eax, eax
jne 0x414a7e
or eax, 0xffffffff
pop esi
ret
push 0
push 0
push 3
push 0
push 1
push 8
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x414a9c
or eax, eax
pop esi
ret
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret

Function at 0x414b40
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
call fcn.00414b10
test eax, eax
jne 0x414b4e
pop esi
ret
mov eax, dword [esi + 0x20]
push 2
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 3
mov ecx, esi
call fcn.00415ef0
mov eax, 1
pop esi
ret
Function at 0x415020
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x41506f
cmp dword [esp + 0x10], 0x104
jl 0x41506f
mov ecx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
push ecx
push 0
mov dword [esp + 0x18], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x41506f
mov edx, dword [esp + 0xc]
push esi
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x415d40
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x22c
push ebx
push esi
push edi
push 0
mov ebx, ecx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x415d6a
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x22c
ret
mov ecx, 0x8a
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x415da4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x22c
ret
push ebp
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebp, eax
cmp ebp, dword [esp + 0x18]
je 0x415dd5
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebx
call fcn.00415e10
test eax, eax
je 0x415dd5
mov edx, dword [esp + 0x18]
mov ecx, ebx
push edx
call fcn.00415e70
test eax, eax
jne 0x415de6
lea eax, [esp + 0x10]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x415deb
jmp 0x415daf
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop ebp
test edi, edi
pop edi
pop esi
sete al
pop ebx
add esp, 0x22c
ret

Function at 0x417a00
Capabilities:
Allocate or change rwx memory

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0x20]
test eax, eax
je 0x417a0f
lea ecx, [eax - 0x20]
jmp 0x417a11
xor ecx, ecx
push eax
push 0x40
add ecx, 8
push 0xd
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 4], 0
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], 0
mov dword [esi], vtable.CEditRender.0
mov eax, esi
pop esi
ret
Function at 0x417ac0
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0xffffffffffffffff
push 0x4aa43f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
mov ebp, ecx
push esi
xor esi, esi
push edi
lea ecx, [ebp + 0x40]
mov dword [esp + 0x14], ebp
cmp ecx, esi
je 0x417af0
lea eax, [ecx - 0x40]
jmp 0x417af2
xor eax, eax
push ecx
add eax, 0x2c
push 0x40
push 0xd
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, ebp
mov dword [esp + 0x20], esi
call fcn.0043ed70
mov dword [ebp + 0x28], esi
mov dword [ebp + 0x3c], esi
or eax, 0xffffffff
mov dword [ebp + 0x44], esi
mov dword [ebp + 0x48], esi
mov dword [ebp + 0x4c], esi
mov byte [ebp + 0x60], 0
mov dword [ebp + 0x50], esi
mov dword [ebp + 0x54], esi
mov dword [ebp + 0x58], eax
mov dword [ebp + 0x5c], eax
mov eax, dword [0x4c2080]
mov dword [ebp + 0x68], eax
mov ecx, dword [0x4c2080]
lea ebx, [ebp + 0x6c]
mov dword [ebx], ecx
mov edx, 0x4d1b48
mov byte [esp + 0x20], 5
test edx, edx
mov dword [ebp], vtable.CFinishDialog.1.0
mov dword [ebp + 0x24], vtable.CFinishDialog.0
jne 0x417b65
xor edi, edi
mov dword [esp + 0x10], edi
jmp 0x417b76
push 0x4d1b48
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esp + 0x10], eax
mov edi, eax
mov eax, dword [ebx]
mov edx, dword [eax - 0xc]
lea ecx, [eax - 0xc]
cmp edx, 1
jg 0x417b88
cmp edi, dword [eax - 4]
jle 0x417bc2
mov edx, dword [0x4c2084]
add eax, 0xfffffff4
cmp eax, edx
je 0x417bb6
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x417bae
mov eax, dword [ebx]
sub eax, 0xc
push eax
call fcn.00442ac0
add esp, 4
mov ecx, dword [0x4c2080]
mov dword [ebx], ecx
push edi
mov ecx, ebx
call fcn.004056f0
cmp eax, esi
je 0x417bf5
lea eax, [edi + edi]
lea edx, [edi + edi + 2]
cmp edx, eax
jb 0x417bea
mov edi, dword [ebx]
mov ecx, eax
mov edx, ecx
mov esi, 0x4d1b48
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x10]
xor esi, esi
mov ecx, dword [ebx]
mov dword [ecx - 8], edi
mov edx, dword [ebx]
mov word [edx + eax], si
mov ecx, dword [esp + 0x18]
mov dword [ebp + 0x70], esi
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x417d70
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
test eax, eax
push edi
mov esi, ecx
jne 0x417f9f
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
cmp ebp, 0x111
jne 0x417dca
cmp di, 1
jne 0x417dad
call fcn.00418470
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp di, 2
jne 0x417ecb
mov ecx, esi
call fcn.00418480
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp ebp, 0x110
jne 0x417dfb
push 1
mov ecx, esi
call fcn.00408280
mov eax, dword [esp + 0x20]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edi
call fcn.00409040
mov ecx, esi
call fcn.00417fb0
mov dword [ebx], eax
jmp 0x417e86
cmp ebp, 0x113
jne 0x417e16
push 1
mov ecx, esi
call fcn.00408280
push edi
mov ecx, esi
call fcn.00418490
jmp 0x417e80
cmp ebp, 0x14
jne 0x417e38
push 1
mov ecx, esi
call fcn.00408280
push ecx
mov ecx, esi
mov eax, esp
mov dword [esp + 0x20], esp
mov dword [eax], edi
call fcn.00418880
mov dword [ebx], eax
jmp 0x417e86
cmp ebp, 0xf
jne 0x417e58
push 1
mov ecx, esi
call fcn.00408280
push ecx
mov ecx, esi
mov eax, esp
mov dword [esp + 0x20], esp
mov dword [eax], edi
call fcn.00408db0
jmp 0x417e80
cmp ebp, 0x201
jne 0x417e9d
push 1
mov ecx, esi
call fcn.00408280
mov ecx, dword [esp + 0x20]
movsx eax, cx
shr ecx, 0x10
movsx ecx, cx
push ecx
push eax
push edi
mov ecx, esi
call fcn.00418ab0
mov dword [ebx], 0
mov ecx, esi
call fcn.00408270
test eax, eax
je 0x417ecb
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp ebp, 0x7ed
jne 0x417ecb
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push 1
push ecx
push edx
push ebp
mov ecx, esi
call fcn.004189a0
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
push 0
push ebx
push edx
push edi
push ebp
push eax
mov ecx, esi
call fcn.0043f100
test eax, eax
je 0x417ef1
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
add esi, 0x44
cmp ebp, 5
jne 0x417f69
test esi, esi
je 0x417f02
lea ebp, [esi - 0x44]
jmp 0x417f04
xor ebp, ebp
mov al, byte [esi + 0x1c]
test al, al
je 0x417f39
mov ecx, dword [ebp + 0x28]
push 0xe801
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp edi, 2
jne 0x417f2a
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x417f3e
test edi, edi
jne 0x417f39
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x417f3e
cmp edi, 1
je 0x417f8d
mov eax, dword [esp + 0x20]
mov edx, eax
shr edx, 0x10
movsx ecx, dx
movsx edx, ax
push ecx
push edx
lea ecx, [ebp + 0x44]
call fcn.0041baa0
mov dword [ebx], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp ebp, 0x24
jne 0x417f9f
mov ecx, dword [esi + 0x14]
or eax, 0xffffffff
cmp ecx, eax
je 0x417f8d
cmp dword [esi + 0x18], eax
je 0x417f8d
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x14]
mov dword [eax + 0x18], ecx
mov edx, dword [esi + 0x18]
mov dword [eax + 0x1c], edx
mov dword [ebx], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18