joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45098c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4509a3
add esp, 0xfffffff0
call fcn.00403c84
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041c270
mov eax, dword [0x4882b8]
cmp word [eax + 2], 0
jne 0x4509cb
mov eax, dword [0x4882b8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00451ef8
mov eax, dword [0x488378]
cmp word [eax + 2], 0
jne 0x4509e5
mov eax, dword [0x488378]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004520f0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x413624]
call fcn.00403930
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x413624]
call fcn.00403930
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41e800]
call fcn.00425cf4
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x450b6c
mov eax, dword [0x4881c8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004260c4
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x452690
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4881c8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040dfc0
test eax, eax
je 0x450ada
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a020
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040dfe8
test eax, eax
je 0x450aee
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404a2c
mov eax, dword [0x48809c]
cmp byte [eax], 0
jne 0x450b22
mov eax, ebx
call fcn.00450c94
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045286c
mov eax, ebx
call fcn.00453230
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x450b62
call fcn.00403cdc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x450f14
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x489b4c]
cmp dword [eax + 0x30], 0
je 0x450fbe
cmp dword [ebx + 0x94], 0
jne 0x450fb8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x450ea4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x450fb8
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x450f7e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x450fb8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00415b74
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x450f8d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x451b20
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x451b55
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004048ac
jmp 0x451b62
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404810
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x452a48
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x452a89
mov eax, esi
call fcn.00467a74
test al, al
je 0x452a89
mov eax, dword [ebx + 0x84]
call fcn.00467770
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x452a89
push 0
mov eax, dword [ebx + 0x84]
call fcn.00467770
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x455e5c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004047bc
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x455eab
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404a2c
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45e9c4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x489bcc], 0
je 0x45eb13
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x488358]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x45eb13
mov eax, dword [0x489bd0]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x489bcc]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x45eae2
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x489bcc]
call fcn.00415b74
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x45eada
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x45eada
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x45eada
mov eax, dword [ebp - 0x14]
call fcn.00467770
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45eada
push ebp
call fcn.0045e980
pop ecx
test al, al
jne 0x45eada
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x45ea96
mov eax, dword [ebp - 0x14]
call fcn.004662a0
dec eax
jle 0x45eada
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403b5c
cmp byte [ebp - 1], 0
je 0x45eada
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x45eada
mov edx, dword [ebp - 0x14]
mov eax, dword [0x489bd0]
call fcn.0045e14c
inc edi
dec ebx
jne 0x45ea29
mov eax, dword [0x489bd0]
cmp dword [eax + 8], 0
jle 0x45eafa
mov eax, dword [0x489bd0]
call fcn.0045e1dc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x45eb13
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0045e7e8
pop ecx
test al, al
jne 0x45eb13
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4620f4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x462140
mov eax, esi
call fcn.004492c0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x462140
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x462140
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x46227f
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x462180
cmp eax, 0x108
ja 0x462180
mov eax, esi
call fcn.004492c0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x462276
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x46227f
jmp 0x462276
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x46225f
cmp eax, 0x20a
ja 0x46225f
test byte [esi + 0x50], 0x80
jne 0x4621b2
sub eax, 0x203
je 0x4621af
sub eax, 3
je 0x4621af
sub eax, 3
jne 0x4621b2
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x4621c6
dec eax
je 0x4621db
dec eax
je 0x4621f8
dec eax
je 0x4621db
jmp 0x4621ff
mov ecx, ebx
mov eax, dword [0x488358]
mov eax, dword [eax]
mov edx, esi
call fcn.00452900
jmp 0x462276
cmp byte [esi + 0x5d], 1
jne 0x4621f1
mov eax, esi
mov si, 0xffed
call fcn.00403b5c
jmp 0x46227f
or word [esi + 0x54], 1
jmp 0x462276
and word [esi + 0x54], 0xfffe
jmp 0x462276
mov eax, dword [0x489b88]
cmp byte [eax + 0x20], 0
je 0x462276
mov eax, dword [0x489b88]
cmp dword [eax + 0x1c], 0
je 0x462276
mov eax, dword [ebx]
mov edx, dword [0x489b88]
cmp eax, dword [edx + 0x1c]
jne 0x462276
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.00449204
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403b5c
jmp 0x46227f
cmp eax, 0xb00b
jne 0x462276
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00460a14
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x465900
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x46591c
cmp dword [esi + 4], 0
je 0x465949
test byte [ebx + 0x55], 1
jne 0x46593b
mov eax, ebx
call fcn.004644a0
test eax, eax
jne 0x46593b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x465a59
mov edx, esi
mov eax, ebx
call fcn.00465424
jmp 0x465a59
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x465a52
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00467770
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00462028
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00465900
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00467770
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465a59
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46c170
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4884e0]
cmp byte [eax + 0xc], 0
je 0x46c2dd
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46c2d6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x489bdc], 0
jne 0x46c1c4
push 0x46c2e4
call sub.kernel32.dll_GetModuleHandleA_1
mov ebx, eax
push 0x46c2ec
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x489bdc], eax
cmp dword [0x488064], 0
jne 0x46c2bf
push 0x46c2fc
call sub.kernel32.dll_LoadLibraryA
mov dword [0x488064], eax
cmp dword [0x488064], 0
je 0x46c2bf
push 0x46c308
mov eax, dword [0x488064]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x489be0], eax
push 0x46c318
mov eax, dword [0x488064]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x489be4], eax
push 0x46c32c
mov eax, dword [0x488064]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x489be8], eax
push 0x46c344
mov eax, dword [0x488064]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x489bec], eax
push 0x46c35c
mov eax, dword [0x488064]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x489bf0], eax
push 0x46c370
mov eax, dword [0x488064]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x489bf4], eax
push 0x46c388
mov eax, dword [0x488064]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x489bf8], eax
push 0x46c3a0
mov eax, dword [0x488064]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x489bfc], eax
push 0x46c3bc
mov eax, dword [0x488064]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x489c00], eax
push 0x46c3c8
mov eax, dword [0x488064]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x489c04], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c2dd
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x46e3b8
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push eax
push 0x200
push edx
push esi
push ebx
call sub.kernel32.dll_WriteProcessMemory
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
push edi
push ebx
call sub.kernel32.dll_WriteProcessMemory
lea eax, [ebp - 0x10]
push eax
push 4
push edi
push esi
push 0
push 0
push ebx
call sub.kernel32.dll_CreateRemoteThread
mov ebx, eax
push ebx
call sub.kernel32.dll_ResumeThread
push 0xffffffffffffffff
push ebx
call sub.kernel32.dll_WaitForSingleObject
push ebx
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x47a68c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
mov ebx, 0x489de0
mov esi, 0x489de4
push 0x40
push 0x1000
push 0x80
push 0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_VirtualAllocEx
mov dword [esi + 0xc], eax
push 0x40
push 0x1000
push 0x80
push 0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_VirtualAllocEx
mov dword [esi + 0x10], eax
push 0x40
push 0x1000
push 0x80
push 0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_VirtualAllocEx
mov dword [esi], eax
push 0x40
push 0x1000
push 0x80
push 0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_VirtualAllocEx
mov dword [esi + 0x14], eax
push 0x40
push 0x1000
push 0x14
push 0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_VirtualAllocEx
mov dword [esi + 0x18], eax
push 0x40
push 0x1000
push 0x80
push 0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_VirtualAllocEx
mov dword [esi + 0x24], eax
push 0x40
push 0x1000
push 0x14
push 0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_VirtualAllocEx
mov dword [esi + 0x28], eax
push 0x40
push 0x1000
push pe_nt_image_headers32
push 0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_VirtualAllocEx
mov dword [esi + 0x1c], eax
push 0x40
push 0x1000
push 0x14
push 0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_VirtualAllocEx
mov dword [esi + 0x20], eax
push 0x40
push 0x1000
push pe_nt_image_headers32
push 0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_VirtualAllocEx
mov dword [esi + 4], eax
push 0x40
push 0x1000
push 0x14
push 0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_VirtualAllocEx
mov dword [esi + 8], eax
pop esi
pop ebx
ret
Function at 0x401890
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4019db
push eax
mov dword fs:[0], esp
mov eax, dword [ebp + 8]
sub esp, 0x10
mov dword [ebp - 0x10], ecx
push eax
push 0xa1
call fcn.00417fb2
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0x5c
mov ecx, eax
mov dword [ebp - 0x14], eax
call fcn.0041ca88
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0x60
mov ecx, eax
mov dword [ebp - 0x18], eax
call fcn.0041ca88
push 0
lea edx, [ebp - 0x1c]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
push 0x4412bc
push 0x4412ac
push edx
mov dword [ecx], method.CDialog.virtual_0
mov ecx, 0x4443c8
call fcn.00432b45
push eax
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0041cce6
mov byte [ebp - 4], 2
call fcn.004019bd
push 0
lea ecx, [ebp - 0x1c]
push str.Arguments
push 0x4412ac
push ecx
mov ecx, 0x4443c8
call fcn.00432b45
push eax
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0041cce6
mov byte [ebp - 4], 2
call fcn.004019b5
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
cmp dword [ecx - 8], 0
jne 0x40199b
push 0x105
mov ecx, eax
push 0x105
call fcn.0041cf70
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x14]
call fcn.0041cfc5
push str._viewersquikview.exe
mov ecx, dword [ebp - 0x14]
call fcn.0041cf1b
push str.__1_
mov ecx, dword [ebp - 0x18]
call fcn.0041cd36
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x401aa0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x401c54
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [ebp - 0x1c], ecx
push esi
lea ecx, [ebp - 0x18]
call fcn.0041ca88
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
add eax, 0x60
push eax
call fcn.0041ca98
mov byte [ebp - 4], 1
push 0x44130c
lea ecx, [ebp - 0x14]
call fcn.00416887
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x401b66
push eax
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004167c9
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0041cf58
mov byte [ebp - 4], 1
call fcn.00401b5e
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0041cf1b
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x24]
mov eax, dword [eax - 8]
sub eax, dword [ebp - 0x10]
sub eax, 2
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.00416729
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0041cce6
mov byte [ebp - 4], 1
call fcn.00401b56
jmp 0x401ae1
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
call fcn.0041cf58
call fcn.004186f5
test eax, eax
mov eax, 0
je 0x401b8c
call fcn.004186f5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
mov esi, dword [ebp - 0x1c]
push 1
add esi, 0x5c
push 0
mov edx, dword [ebp - 0x18]
mov eax, dword [eax + 0x1c]
push edx
mov ecx, dword [esi]
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
ja 0x401c30
push str.Error_executing__
lea ecx, [ebp - 0x10]
call fcn.0041cc5b
push esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0041cf58
push 0x4412ec
lea ecx, [ebp - 0x10]
call fcn.0041cf1b
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x10]
push eax
call fcn.0041cf58
push 0x30
mov eax, dword [ebp - 0x10]
push str.Dependency_Walker_External_Viewer_Error
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.0042346b
mov byte [ebp - 4], 1
call fcn.00401c28
mov byte [ebp - 4], 0
call fcn.00401c4c
mov dword [ebp - 4], 0xffffffff
call fcn.00401c5e
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 4], 0
call fcn.00401c4c
mov dword [ebp - 4], 0xffffffff
call fcn.00401c5e
mov eax, 1
jmp 0x401c17
Function at 0x4057b0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
mov eax, dword [ecx + 0x1c]
push esi
push edi
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x40582a
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x405824
mov esi, dword [esp + 0x10]
mov ecx, 0xffffffff
mov edi, esi
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push 0x2002
mov edi, esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebx
ret 4

