joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4420b7
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push edi
push 8
mov edi, eax
call dword [sym.imp.MSVCR80.dll_malloc]
mov ebx, eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x1c]
pop ecx
push ebx
push 8
push edi
mov dword [ebx], eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, 0xe7
push ebp
push edi
call esi
push 0x80017fff
push 0
push 0x465
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
inc ebp
cmp ebp, 0xee
jle 0x4420e6
push 0xaf
push edi
call esi
mov ebp, eax
mov eax, dword [ebx]
cmp dword [eax + 0x1e4], 0
mov dword [esp + 0x14], ebp
je 0x442143
and dword [ebx + 4], 0
or dword [eax + 0x24], 0xffffffff
push 1
push 6
push ebp
call fcn.0044c244
mov eax, dword [ebx]
push 0
push dword [eax + 4]
push ebp
call fcn.0044c307
add esp, 0x18
jmp 0x44214b
mov eax, dword [eax + 0x24]
not eax
mov dword [ebx + 4], eax
push 0
push 0x84
push edi
call esi
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebp
push 0
push dword [esp + 0x18]
call ebp
test word [ebx + 4], 0x8000
mov ebp, 0xc5
jne 0x44217e
push ebp
push edi
call esi
push eax
call fcn.0040f3b3
pop ecx
test dword [ebx + 4], 0x10000
jne 0x442196
push 0xc6
push edi
call esi
push eax
call fcn.0040f3b3
pop ecx
mov eax, dword [ebx]
cmp dword [eax], 0x400
jae 0x4421bc
push 0
push ebp
push edi
call esi
mov ebp, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebp
push 0
push 0xc6
push edi
call esi
push eax
call ebp
mov ecx, dword [ebx]
add ecx, 0x20
push edi
call fcn.00441f5e
mov eax, dword [ebx]
xor ebp, ebp
cmp dword [eax + 0x1e4], ebp
je 0x4421d8
lea ecx, [eax + 8]
jmp 0x4421da
xor ecx, ecx
push ecx
push dword [eax + 0x1e0]
lea esi, [eax + 0x20]
push dword [eax]
call fcn.004419aa
mov ebx, dword [ebx]
cmp dword [ebx + 0x1e4], ebp
jne 0x4421f8
mov dword [ebx + 0x24], ebp
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4

Function at 0x442b8c
Capabilities:
Hide graphical window

