joyce8/EMBER2024-capa huggingface dataset:
Function at 0x461470
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 + 0x84], 0
mov ecx, dword [esi]
mov dword [ebp - 4], ecx
jne 0x4614bd
call fcn.00552f9a
mov dword [ebx + 0x84], eax
test eax, eax
jne 0x4614bd
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4614eb
lea eax, [ebx + 0x70]
push eax
add eax, 8
push eax
push 0x5fd800
call fcn.004125d0
mov edx, dword [ebp - 4]
mov eax, dword [0x5fd7c0]
push 0
push 0x4129f0
push edx
push 0x42e
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamW]
lea ecx, [ebx + 0x74]
push 0
call fcn.00401ce0
mov ecx, dword [ebx + 0x74]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi]
inc dword [ebx + 0xa4]
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.00401ce0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x462110
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.00555020
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 0x5a0a30
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 0x4623a0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x591d28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x148
mov eax, dword [ebp + 0xc]
shr eax, 0x10
mov edx, ecx
mov dword [ebp - 0x10], edx
cmp eax, 0xffff
jne 0x462544
cmp dword [ebp + 0x10], 0
jne 0x462544
push ebx
push esi
mov ebx, 0x30
push edi
mov eax, dword [edx + 0x24]
lea ecx, [eax - 1]
test ecx, ecx
js 0x462541
mov edx, dword [edx + 0x20]
mov edi, dword [edx + ecx*4]
lea edx, [edx + ecx*4]
cmp ecx, eax
jge 0x462541
lea esi, [eax - 1]
cmp ecx, esi
je case.0x462434.0
sub eax, ecx
add eax, eax
add eax, eax
lea ecx, [eax - 4]
push ecx
lea esi, [edx + 4]
push esi
push eax
push edx
call fcn.00554df5
add esp, 0x10
cmp eax, 0x50
ja case.0x462434.1
movzx eax, byte [eax + 0x462574]
jmp dword [eax*4 + 0x462564]
mov eax, dword [ebp - 0x10]
dec dword [eax + 0x24]
test edi, edi
je 0x462541
mov dword [ebp + 0xc], edi
xor esi, esi
mov dword [ebp - 4], esi
push edi
call dword [sym.imp.USER32.dll_GetMenuItemCount]
test eax, eax
jle 0x462514
push ebx
lea ecx, [ebp - 0x40]
push 0
push ecx
call fcn.00555020
push 0x110
lea edx, [ebp - 0x150]
push 0
push edx
mov dword [ebp - 0x40], ebx
call fcn.00555020
add esp, 0x18
lea eax, [ebp - 0x154]
push eax
mov dword [ebp - 0x154], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4624b9
mov eax, dword [ebp - 0x150]
cmp eax, 5
jae 0x4624c0
cmp eax, 4
jne 0x4624b9
cmp dword [ebp - 0x14c], 0x5a
jae 0x4624c0
mov dword [ebp - 0x40], 0x2c
lea ecx, [ebp - 0x40]
push ecx
push 1
push esi
push edi
mov dword [ebp - 0x3c], ebx
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x462504
mov dword [ebp - 0x3c], 0x11
mov edx, dword [eax + 4]
mov dword [ebp - 0x38], edx
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov edx, dword [eax]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x40]
push eax
push 1
push esi
push edi
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
push edi
inc esi
call dword [sym.imp.USER32.dll_GetMenuItemCount]
cmp esi, eax
jl 0x462460
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
jmp 0x4623e6
push 0x8007000e
call fcn.00401150
push 0x80070057
call fcn.00401150
push 0x80004005
call fcn.00401150
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
mov ecx, dword [ebp - 0xc]
mov eax, 1
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x462a90
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583a78
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 0x462ad9
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 0x462c29
push esi
push 0x30
lea edx, [ebp - 0x40]
push 0
push edx
call fcn.00555020
push 0x110
lea eax, [ebp - 0x150]
push 0
push eax
mov dword [ebp - 0x40], 0x30
call fcn.00555020
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 0x462b54
mov eax, dword [ebp - 0x150]
cmp eax, 5
jae 0x462b5b
cmp eax, 4
jne 0x462b54
cmp dword [ebp - 0x14c], 0x5a
jae 0x462b5b
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 0x462c18
push 0x10
call fcn.0055549a
mov esi, eax
add esp, 4
test esi, esi
je 0x462c18
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 0x462bc0
add ecx, 0xfffffd94
jmp 0x462bc2
xor ecx, ecx
push esi
lea edx, [ebp - 0x40]
push edx
call fcn.00461f80
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.0053f875
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x462c07
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 0x462af6
pop esi
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x10]
push eax
add ecx, 0x20
mov dword [ebp + 0x10], ebx
call fcn.00425c60
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 0x462d00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x589618
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 4], edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], edi
mov dword [ebp - 4], 1
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [ebp - 4], 2
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x20], eax
mov dword [ebp - 4], 4
lea ecx, [esi + 0x24]
call fcn.00452200
mov dword [ebp - 4], 6
mov ecx, dword [ebp + 8]
push edi
push ecx
lea ecx, [esi + 0x50]
call fcn.004f9d60
mov byte [ebp - 4], 7
lea eax, [esi + 0x26c]
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 dword [esi], vtable.CInternetView.1.0
mov dword [esi + 0x50], vtable.CInternetView.0
mov dword [esi + 0x29c], edi
mov dword [esi + 0x2a0], edi
mov byte [ebp - 4], 0xc
mov dword [esi + 0x2a4], edi
mov edx, dword [0x5f5774]
mov eax, dword [edx + 0xc]
lea ebx, [esi + 0x2bc]
mov ecx, 0x5f5774
mov dword [ebp + 8], ebx
call eax
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0xe
lea eax, [esi + 0x2e4]
lea ecx, [eax + 8]
mov dword [eax + 4], edi
mov dword [ebp + 8], eax
mov dword [ebp - 0x14], ecx
mov dword [ecx + 0xc], edi
mov byte [ebp - 4], 0x10
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], edi
mov byte [ebp - 4], 0x11
mov ecx, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [eax + 0x20], ecx
mov byte [ebp - 4], 0x13
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], 0x14
mov byte [esi + 0x32c], 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 0x463390
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x588098
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 0x46344c
mov edx, dword [0x5f5774]
mov eax, dword [edx + 0xc]
mov ecx, 0x5f5774
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.00432c50
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], 0
je 0x463429
cmp dword [esi - 4], 1
jle 0x463415
mov edx, dword [esi - 0xc]
push edx
lea ecx, [ebp - 0x10]
call fcn.00403bd0
mov esi, dword [ebp - 0x10]
push 5
push 0
push 0
push esi
push 0x59bf70
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 0x46344c
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 0x465450
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5852d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
push 0
mov esi, ecx
mov eax, dword [esi + 4]
push 0
lea edi, [esi + 4]
push 0x1042
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4654f5
push 0x59c2bc
lea ecx, [ebp - 0x10]
call fcn.0040bfb0
mov dword [ebp - 4], 0
mov esi, dword [esi + 0x2b4]
lea ecx, [ebp - 0x10]
push ecx
push esi
push ebx
mov ecx, edi
call fcn.00432c50
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x4654cf
push 5
push 0
push 0
push eax
push 0x59bf70
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 0x4654f5
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 esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x465510
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x589ca3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor esi, esi
mov dword [ebp - 4], esi
push esi
push 0x80
push 3
push esi
push 1
push bind
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x1c], edi
push 0x1fa0
call fcn.0053f875
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 1
cmp edi, esi
jne 0x4655a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x465587
and eax, 0xffff
or eax, 0x80070000
push str.hFile
push eax
lea ecx, [ebp - 0x3c]
call fcn.00434a80
push 0x5cc0a0
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00554cbc
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x14], esi
push esi
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea ecx, [ebp - 0x90]
call fcn.00463e00
mov byte [ebp - 4], 2
push 0
lea edx, [ebp - 0x20]
push edx
mov eax, 0xfd0
sub eax, esi
add eax, eax
push eax
mov ecx, dword [ebp - 0x18]
lea edx, [ecx + esi*2]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
mov ebx, eax
shr ebx, 1
add ebx, esi
add dword [ebp - 0x24], eax
test eax, eax
je 0x46567d
xor esi, esi
mov dword [ebp - 0x14], esi
lea esp, [esp]
mov edi, ebx
sub edi, esi
mov eax, dword [ebp - 0x18]
lea eax, [eax + esi*2]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp + 0xc]
push ecx
push edi
push eax
lea ecx, [ebp - 0x90]
mov edx, dword [ebp - 0x90]
mov eax, dword [edx + 0xc]
call eax
cmp eax, 0xffffffff
je 0x465645
test eax, eax
je 0x465670
add esi, eax
mov dword [ebp - 0x14], esi
cmp esi, ebx
jb 0x46566c
xor esi, esi
mov dword [ebp - 0x14], esi
jmp 0x465670
lea eax, [edi + edi]
cmp eax, 0xfd0
ja 0x46563e
push eax
mov ecx, dword [ebp - 0x28]
push ecx
push 0xfd0
mov edx, dword [ebp - 0x18]
push edx
call fcn.00554d08
add esp, 0x10
mov esi, edi
mov dword [ebp - 0x14], esi
jmp 0x465670
test eax, eax
jg 0x465600
mov edi, dword [ebp - 0x1c]
cmp dword [ebp - 0x2c], 0
jne 0x4655c2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x90]
call fcn.00464f30
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4656a3
push eax
call fcn.005559df
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4656d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x467470
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push esi
lea eax, [ebp - 8]
push eax
mov esi, ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esi + 0x2f0]
lea ecx, [ebp - 0x18]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
push eax
push ecx
lea edx, [ebp - 0x18]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
pop esi
test eax, eax
je 0x4674f7
mov ecx, dword [0x5fd7c0]
push 0x80
lea eax, [ebp - 0x118]
push eax
push 0x108
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
push 1
push 0
push 0
lea edx, [ebp - 0x118]
push edx
push 0x59bf70
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x467fd0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583a78
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 0x468019
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 0x468169
push esi
push 0x30
lea edx, [ebp - 0x40]
push 0
push edx
call fcn.00555020
push 0x110
lea eax, [ebp - 0x150]
push 0
push eax
mov dword [ebp - 0x40], 0x30
call fcn.00555020
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 0x468094
mov eax, dword [ebp - 0x150]
cmp eax, 5
jae 0x46809b
cmp eax, 4
jne 0x468094
cmp dword [ebp - 0x14c], 0x5a
jae 0x46809b
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 0x468158
push 0x10
call fcn.0055549a
mov esi, eax
add esp, 4
test esi, esi
je 0x468158
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 0x468100
add ecx, 0xfffffd94
jmp 0x468102
xor ecx, ecx
push esi
lea edx, [ebp - 0x40]
push edx
call fcn.0044a070
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.0053f875
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x468147
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 0x468036
pop esi
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x10]
push eax
add ecx, 0x20
mov dword [ebp + 0x10], ebx
call fcn.00425c60
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 0x469970
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x589f80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc54
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x1c], esi
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040bfb0
mov byte [ebp - 4], 2
mov byte [ebp - 4], 3
push 0x59e3a8
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00558089
add esp, 8
mov dword [ebp - 0x14], eax
cmp eax, edi
jne 0x4699f7
push 0xa1
mov ecx, esi
call fcn.004672d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00404d60
jmp 0x469b9e
mov dword [ebp + 8], 0xa
push 0x1450
call fcn.0053f875
add esp, 4
mov ebx, eax
mov dword [ebp - 0x20], edi
add esi, 4
mov ecx, esi
call fcn.004312b0
cmp edi, eax
jge 0x469b62
push 0x1450
push 0
push ebx
call fcn.00555020
add esp, 0xc
push 0x104
lea ecx, [ebp - 0xc60]
push ecx
push 0
push edi
mov ecx, esi
call fcn.004312f0
push 0x104
lea edx, [ebp - 0x850]
push edx
push 1
push edi
mov ecx, esi
call fcn.004312f0
push 0x104
lea eax, [ebp - 0x440]
push eax
push 2
push edi
mov ecx, esi
call fcn.004312f0
push 0x104
lea ecx, [ebp - 0xa58]
push ecx
push 3
push edi
mov ecx, esi
call fcn.004312f0
push 0x104
lea edx, [ebp - 0x648]
push edx
push 4
push edi
mov ecx, esi
call fcn.004312f0
push 0x104
lea eax, [ebp - 0x238]
push eax
push 5
push edi
mov ecx, esi
call fcn.004312f0
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x238]
push edx
lea eax, [ebp - 0x648]
push eax
lea ecx, [ebp - 0xa58]
push ecx
lea edx, [ebp - 0x440]
push edx
lea eax, [ebp - 0x850]
push eax
lea ecx, [ebp - 0xc60]
push ecx
push str.__s____s____s____s____s____s__s
push 0xa28
push ebx
call fcn.00555ab3
push 0xa28
call fcn.0053f875
add esp, 0x2c
mov esi, eax
push 0xa28
push esi
push ebx
lea ecx, [ebp - 0x30]
call fcn.00511e10
mov eax, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x469b17
sub eax, ecx
mov edx, dword [ebp - 0x14]
push edx
push 1
push eax
push esi
call fcn.00557f51
add esp, 0x10
test eax, eax
jne 0x469b59
push ebx
call fcn.00553d26
push esi
call fcn.00553d26
mov eax, dword [ebp - 0x14]
push eax
call fcn.00557d86
add esp, 0xc
push 0xcc
mov ecx, dword [ebp - 0x1c]
jmp 0x4699e1
inc edi
mov esi, dword [ebp - 0x1c]
jmp 0x469a0d
push ebx
call fcn.00553d26
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00557d86
add esp, 8
mov dword [ebp - 4], 2
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x469b9e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00511fc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x469e50
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58a10e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 4], edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], edi
mov dword [ebp - 4], 1
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [ebp - 4], 2
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x20], eax
mov dword [ebp - 4], 4
lea ecx, [esi + 0x24]
call fcn.00452200
mov dword [ebp - 4], 6
mov ecx, dword [ebp + 8]
push edi
push ecx
lea ecx, [esi + 0x50]
call fcn.004f9d60
mov byte [ebp - 4], 7
lea eax, [esi + 0x26c]
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 dword [esi], vtable.CKbdLogView.1.0
mov dword [esi + 0x50], vtable.CKbdLogView.0
mov dword [esi + 0x2a0], edi
mov dword [esi + 0x2a4], edi
mov byte [ebp - 4], 0xc
lea ebx, [esi + 0x2dc]
mov dword [esi + 0x2a8], edi
push 0x18
mov dword [ebp - 0x14], ebx
mov dword [ebx + 8], edi
call fcn.0055549a
add esp, 4
cmp eax, edi
je 0x46a013
mov dword [ebx + 4], eax
mov dword [eax], eax
mov eax, dword [ebx + 4]
mov dword [eax + 4], eax
mov eax, dword [ebx + 4]
mov dword [eax + 8], eax
mov edx, dword [ebx + 4]
mov byte [edx + 0x14], 1
mov eax, dword [ebx + 4]
mov byte [eax + 0x15], 1
mov byte [ebp - 4], 0x10
lea eax, [esi + 0x304]
mov dword [esi + 0x300], edi
lea ecx, [eax + 8]
mov dword [eax + 4], edi
mov dword [ebp + 8], eax
mov dword [ebp - 0x14], ecx
mov dword [ecx + 0xc], edi
mov byte [ebp - 4], 0x12
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], edi
mov byte [ebp - 4], 0x13
mov ecx, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [eax + 0x20], ecx
mov byte [ebp - 4], 0x15
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], 0x16
mov byte [esi + 0x34c], 1
mov edx, dword [0x5f5774]
mov eax, dword [edx + 0xc]
lea ebx, [esi + 0x354]
mov ecx, 0x5f5774
mov dword [ebp + 8], ebx
call eax
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0x18
mov dword [esi + 0x2cc], edi
mov dword [esi + 0x2d0], edi
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
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x20]
mov dword [ebp + 8], edi
call fcn.00553e83
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x20], vtable.std::bad_alloc.0
mov byte [ebp - 4], 0xc
push 0x5c69bc
lea edx, [ebp - 0x20]
push edx
call fcn.00554cbc
int3