joyce8/EMBER2024-capa huggingface dataset:
Function at 0x478b4e
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5cdfb4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x28]
push edi
push eax
mov eax, dword [esp + 0x28]
or dh, 2
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x20], esi
call sub.mfc42u.dll_CFileDialog::CFileDialog
lea edi, [esi + 0x340]
mov dword [esp + 0x14], 0
mov ecx, edi
call fcn.005c0f92
mov dword [edi], 0x5e4670
lea edi, [esi + 0x354]
mov byte [esp + 0x14], 1
mov ecx, edi
call fcn.005c0f92
mov dword [edi], 0x5e4670
lea edi, [esi + 0x368]
mov byte [esp + 0x14], 2
mov ecx, edi
call fcn.005c0f92
mov dword [edi], 0x5e4670
lea ecx, [esi + 0x37c]
mov byte [esp + 0x14], 3
call fcn.004b4450
lea ecx, [esi + 0x3b8]
mov byte [esp + 0x14], 4
call sub.mfc42u.dll_CString::CString_3
lea edi, [esi + 0x3bc]
mov byte [esp + 0x14], 5
mov ecx, edi
call sub.mfc42u.dll_CString::CString_3
mov byte [esp + 0x14], 6
mov dword [esi], 0x5e9f68
mov dword [esi + 0x3c0], 0
call sub.mfc42u.dll_AfxGetModuleState
mov eax, dword [eax + 4]
push 0
push 0x61ce14
lea ecx, [esp + 0x38]
push 0x61a54c
push ecx
mov ecx, eax
call sub.mfc42u.dll_CWinApp::GetProfileStringW
push eax
mov ecx, edi
mov byte [esp + 0x18], 7
call sub.mfc42u.dll_CString::operator_2
lea ecx, [esp + 0x30]
mov byte [esp + 0x14], 6
call sub.mfc42u.dll_CString::CString
mov eax, dword [esi + 0x94]
mov edx, dword [edi]
and eax, 0xff7fffff
push 0x9d
or eax, 0x240
push 0
mov ecx, esi
mov dword [esi + 0x8c], edx
mov dword [esi + 0x94], eax
call sub.mfc42u.dll_CFileDialog::SetTemplate
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18
Function at 0x479960
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x5ce088
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push edi
lea ecx, [esp + 4]
call sub.mfc42u.dll_CFile::CFile
mov eax, dword [esp + 0x24]
push 0
push 0
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0
call sub.mfc42u.dll_CFile::Open
test eax, eax
jne 0x4799c3
lea ecx, [esp + 4]
mov dword [esp + 0x1c], 0xffffffff
call fcn.005c111e
xor eax, eax
pop edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
lea ecx, [esp + 4]
call sub.mfc42u.dll_CFile::GetLength
mov edi, eax
cmp edi, 0x100
jae 0x479a02
lea ecx, [esp + 4]
call sub.mfc42u.dll_CFile::Close
lea ecx, [esp + 4]
mov dword [esp + 0x1c], 0xffffffff
call fcn.005c111e
xor eax, eax
pop edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
push esi
push edi
call sub.mfc42u.dll_operatornew
add esp, 4
mov esi, eax
lea ecx, [esp + 8]
push edi
push esi
call sub.mfc42u.dll_CFile::Read
lea ecx, [esp + 8]
mov edi, eax
call sub.mfc42u.dll_CFile::Close
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x7e
jne 0x479a42
xor eax, eax
mov cl, byte [eax + esi]
xor cl, 0x7e
mov byte [eax + esi], cl
inc eax
cmp eax, 0x100
jl 0x479a2f
jmp 0x479a8e
cmp ecx, 0xd8
jne 0x479a5f
xor eax, eax
mov cl, byte [eax + esi]
xor cl, 0xd8
mov byte [eax + esi], cl
inc eax
cmp eax, 0x100
jl 0x479a4c
jmp 0x479a8e
cmp ecx, 0x148
jne 0x479a7c
xor eax, eax
mov cl, byte [eax + esi]
xor cl, 0x48
mov byte [eax + esi], cl
inc eax
cmp eax, 0x100
jl 0x479a69
jmp 0x479a8e
xor eax, eax
mov dl, byte [eax + esi]
xor dl, cl
mov byte [eax + esi], dl
inc eax
cmp eax, 0x100
jl 0x479a7e
push esi
push edi
call dword [sym.imp.gdi32.dll_SetEnhMetaFileBits]
push esi
mov edi, eax
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call fcn.005c111e
mov ecx, dword [esp + 0x18]
mov eax, edi
pop esi
pop edi
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x47b910
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5ce383
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea eax, [esp + 0x10]
push eax
mov ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.user32.dll_GetClientRect]
mov edx, dword [edi + 0x50]
lea esi, [edi + 0x50]
push 0
push 0
lea eax, [esp + 0x18]
push 0
push eax
mov ecx, esi
call dword [edx + 0xc]
mov ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.user32.dll_GetParent]
push eax
call sub.mfc42u.dll_CWnd::FromHandle
lea edx, [esp + 0x80]
push eax
push edx
call dword [edi + 0x40]
add esp, 8
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0xbc], 0
call fcn.004b2af0
lea ecx, [esp + 0x80]
mov byte [esp + 0xb8], 2
call fcn.0042bd50
lea ecx, [esp + 0x20]
call fcn.004cccd0
lea eax, [esp + 0x68]
lea ecx, [esp + 0x38]
push eax
call fcn.004b2eb0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x34], edx
add eax, ecx
mov ecx, esi
cdq
sub eax, edx
mov edx, dword [esp + 0x10]
mov ebx, eax
mov eax, dword [esp + 0x18]
add eax, edx
cdq
sub eax, edx
mov ebp, eax
sar ebx, 1
sar ebp, 1
call fcn.004d2fe0
push 0x3f800000
call dword [sym.imp.opengl32.dll_glLineWidth]
lea ecx, [esp + 0x38]
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.004d34b0
push ebx
lea eax, [esp + 0x24]
push ebp
push eax
mov ecx, esi
call fcn.004d2f90
mov ecx, eax
call fcn.004d2880
mov ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.user32.dll_GetParent]
push eax
call sub.mfc42u.dll_CWnd::FromHandle
push esi
push eax
call dword [edi + 0x44]
add esp, 8
mov ecx, esi
call fcn.004d31e0
lea ecx, [esp + 0x38]
mov dword [esp + 0xb8], 0xffffffff
call fcn.0042bd50
mov ecx, dword [esp + 0xb0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xac
ret

Function at 0x47c0f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ce434
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
call fcn.004825d0
xor ebx, ebx
mov dword [esi + 0x80], 0x5e2838
mov dword [esp + 0x14], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0xb4], 0x5e79c4
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xbc], ebx
lea ecx, [esi + 0xc8]
mov byte [esp + 0x14], 2
call fcn.004cccd0
push 0x61d108
lea ecx, [esi + 8]
mov dword [esi], 0x5ea430
mov byte [esi + 0x99], bl
mov byte [esi + 0x98], bl
mov byte [esi + 0x9a], bl
call fcn.005c0e66
lea ecx, [esi + 0x30]
mov dword [esi + 0x94], ebx
call fcn.004b75c0
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x47e8a0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.user32.dll_GetKeyState]
push 0x10
mov dword [esi + 0xb0], 0
call edi
test ah, 0x80
mov ebp, 3
je 0x47e915
mov eax, dword [esi + 0x94]
mov ebx, 1
sub eax, 2
je 0x47e90b
dec eax
je 0x47e901
dec eax
je 0x47e8ef
mov dword [esi + 0x94], 4
mov edi, dword [esi + 0x94]
jmp 0x47e95e
mov dword [esi + 0x94], 2
mov edi, dword [esi + 0x94]
jmp 0x47e95e
mov dword [esi + 0x94], ebx
mov edi, ebx
jmp 0x47e95e
mov dword [esi + 0x94], ebp
mov edi, ebp
jmp 0x47e95e
push 0x42
call edi
test ah, 0x80
je 0x47e92a
mov edi, 4
mov ebx, 1
jmp 0x47e958
push 0x4e
call edi
test ah, 0x80
je 0x47e93f
mov edi, 2
mov ebx, 1
jmp 0x47e958
push 0x4d
call edi
test ah, 0x80
je 0x47e951
mov edi, ebp
mov ebx, 1
jmp 0x47e958
mov ebx, 1
mov edi, ebx
mov dword [esi + 0x94], ebx
cmp dword [esi + 0x88], ebx
jne 0x47e97e
mov eax, dword [esi + 0x84]
mov ecx, dword [eax]
call fcn.0050b020
push eax
mov ecx, 0x627188
call fcn.004b6d90
call sub.mfc42u.dll_AfxGetModuleState
mov eax, dword [eax + 4]
cmp dword [eax + 0xd0], ebp
jne 0x47e99f
mov edi, 5
mov dword [esi + 0x94], 0
jmp 0x47e9af
cmp dword [esi + 0x88], ebx
je 0x47e9af
xor edi, edi
mov dword [esi + 0x94], edi
mov eax, dword [esi + 0x2c]
lea ecx, [esi + 0xb4]
lea ebp, [esi + 0x80]
push ecx
lea edx, [eax + 0x120]
push ebp
push edx
lea ecx, [esi + 0xe8]
sub esp, 0x10
mov ebx, dword [ecx]
mov edx, esp
mov dword [edx], ebx
mov ebx, dword [ecx + 4]
mov dword [edx + 4], ebx
mov ebx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ecx
mov edx, dword [esi + 0xe4]
mov ecx, dword [esi + 0xe0]
push edx
push ecx
push edi
lea ecx, [eax + 0x2e0]
call fcn.004dceb0
mov ebx, eax
test ebx, ebx
je 0x47eabc
mov eax, dword [esi + 0xb8]
mov ecx, esi
push eax
push eax
call fcn.0047e210
mov eax, 1
cmp edi, 3
mov dword [esi + 0x94], eax
jne 0x47ea6b
cmp ebx, 0x186a0
jne 0x47eaa8
cmp dword [esi + 0x88], eax
jne 0x47ea50
mov edx, dword [esi + 0x84]
mov ecx, dword [esi + 0x2c]
mov eax, dword [edx]
push eax
push ecx
call fcn.00482fe0
add esp, 8
mov byte [esi + 0x98], 1
mov dword [esi + 0xb0], 1
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
push 0x59
call dword [sym.imp.user32.dll_GetKeyState]
test ah, 0x80
je 0x47eaa8
mov ecx, dword [esi + 0x2c]
lea edx, [esp + 0x10]
push edx
push ebp
push 0x3fe00000
push 0
add ecx, 0x2e0
call fcn.004dd790
test eax, eax
je 0x47eaa8
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.0047e210
mov dword [esi + 0xb0], 1
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x40
ret
Function at 0x4825d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5cec73
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.004d3d20
lea edi, [esi + 0x30]
mov dword [esp + 0x14], 0
mov ecx, edi
call fcn.004ccd50
mov ecx, edi
mov byte [esp + 0x14], 1
mov dword [esi], 0x5ea7a0
call fcn.004b75c0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x2c], 0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x485e40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5cf188
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
mov ecx, dword [esi + 0x24]
add ecx, 0x2e0
call fcn.004dfab0
fld qword [0x5e27a0]
fsub qword [eax + 0x28]
mov ecx, dword [esi + 0x24]
add ecx, 0x2e0
fdivr qword [0x5e27a0]
fmul qword [esp + 0x20]
fstp qword [esp + 0x20]
call fcn.004dfab0
fld qword [0x5e27a0]
fsub qword [eax + 0x30]
push 0
push 1
fdivr qword [0x5e27a0]
fmul qword [esp + 0x30]
fstp qword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push eax
push ecx
call fcn.004aaae0
add esp, 0x10
lea ecx, [esp + 4]
push eax
call sub.mfc42u.dll_CString::CString_1
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push edx
push 0
push 1
push eax
push ecx
mov dword [esp + 0x2c], 0
call fcn.004aaab0
mov edx, dword [eax]
add esp, 0x10
push edx
push 0x61d7bc
push 0x61d7a0
call sub.etinfo.dll_unsigned_short_int_const____cdecl_mgLoadLocateString_unsigned_short_int_const__
add esp, 4
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0046c5e0
add esp, 0x14
fld qword [esp + 0x20]
fmul qword [esp + 0x20]
fld qword [esp + 0x28]
fmul qword [esp + 0x28]
mov esi, dword [eax]
push 0
push 1
mov byte [esp + 0x20], 1
faddp st(1)
sub esp, 8
fsqrt
fstp qword [esp]
call fcn.004aab10
mov ecx, dword [eax]
add esp, 0x10
push ecx
push 0x61d788
push 0x61c884
call sub.etinfo.dll_unsigned_short_int_const____cdecl_mgLoadLocateString_unsigned_short_int_const__
add esp, 4
lea edx, [esp + 0x10]
push eax
push edx
call fcn.0046c5e0
mov eax, dword [eax]
push 0
push 0
push 0
push esi
push 0
push eax
mov byte [esp + 0x40], 2
call fcn.0046c660
add esp, 0x28
lea ecx, [esp + 8]
mov byte [esp + 0x18], 1
call sub.mfc42u.dll_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 0
call sub.mfc42u.dll_CString::CString
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0xffffffff
call sub.mfc42u.dll_CString::CString
mov ecx, dword [esp + 0x10]
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 0x10
Function at 0x4895c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push esi
mov esi, ecx
push 0x11
call dword [sym.imp.user32.dll_GetKeyState]
test ah, 0x80
jne 0x48961c
mov ecx, dword [esi + 0x40]
call fcn.004d63c0
mov eax, dword [esi + 0x1fc]
test eax, eax
je 0x489602
mov eax, dword [esp + 0xc]
sub esp, 0x20
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.004b6cb0
mov ecx, esi
call fcn.00488800
pop esi
pop ecx
ret 4
mov edx, dword [esp + 0xc]
sub esp, 0x20
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.004b6cb0
mov ecx, esi
call fcn.004889b0
pop esi
pop ecx
ret 4