Disassembly:
push esi
push 8
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov esi, eax
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x18]
push dword [esi + 0x10]
call fcn.0042be67
pop ecx
pop ecx
push edi
call dword [sym.imp.USER32.dll_DestroyWindow]
pop esi
ret
Function at 0x4433d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x1138]
mov eax, 0x11b8
call fcn.004571d0
mov eax, dword [0x47a4b0]
xor eax, ebp
mov dword [ebp + 0x1134], eax
cmp dword [esi + 0x7c], 0
je 0x4435c1
push 0x80
lea eax, [ebp + 0x10b4]
push eax
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
jne 0x44342a
push 0x27c6
call fcn.0046708d
push eax
lea eax, [ebp + 0x10b4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp + 0x10b4]
push eax
push 0x33
push 0x27c6
call fcn.0046708d
push eax
push 0x27c3
call fcn.0046708d
push eax
push dword [esi + 8]
call fcn.00455173
add esp, 0x14
cmp eax, 2
jne 0x443460
xor eax, eax
jmp 0x4435cd
cmp eax, 6
jne 0x4435c1
push ebx
push edi
lea eax, [ebp - 0x80]
push eax
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x78
pop ebx
push 0
mov edi, ebx
call dword [sym.imp.USER32.dll_GetDC]
test eax, eax
mov dword [ebp - 0x6c], eax
je 0x4434ad
mov ebx, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x58
push eax
call ebx
push 0x5a
push dword [ebp - 0x6c]
mov edi, eax
call ebx
push dword [ebp - 0x6c]
mov ebx, eax
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0x80]
imul eax, eax, 0x5a0
lea eax, [eax + edi - 1]
cdq
idiv edi
movzx eax, ax
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp - 0x7c]
imul eax, eax, 0x5a0
lea eax, [eax + ebx - 1]
cdq
idiv ebx
movzx ebx, ax
lea eax, [ebp + 0x10b4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx + 0x88]
mov edi, dword [ecx + 0x84]
movzx edx, byte [edx + 4]
movzx ecx, bx
movzx ebx, al
sub edi, edx
mov byte [ebp + 0x30], al
mov dword [ebp - 0x70], edx
movzx edx, word [ebp - 0x6c]
push ebx
lea eax, [ebp + 0x10b4]
push eax
shl ecx, 0x10
lea eax, [ebp + 0x31]
or ecx, edx
push eax
sub edi, 5
mov dword [ebp + 0x2c], ecx
call sub.MSVCR80.dll_memcpy
mov eax, dword [esi + 0x38]
mov eax, dword [eax + 0x88]
mov ecx, dword [ebp - 0x70]
lea eax, [eax + ecx + 5]
push edi
push eax
lea eax, [ebp + ebx + 0x31]
push eax
call sub.MSVCR80.dll_memcpy
push 0x94
lea eax, [ebp - 0x68]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0x24
push str.End_Note
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x68], 0x94
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebx + edi + 5]
mov dword [ebp + 0x1c], eax
lea eax, [ebp + 0x2c]
mov dword [ebp + 0x20], eax
lea eax, [esi + 0x44]
push eax
lea eax, [ebp - 0x68]
push eax
push dword [esi + 0x18]
push dword [esi + 0x10]
call fcn.0042cdc6
add esp, 0x10
test eax, eax
pop edi
pop ebx
jne 0x4435c1
call dword [sym.imp.FcCtrl4.dll_FcCtrl_GetErrorA]
push eax
push 0x30
push 0x27c6
call fcn.0046708d
push eax
push 0x46b25c
push dword [esi + 8]
call fcn.00455173
add esp, 0x14
jmp 0x443459
push dword [esi + 0x14]
call dword [sym.imp.FcCtrl4.dll_Document_Flush]
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x1134]
xor ecx, ebp
call fcn.00456f61
add ebp, 0x1138
leave
ret
Function at 0x4437c2
Capabilities:
Get graphical window text

Disassembly:
push 0x80
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextA]
ret

Function at 0x4443d6
Capabilities:
Hide graphical window