Function at 0x406500
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
xor eax, eax
mov ecx, 0xf
push edi
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
mov dword [esp + 4], 0x3c
mov eax, dword [esp + 0x44]
lea ecx, [esp + 4]
mov dword [esp + 0x10], str.properties
mov eax, dword [eax + 0x1c]
push ecx
mov dword [esp + 0xc], 0xc
add eax, 0x50
mov dword [esp + 0x18], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
pop edi
add esp, 0x3c
ret 4

Function at 0x406950
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [ecx + 0x54]
cmp word [eax], 0x5a4d
je 0x406972
mov eax, dword [esp + 4]
push str.No_DOS_signature_found._This_file_is_not_a_valid_Win32_module.
push eax
push ecx
call fcn.004068d0
add esp, 0xc
xor eax, eax
ret 4
mov edx, dword [eax + 0x3c]
add edx, eax
cmp dword [edx], 0x4550
je 0x406997
mov eax, dword [esp + 4]
push str.No_PE_signature_found._This_file_is_not_a_valid_Win32_module.
push eax
push ecx
call fcn.004068d0
add esp, 0xc
xor eax, eax
ret 4
lea eax, [edx + 4]
mov dword [ecx + 0x58], eax
lea eax, [edx + 0x18]
mov dword [ecx + 0x5c], eax
xor eax, eax
mov ax, word [edx + 0x14]
add eax, edx
add eax, 0x18
mov dword [ecx + 0x60], eax
mov eax, 1
ret 4
Function at 0x406b80
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
lea eax, [esp + 8]
push ebx
push esi
push edi
mov esi, dword [esp + 0x1c]
push ebp
push eax
xor ebx, ebx
mov eax, dword [esi + 0x1c]
add eax, 0x50
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebp, eax
test ebp, ebp
je 0x406c3c
push ebp
call fcn.0041941f
add esp, 4
mov edi, eax
test edi, edi
je 0x406c3c
push edi
mov eax, dword [esi + 0x1c]
push ebp
add eax, 0x50
push ebx
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x406c2f
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebx
push eax
mov dword [esp + 0x18], ebx
push ecx
push 0x44180c
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x406c2f
cmp dword [esp + 0x10], ebx
je 0x406c2f
cmp dword [esp + 0x14], ebx
je 0x406c2f
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x1c]
mov edx, dword [eax + 8]
mov dword [ecx + 0x2c], edx
mov ecx, dword [esi + 0x1c]
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0xc]
mov dword [ecx + 0x30], edx
mov ecx, dword [esi + 0x1c]
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x10]
mov dword [ecx + 0x34], edx
mov ecx, dword [esi + 0x1c]
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x14]
mov dword [ecx + 0x38], edx
test edi, edi
je 0x406c3c
push edi
call fcn.0041945f
add esp, 4
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4