Function at 0x4895c1
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push esi
mov esi, ecx
push 0x11
call dword [sym.imp.user32.dll_GetKeyState]
test ah, 0x80
jne 0x48961c
mov ecx, dword [esi + 0x40]
call fcn.004d63c0
mov eax, dword [esi + 0x1fc]
test eax, eax
je 0x489602
mov eax, dword [esp + 0xc]
sub esp, 0x20
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.004b6cb0
mov ecx, esi
call fcn.00488800
pop esi
pop ecx
ret 4
mov edx, dword [esp + 0xc]
sub esp, 0x20
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.004b6cb0
mov ecx, esi
call fcn.004889b0
pop esi
pop ecx
ret 4
Function at 0x4920b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x5cfcc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov esi, 1
mov dword [esp + 0x14], 0
cmp dword [edi + 0x170], esi
jle 0x49221c
lea ebx, [edi + 0xc0]
push 1
push esi
mov ecx, ebx
call fcn.004c0b30
test al, 2
jne 0x492133
push 2
push esi
mov ecx, ebx
call fcn.004c0b30
test al, 2
jne 0x492133
push 3
push esi
mov ecx, ebx
call fcn.004c0b30
test al, 2
jne 0x492133
mov eax, dword [edi + 0x38b8]
mov ecx, dword [eax + 0x1d8]
mov edx, dword [ecx + esi*4 - 4]
mov dword [edx + 0x48], 0
jmp 0x49220d
mov ecx, dword [edi + 0x38b8]
lea ebp, [esi - 1]
push ebp
add ecx, 0x190
call fcn.004f8150
fld qword [eax + 0xc0]
fcomp qword [0x5e46c8]
fnstsw ax
test ah, 0x41
jne 0x4921f6
mov ecx, dword [edi + 0x38b8]
lea eax, [esp + 0x10]
push ebp
push eax
add ecx, 0x190
call fcn.004f81c0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x24], 0
push ecx
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x492235
mov al, byte [esp + 0x2c]
test al, al
je 0x4921c3
mov ecx, dword [edi + 0x38b8]
push ebp
add ecx, 0x190
call fcn.004f8150
fld dword [eax + 0xf0]
fcomp dword [0x5ebbc8]
fnstsw ax
test ah, 0x41
je 0x4922c7
mov edx, dword [edi + 0x38b8]
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [edx + 0x1d8]
mov ecx, dword [eax + esi*4 - 4]
mov eax, dword [esp + 0x14]
inc eax
mov dword [ecx + 0x48], 1
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], eax
call sub.mfc42u.dll_CString::CString
jmp 0x49220d
mov edx, dword [edi + 0x38b8]
mov eax, dword [edx + 0x1d8]
mov ecx, dword [eax + esi*4 - 4]
mov dword [ecx + 0x48], 0
mov eax, dword [edi + 0x170]
inc esi
cmp esi, eax
jl 0x4920ed
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
lea ecx, [esp + 0x2c]
call sub.mfc42u.dll_CString::CString_3
mov ecx, dword [edi + 0x38b8]
lea edx, [esp + 0x18]
dec esi
push edx
push esi
add ecx, 0x190
mov byte [esp + 0x2c], 1
call fcn.004f8150
mov ecx, eax
call fcn.004f6ec0
mov eax, dword [eax]
mov byte [esp + 0x24], 2
push eax
push 0x61dc50
call sub.etinfo.dll_unsigned_short_int_const____cdecl_mgLoadLocateString_unsigned_short_int_const__
add esp, 4
lea ecx, [esp + 0x30]
push eax
push ecx
call sub.mfc42u.dll_CString::Format_1
add esp, 0xc
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 1
call sub.mfc42u.dll_CString::CString
mov edx, dword [esp + 0x2c]
push 0
push 0
push edx
call sub.mfc42u.dll_AfxMessageBox_1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 0
call sub.mfc42u.dll_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call sub.mfc42u.dll_CString::CString
xor eax, eax
jmp 0x492220
push 0
push 0
push 0x61dc34
call sub.etinfo.dll_unsigned_short_int_const____cdecl_mgLoadLocateString_unsigned_short_int_const__
add esp, 4
push eax
call sub.mfc42u.dll_AfxMessageBox_1
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call sub.mfc42u.dll_CString::CString
xor eax, eax
jmp 0x492220
Function at 0x495bca
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x5d0380
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x1c]
call sub.mfc42u.dll_CMetaFileDC::CMetaFileDC
push 0
push 0
push 0
push 0
mov dword [esp + 0x54], 0
call dword [sym.imp.gdi32.dll_CreateEnhMetaFileW]
push eax
lea ecx, [esp + 0x20]
call sub.mfc42u.dll_CDC::Attach
push 0
push 2
push 0
lea ecx, [esp + 0x20]
call sub.mfc42u.dll_CPen::CPen
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
mov byte [esp + 0x48], 1
call sub.mfc42u.dll_CDC::SelectObject
lea ecx, [esp + 0x2c]
call sub.mfc42u.dll_CDC::CDC
push 0
mov byte [esp + 0x48], 2
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x30]
call sub.mfc42u.dll_CDC::Attach
mov ebx, dword [esp + 0x30]
lea eax, [esp + 0x2c]
neg eax
sbb eax, eax
lea ecx, [esp + 0x1c]
and eax, ebx
push eax
call sub.mfc42u.dll_CMetaFileDC::SetAttribDC
mov ecx, dword [0x627484]
mov edi, dword [0x6274bc]
mov ebx, dword [0x627480]
sub esp, 0x10
mov edx, esp
xor eax, eax
mov dword [esp + 0x20], ecx
xor ecx, ecx
mov dword [edx], eax
mov dword [0x627484], eax
mov dword [0x6274bc], eax
mov dword [0x627480], eax
mov dword [edx + 4], ecx
mov eax, 0x578
mov ebp, dword [0x6274a0]
push 1
mov dword [edx + 8], eax
mov eax, 0x3e8
push ecx
mov ecx, esi
mov dword [edx + 0xc], eax
lea eax, [esp + 0x34]
push eax
call fcn.004999a0
mov ecx, dword [esp + 0x10]
mov dword [0x6274bc], edi
mov dword [0x627484], ecx
lea ecx, [esp + 0x1c]
mov dword [0x6274a0], ebp
mov dword [0x627480], ebx
call sub.mfc42u.dll_CDC::ReleaseAttribDC
lea ecx, [esp + 0x1c]
call sub.mfc42u.dll_CDC::Detach
push eax
call dword [sym.imp.gdi32.dll_CloseEnhMetaFile]
mov esi, eax
test esi, esi
je 0x495d0e
push 0
call dword [sym.imp.user32.dll_OpenClipboard]
test eax, eax
je 0x495d07
call dword [sym.imp.user32.dll_EmptyClipboard]
push esi
push 0xe
call dword [sym.imp.user32.dll_SetClipboardData]
call dword [sym.imp.user32.dll_CloseClipboard]
jmp 0x495d0e
push esi
call dword [sym.imp.gdi32.dll_DeleteEnhMetaFile]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x44], 1
call fcn.005c100a
mov dword [esp + 0x14], 0x5e3df4
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 3
call sub.mfc42u.dll_CGdiObject::DeleteObject
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0x5e262c
mov dword [esp + 0x44], 0xffffffff
call fcn.005c14ea
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x38
ret
Function at 0x49c220
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d0a48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
lea ebx, [edi + 0x2e0]
mov ecx, ebx
call fcn.004e3060
fild dword [ebp + 0x1c]
test al, al
fadd qword [0x5e2790]
je 0x49c34c
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x1c]
sub eax, ecx
mov ecx, dword [ebp + 0x18]
dec ecx
mov esi, dword [ebp + 0xc]
imul eax, ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x10]
fild dword [esp + 0xc]
fsubp st(1)
fstp qword [esi + 0x10]
call fcn.004b6ca0
mov ecx, ebx
mov dword [esp + 0x38], 0
call fcn.004d7b80
sub esp, 8
mov ecx, ebx
fstp qword [esp]
call fcn.004d7b50
sub esp, 8
lea ecx, [esp + 0x20]
fstp qword [esp]
push 0
push 0
push 0
push 0
call fcn.004b6d10
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
lea edx, [esp + 0x10]
push ebx
push edx
push esi
push eax
mov ecx, edi
call fcn.00496fd0
mov edx, dword [ebp + 0x2c]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0x20]
sub esp, 0x10
mov eax, esp
push ebx
mov dword [eax], ecx
mov ecx, dword [ebp + 0x24]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x28]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 8]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 0x10]
push eax
push 1
push esi
push ecx
mov ecx, edi
call fcn.0049c7d0
test bl, bl
jne 0x49c327
mov eax, dword [0x6274ac]
test eax, eax
je 0x49c327
mov eax, dword [ebp + 8]
lea edx, [esp + 0x10]
push edx
push esi
push eax
mov ecx, edi
call fcn.00497030
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.0042bd50
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x30]
push ecx
fld qword [eax + 0x20]
fmul qword [ecx]
mov ecx, dword [ebp + 0x2c]
push ecx
mov ecx, dword [ebp + 0x1c]
sub esp, 0x10
mov edx, esp
fsubp st(1)
mov dword [edx], ecx
mov ecx, dword [ebp + 0x20]
mov dword [edx + 4], ecx
mov ecx, dword [ebp + 0x24]
fstp qword [eax + 0x10]
mov dword [edx + 8], ecx
mov ecx, dword [ebp + 0x28]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 8]
push ecx
push 0
push eax
push edx
mov ecx, edi
call fcn.0049c7d0
mov ecx, dword [esp + 0x30]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x2c