Disassembly:
push ebx
push edi
push esi
push 0x444312
push dword [esi + 0xc]
or ebx, 0xffffffff
push 0x271d
push dword [0x47d724]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
cmp dword [esi + 0x84], 0
mov edi, eax
je 0x444432
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x444432
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
push 1
push 6
push dword [0x47b5ec]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
xor ebx, ebx
pop edi
mov eax, ebx
pop ebx
ret
Function at 0x446040
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x38c]
sub esp, 0x40c
mov eax, dword [0x47a4b0]
xor eax, ebp
mov dword [ebp + 0x388], eax
mov eax, dword [ebp + 0x394]
push ebx
push edi
mov dword [ebp - 0x28], eax
mov edi, 0x104
push edi
lea eax, [ebp + 0x284]
push eax
push 0x30d6
push dword [0x47d724]
xor ebx, ebx
mov byte [ebp + 0x78], bl
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
je 0x446177
cmp byte [ebp + 0x284], bl
lea eax, [ebp + 0x284]
je 0x4460ab
cmp byte [eax], 0x7c
jne 0x4460a6
mov byte [eax], bl
inc eax
cmp byte [eax], bl
jne 0x44609f
push esi
push 0x58
lea eax, [ebp - 0x80]
push ebx
push eax
call sub.MSVCR80.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], 0x9c
call esi
cmp eax, ebx
jne 0x4460e3
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], 0x94
call esi
cmp eax, ebx
je 0x4460f0
cmp dword [ebp - 0x20], 5
mov dword [ebp - 0x80], 0x58
jae 0x4460f7
mov dword [ebp - 0x80], 0x4c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x7c], eax
lea eax, [ebp + 0x284]
mov dword [ebp - 0x74], eax
mov eax, dword [0x479a10]
mov dword [ebp - 0x68], eax
lea eax, [ebp + 0x78]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x4c], 0x1004
call dword [sym.imp.comdlg32.dll_GetOpenFileNameA]
test eax, eax
je 0x446176
mov eax, dword [ebp - 0x68]
mov dword [0x479a10], eax
mov edi, 0x46a4a8
push edi
lea eax, [ebp + 0x17c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp + 0x78]
push eax
lea eax, [ebp + 0x17c]
push eax
call esi
push edi
lea eax, [ebp + 0x17c]
push eax
call esi
lea eax, [ebp + 0x17c]
push eax
push 0x64
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
pop esi
mov ecx, dword [ebp + 0x388]
pop edi
xor ecx, ebp
pop ebx
call fcn.00456f61
add ebp, 0x38c
leave
ret 4
Function at 0x447d76
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x47a4b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 8
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov esi, eax
mov eax, dword [ebp + 8]
dec eax
je 0x447e00
dec eax
je 0x447e25
sub eax, 7
je 0x447de8
sub eax, 0x5b
jne 0x447e4c
cmp dword [ebp + 0x10], 0x300
jne 0x447e4c
mov esi, dword [esi + 0x10]
mov eax, esi
call fcn.00457190
mov ebx, esp
push esi
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextA]
call fcn.00447cb8
push eax
push 1
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x447e4c
cmp dword [ebp + 0x10], 0
jne 0x447e4c
push 0x2713
push 0
push edi
call fcn.00419be1
add esp, 0xc
jmp 0x447e4c
push dword [esi + 0x10]
push dword [esi + 0xc]
push 0x64
push edi
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
test eax, eax
je 0x447e31
push str._None_
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x447e31
push dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x447e4c
push 0x30
push str.Folio_Views
push 0x312f
call fcn.0046708d
push eax
push edi
call fcn.00455173
add esp, 0x10
lea esp, [ebp - 0xc]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00456f61
leave
ret 0xc

Function at 0x4482a6
Capabilities:
Hide graphical window

Disassembly:
call fcn.004538a9
test eax, eax
jne 0x4482ef
mov eax, dword [esp + 8]
and dword [0x47b248], 0
push esi
push 0x47b240
push 0x44825a
push dword [esp + 0x10]
mov dword [0x47b244], eax
push 0x7f
push dword [0x47d724]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov esi, eax
push esi
call fcn.0045389f
pop ecx
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
xor eax, eax
ret
Function at 0x448fb4
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x588]
sub esp, 0x608
mov eax, dword [0x47a4b0]
xor eax, ebp
mov dword [ebp + 0x584], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x590]
push 0x27df
call fcn.0046708d
mov dword [ebp - 0x28], eax
xor ebx, ebx
jmp 0x448ff1
cmp byte [eax], 0x7c
jne 0x448ff0
mov byte [eax], bl
inc eax
cmp byte [eax], bl
jne 0x448fe9
lea eax, [ebp + 0x280]
push eax
lea eax, [ebp + 0x484]
push eax
lea eax, [ebp + 0x180]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x47b358
call dword [sym.imp.MSVCR80.dll__splitpath]
mov esi, dword [sym.imp.MSVCR80.dll__makepath]
lea eax, [ebp + 0x280]
push eax
lea eax, [ebp + 0x484]
push eax
push ebx
lea eax, [ebp + 0x380]
push ebx
push eax
call esi
push ebx
push ebx
lea eax, [ebp + 0x180]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0x7c]
push eax
call esi
push 0x58
lea eax, [ebp - 0x80]
push ebx
push eax
call sub.MSVCR80.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0x48
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x9c
call esi
cmp eax, ebx
jne 0x449082
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call esi
cmp eax, ebx
je 0x44908f
cmp dword [ebp - 0x1c], 5
mov dword [ebp - 0x80], 0x58
jae 0x449096
mov dword [ebp - 0x80], 0x4c
mov eax, dword [edi]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x74], eax
lea eax, [ebp + 0x380]
mov dword [ebp - 0x64], eax
lea eax, [ebp + 0x7c]
push 0x27e0
mov dword [ebp - 0x60], 0x104
mov dword [ebp - 0x54], eax
call fcn.0046708d
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x4c], 0xa004
mov dword [ebp - 0x44], 0x46ccc8
call dword [sym.imp.comdlg32.dll_GetOpenFileNameA]
test eax, eax
je 0x449149
lea esi, [edi + 0x94]
mov eax, dword [esi]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov esi, dword [esi]
mov eax, dword [esi]
push 0x100
lea ecx, [ebp + 0x484]
push ecx
lea ecx, [ebp + 0x380]
push ecx
push esi
call dword [eax + 0xc]
test eax, eax
je 0x449136
lea eax, [ebp + 0x484]
push eax
push 0x30
push 0x27e2
call fcn.0046708d
push eax
push 0x27e1
call fcn.0046708d
push eax
push dword [edi]
call fcn.00455173
add esp, 0x14
lea eax, [ebp + 0x380]
push eax
push 0x47b358
call sub.MSVCR80.dll_strcpy
pop ecx
pop ecx
mov ecx, dword [ebp + 0x584]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00456f61
add ebp, 0x588
leave
ret
Function at 0x44c7da
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push ebx
call esi
mov edi, eax
test edi, edi
jne 0x44c828
push 0x46cdac
call esi
mov esi, eax
test esi, esi
je 0x44c824
push dword [ebp + 0xc]
xor ecx, ecx
push esi
mov edi, str.Graphflt
call fcn.0044c73b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x44c83c
xor eax, eax
jmp 0x44c83f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x44e4f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x94
mov eax, dword [0x47a4b0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push edi
mov edi, ecx
push 0xaf
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 8
push edi
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
and dword [ebp - 0x1c], 0
mov ebx, eax
push 0x80
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x44e691
push esi
push 0x3158
call fcn.0046708d
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push eax
lea eax, [ebp - 0xc]
push eax
call esi
test eax, eax
jne 0x44e566
mov dword [ebp - 0x14], 0x7ffe
jmp 0x44e5de
push 0x3159
call fcn.0046708d
push eax
lea eax, [ebp - 0xc]
push eax
call esi
test eax, eax
jne 0x44e584
mov dword [ebp - 0x14], 0x7fff
jmp 0x44e5de
mov eax, dword [ebx]
push dword [eax + 0x1c4]
lea eax, [ebp - 0xc]
push eax
call fcn.0040ee0d
test eax, eax
pop ecx
pop ecx
jle 0x44e690
mov eax, dword [ebx]
push dword [eax + 0x1c4]
lea eax, [ebp - 0xc]
push eax
call fcn.0040ee0d
pop ecx
pop ecx
mov ecx, 0x7bc0
cmp eax, ecx
jl 0x44e5c0
mov dword [ebp - 0x14], ecx
jmp 0x44e5de
mov eax, dword [ebx]
push dword [eax + 0x1c4]
lea eax, [ebp - 0xc]
push eax
call fcn.0040ee0d
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
je 0x44e690
mov esi, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push 0xdd
push edi
call esi
test eax, eax
je 0x44e5f6
mov byte [ebp - 0x10], 1
jmp 0x44e61a
push 0xde
push edi
call esi
test eax, eax
je 0x44e608
mov byte [ebp - 0x10], 2
jmp 0x44e61a
push 0xdf
push edi
call esi
neg eax
sbb al, al
and eax, 3
mov byte [ebp - 0x10], al
push 0xe1
push edi
call esi
test eax, eax
je 0x44e62c
or byte [ebp - 0x10], 0x10
jmp 0x44e660
push 0xe2
push edi
call esi
test eax, eax
je 0x44e63e
or byte [ebp - 0x10], 0x20
jmp 0x44e660
push 0xe3
push edi
call esi
test eax, eax
je 0x44e650
or byte [ebp - 0x10], 0x30
jmp 0x44e660
push 0xe4
push edi
call esi
test eax, eax
je 0x44e660
or byte [ebp - 0x10], 0x40
mov eax, dword [ebx]
push dword [eax + 0x1c4]
mov ecx, dword [ebp - 0x18]
lea edi, [ebp - 0x14]
call fcn.0044e36b
cmp eax, 0xffffffff
je 0x44e690
push 0
push eax
push 0x14e
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x1c], 1
pop esi
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp + 0x74]
mov eax, dword [ebp - 0x1c]
pop edi
xor ecx, ebp
pop ebx
call fcn.00456f61
add ebp, 0x78
leave
ret

Function at 0x452b0a
Capabilities:
Get disk information

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jne 0x452b16
push 5
pop eax
ret
cmp eax, 0xffffffff
jne 0x452b1f
push 6
pop eax
ret
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
sub eax, 0
je 0x452b4b
dec eax
dec eax
je 0x452b47
dec eax
je 0x452b4b
dec eax
je 0x452b43
dec eax
je 0x452b3f
dec eax
jne 0x452b4b
push 4
pop eax
ret
push 2
pop eax
ret
push 3
pop eax
ret
xor eax, eax
inc eax
ret
xor eax, eax
ret
Function at 0x452f6d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov esi, ecx
call fcn.00416b2a
push dword [esi + 0x458]
call dword [sym.imp.FcCtrl4.dll_Document_GetBinderPage]
push 0x24
pop edi
push edi
mov ebx, eax
lea eax, [ebp - 0x24]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
push ebx
mov dword [ebp - 0x24], edi
call dword [sym.imp.NfoMgr4.dll_Nfo_GetCount]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
xor eax, eax
cmp eax, dword [ebp - 0x10]
sbb ebx, ebx
neg ebx
push ebx
push 0xdd
push dword [esi + 0x440]
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0xba
push dword [esi + 0x440]
call edi
push 0
push 0xbb
push dword [esi + 0x440]
mov dword [esi + 0x450], eax
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor edi, edi
cmp ebx, edi
mov ecx, esi
je 0x453007
call fcn.00452e24
jmp 0x45300c
call fcn.00452d68
push dword [esi + 0x458]
call dword [sym.imp.FcCtrl4.dll_Document_GetAnchorRecord]
push dword [esi + 0x458]
mov ebx, eax
call dword [sym.imp.FcCtrl4.dll_Document_GetCaretRecord]
sub eax, ebx
push eax
call sub.MSVCR80.dll_abs
inc eax
cmp eax, 1
pop ecx
jne 0x453051
push 0x2775
call fcn.0046708d
push eax
push 0xdc
push dword [esi + 0x440]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push edi
push edi
push 0xc0c0c0
push edi
push 0x10
push 0x1f6
push dword [0x47d724]
call dword [sym.imp.COMCTL32.dll_ImageList_LoadImageA]
mov ebx, eax
cmp ebx, edi
je 0x45309c
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push ebx
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
push edi
push 0x35
push ebx
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
push edi
push eax
mov ecx, esi
call fcn.00416760
push ebx
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
mov ecx, esi
call fcn.00452c3a
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret
Function at 0x454041
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
push edi
xor edi, edi
push edi
mov esi, ecx
push eax
mov dword [esi], eax
call fcn.00467303
push 1
push 0xdd
push dword [esi]
call dword [sym.imp.USER32.dll_CheckDlgButton]
push 0x1000
push edi
push 0x800080
push edi
push 0x2a
push 0x74
push dword [0x47d72c]
call dword [sym.imp.COMCTL32.dll_ImageList_LoadImageA]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, 0xaf
push ebx
push dword [esi]
mov dword [esi + 0x10], eax
call edi
push 0
push 0x104
mov ebp, eax
push 0x141
push ebp
call dword [sym.imp.USER32.dll_SendMessageA]
push ebp
mov ecx, esi
call fcn.00453e85
test eax, eax
jne 0x4540e5
push eax
push ebx
push dword [esi]
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push ebx
push dword [esi]
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xc5
push dword [esi]
call edi
push eax
push dword [esi]
call fcn.00453fec
pop ecx
pop ecx
jmp 0x4540fe
push 0x2b0d
call fcn.0046708d
push eax
push 0
push 0x143
push ebp
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esi + 0x10], 0
je 0x45411b
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push dword [esi + 0x10]
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
xor eax, eax
inc eax
jmp 0x454127
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.USER32.dll_EndDialog]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x45412e
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov esi, ecx
push 0xc5
push dword [esi]
call edi
mov ecx, dword [esi + 8]
neg eax
sbb eax, eax
inc eax
push 0xaf
mov dword [ecx], eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0xdc
push dword [esi]
mov ebx, eax
call edi
test eax, eax
je 0x454176
mov eax, dword [esi + 4]
mov dword [eax], 1
jmp 0x454222
push 0xdd
push dword [esi]
call edi
test eax, eax
je 0x4541d7
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x147
push ebx
mov dword [eax], 2
call edi
cmp eax, 0xffffffff
je 0x4541c6
push 0
push eax
push 0x150
push ebx
call edi
test eax, eax
je 0x4541be
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x454222
mov eax, dword [esi + 0xc]
mov byte [eax], 0
jmp 0x454222
push 0x104
push dword [esi + 0xc]
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x454222
push 0xde
push dword [esi]
call edi
test eax, eax
je 0x4541ef
mov eax, dword [esi + 4]
mov dword [eax], 3
jmp 0x454222
push 0xdf
push dword [esi]
call edi
test eax, eax
je 0x454207
mov eax, dword [esi + 4]
mov dword [eax], 4
jmp 0x454222
push 0xe0
push dword [esi]
call edi
test eax, eax
mov eax, dword [esi + 4]
je 0x45421f
mov dword [eax], 5
jmp 0x454222
and dword [eax], 0
push ebx
mov ecx, esi
call fcn.00453f78
pop edi
pop esi
pop ebx
ret
Function at 0x4545d2
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x47a4b0]
xor eax, ebp
mov dword [ebp + 0x88], eax
push esi
mov esi, dword [ebp + 0x94]
push 0x104
lea eax, [ebp - 0x7c]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x45463e
and dword [ebp - 0x80], eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x454631
push dword [ebp - 0x80]
call fcn.004545d2
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x7c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x4545f4
mov ecx, dword [ebp + 0x88]
xor ecx, ebp
pop esi
call fcn.00456f61
add ebp, 0x8c
leave
ret 4

Function at 0x454656
Capabilities:
Delete registry key

Disassembly:
push ebp
sub esp, 0x80
lea ebp, [esp - 4]
mov eax, dword [0x47a4b0]
xor eax, ebp
mov dword [ebp + 0x80], eax
push 4
mov eax, 0x45834e
call fcn.00456f76
mov eax, dword [0x47d7b4]
mov esi, dword [ebp + 0x8c]
mov edi, dword [ebp + 0x90]
mov ecx, OleUIPasteSpecialA
cmp eax, ecx
jb 0x454705
cmp al, 4
jae 0x454726
cmp esi, 0x80000002
je 0x4546ac
cmp esi, 0x80000001
jne 0x4546ae
mov esi, ecx
xor ebx, ebx
mov dword [ebp], ebx
mov dword [ebp + 0x7c], ebx
cmp edi, ebx
mov dword [ebp - 4], ebx
je 0x4546de
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea ecx, [ebp]
call fcn.00454472
push edi
push dword [ebp]
call fcn.004544b1
mov eax, dword [ebp]
pop ecx
pop ecx
jmp 0x4546e0
xor eax, eax
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
or dword [ebp - 4], 0xffffffff
cmp dword [ebp], ebx
mov esi, eax
je 0x454701
cmp dword [ebp + 0x7c], ebx
je 0x454701
push dword [ebp]
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
pop ecx
mov eax, esi
jmp 0x45472e
lea eax, [ebp - 0x10]
push eax
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x454726
push dword [ebp - 0x10]
call fcn.004545d2
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x80]
xor ecx, ebp
call fcn.00456f61
add ebp, 0x84
leave
ret