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

Disassembly:
push 0xffffffffffffffff
push 0x4ed3a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push esi
push edi
mov esi, ecx
mov dword [esp + 0x40], 0
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea ecx, [esp + 0xc]
add eax, 0x130
push eax
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 1
mov eax, dword [eax - 8]
add eax, 0xfffffffc
push eax
push ecx
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CString::Left
push eax
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edx
push eax
mov byte [esp + 0x4c], 2
call sub.MFC42.DLL_operator
push str..txt
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x4c], 3
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 6
call fcn.004e2712
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 5
call fcn.004e2712
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CStdioFile::CStdioFile
mov edx, dword [esp + 0x10]
push 0
push 0x4000
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x4c], 7
call sub.MFC42.DLL_CStdioFile::Open
test eax, eax
jne 0x4813a3
push 0x51115c
lea ecx, [esi + 0x70]
call fcn.004e28bc
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 5
call fcn.004e29ac
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 1
call fcn.004e2712
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 0
call fcn.004e2712
lea ecx, [esp + 0x48]
mov dword [esp + 0x40], 0xffffffff
call fcn.004e2712
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x3c
ret 4
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 8]
lea ecx, [esp + 0x24]
push eax
mov byte [esp + 0x44], 8
call sub.MFC42.DLL_CStdioFile::ReadString
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CStdioFile::ReadString
lea edx, [esp + 8]
lea ecx, [esp + 0x24]
push edx
call sub.MFC42.DLL_CStdioFile::ReadString
lea eax, [esp + 8]
lea ecx, [esp + 0x24]
push eax
call sub.MFC42.DLL_CStdioFile::ReadString
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CStdioFile::ReadString
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CStdioFile::Close
lea edx, [esp + 0x48]
lea eax, [esp + 0xc]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
call sub.MFC42.DLL_operator
lea edi, [esi + 0x70]
push eax
mov ecx, edi
mov byte [esp + 0x44], 9
call fcn.004e2718
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 8
call fcn.004e2712
push 0x200
mov ecx, edi
call sub.MFC42.DLL_CString::GetBuffer
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0xf4]
call fcn.00475840
lea ecx, [esp + 8]
mov byte [esp + 0x40], 7
call fcn.004e2712
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 5
call fcn.004e29ac
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 1
call fcn.004e2712
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 0
call fcn.004e2712
lea ecx, [esp + 0x48]
mov dword [esp + 0x40], 0xffffffff
call fcn.004e2712
mov ecx, dword [esp + 0x38]
pop edi
mov eax, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x3c
ret 4
Function at 0x484360
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ed890
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push esi
push edi
mov esi, ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x70], 0
call fcn.004cf4d0
fld qword [esi + 0x58]
fmul qword [0x4f67f8]
sub esp, 8
lea eax, [ebp + 8]
mov byte [esp + 0x78], 1
fstp qword [esp]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x38]
call fcn.004cf630
lea ecx, [esp + 0x44]
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.004b8c10
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
fld qword [esi + 0x58]
fmul qword [0x4f67f8]
sub eax, ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
fild dword [esp + 0x10]
sub ecx, eax
mov dword [esp + 0x10], ecx
fmul st(1)
fstp qword [esp + 0x1c]
fild dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
fmul st(1)
fstp qword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x20]
push eax
push ecx
fstp st(0)
push edx
call fcn.004348c0
fst qword [esp + 0x24]
fmul qword [0x4f67f8]
add esp, 0x10
lea eax, [ebp + 8]
fstp qword [esp]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x38]
call fcn.004cf630
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov edi, eax
lea eax, [esp + 0x44]
mov dword [esi + 0x58], ecx
push eax
mov dword [esi + 0x5c], edx
call fcn.004b9540
add esp, 4
test di, di
jl 0x48447e
push 0
lea ecx, [esp + 0x48]
push 0
push ecx
mov ecx, esi
call fcn.004864a0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 0
call fcn.004cf590
lea ecx, [ebp + 8]
mov dword [esp + 0x70], 0xffffffff
call fcn.004e2712
mov ecx, dword [esp + 0x68]
mov ax, di
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x489ac0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ee08f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov al, byte [ebp + 0x1c]
push esi
mov esi, ecx
and eax, 0xff
push edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0
mov edi, eax
call fcn.00456e50
movsx edx, word [ebp + 0x36]
fld qword [esi + 0x58]
fmul qword [0x4f67f8]
mov dword [esp + 0xc], edx
xor ecx, ecx
fild dword [esp + 0xc]
movsx eax, word [ebp + 0x38]
fmul qword [ebp + 0x14]
mov dword [esp + 0xc], eax
cmp di, 0x20
setne cl
fdiv st(1)
mov dword [esp + 0x34], ecx
mov dword [esp + 0x60], 1
fstp qword [esp + 0x1c]
fild dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
push edx
fmul qword [ebp + 0x14]
fdiv st(1)
fstp qword [esp + 0x14]
fstp st(0)
call fcn.00434930
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
fstp qword [esp + 0x24]
push eax
push ecx
call fcn.00434930
fld qword [esp + 0x2c]
add esp, 0x10
call sub.MSVCRT.dll__ftol
movsx edx, ax
mov dword [esp + 0x2c], edx
call sub.MSVCRT.dll__ftol
movsx eax, ax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x28]
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x2c]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0xc], ecx
mov cx, word [esp + 0x40]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 4], edx
mov dx, word [esp + 0x38]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x3c]
mov word [esi + 0x10], dx
mov dx, word [esp + 0x42]
mov dword [esi + 0x14], eax
mov ax, word [esp + 0x44]
mov word [esi + 0x18], cx
mov cx, word [esp + 0x46]
mov word [esi + 0x1a], dx
mov edx, dword [esp + 0x48]
mov word [esi + 0x1c], ax
mov eax, dword [esp + 0x4c]
mov word [esi + 0x1e], cx
mov cx, word [esp + 0x50]
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], eax
mov word [esi + 0x28], cx
mov edx, dword [esp + 0x54]
mov dword [esi], 0x4f5588
mov dword [esi + 0x2c], edx
mov dword [esp + 0x18], 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x60], 0
call fcn.00456e80
mov ecx, dword [esp + 0x58]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 0x34
Function at 0x48b630
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4ee1f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
lea eax, [esp + 8]
lea edi, [esi + 0x24]
push 4
push eax
mov ecx, edi
call sub.MFC42.DLL_CString::Right
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0
call sub.MFC42.DLL_CString::MakeLower
mov ecx, dword [esp + 8]
push str..emb
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x48b68c
mov ecx, esi
call fcn.0048b6e0
jmp 0x48b6af
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x48b6a2
mov ecx, esi
call fcn.0048b6e0
jmp 0x48b6af
mov edi, dword [edi]
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 0x80]
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x14], 0xffffffff
call fcn.004e2712
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4a4d90
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f0318
push eax
mov dword fs:[0], esp
sub esp, 0x14
lea eax, [esp + 4]
push esi
mov esi, ecx
push edi
push eax
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 0x160]
push edx
call dword [sym.imp.USER32.dll_GetMenuItemCount]
lea edi, [eax - 1]
test edi, edi
jl 0x4a4de9
push ebx
mov ebx, dword [sym.imp.USER32.dll_DeleteMenu]
mov eax, dword [esi + 0x160]
push 0x400
push edi
push eax
call ebx
dec edi
jns 0x4a4dd6
pop ebx
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString
push 0xa240
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_CString::LoadStringA
mov ecx, dword [esp + 8]
mov edx, dword [esi + 0x160]
mov edi, dword [sym.imp.USER32.dll_AppendMenuA]
push ecx
push 0
push 0
push edx
call edi
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::Empty
push 0xa241
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::LoadStringA
mov eax, dword [esp + 8]
mov ecx, dword [esi + 0x160]
push eax
push 1
push 0
push ecx
call edi
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0xc]
add ecx, edx
push 0
add eax, edi
push esi
push ecx
push eax
push 0
lea ecx, [esi + 0x15c]
call sub.MFC42.DLL_CMenu::TrackPopupMenu
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0xffffffff
call fcn.004e2712
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x4b4c90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f12f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
lea ecx, [esp + 4]
call fcn.004d9b70
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x28], ecx
push edx
push esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], 0
mov byte [esp + 0x10], 0x3c
mov dword [esp + 0x2c], eax
call fcn.004d9d50
lea ecx, [esp + 4]
mov dword [esp + 0x38], 0xffffffff
call fcn.004d9ba0
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x4b9d50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4f178f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, ecx
push ebp
push esi
mov ebp, dword [ebx + 8]
push edi
xor edi, edi
lea esi, [ebp + 8]
mov dword [esp + 0x10], edi
cmp esi, edi
je 0x4b9d83
lea eax, [esi + 4]
jmp 0x4b9d85
xor eax, eax
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov eax, dword [esi + 0xc]
mov dword [esp + 0x20], eax
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], 0x4f57e8
mov eax, dword [ebp + 4]
mov dword [esp + 0x30], 1
cmp eax, edi
mov dword [ebx + 8], eax
je 0x4b9dbe
mov dword [eax], edi
jmp 0x4b9dc1
mov dword [ebx + 4], edi
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx]
add esi, 0x14
mov eax, edi
dec edi
test eax, eax
jne 0x4b9dc1
mov ecx, dword [ebx + 0x10]
mov dword [ebp], ecx
mov eax, dword [ebx + 0xc]
dec eax
mov dword [ebx + 0x10], ebp
mov dword [ebx + 0xc], eax
jne 0x4b9e27
mov ebp, dword [ebx + 4]
xor edi, edi
cmp ebp, edi
je 0x4b9e10
jmp 0x4b9df2
xor edi, edi
lea esi, [ebp + 8]
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx]
add esi, 0x14
mov eax, edi
dec edi
test eax, eax
jne 0x4b9df5
mov ebp, dword [ebp]
test ebp, ebp
jne 0x4b9df0
xor edi, edi
mov ecx, dword [ebx + 0x14]
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x10], edi
mov dword [ebx + 8], edi
mov dword [ebx + 4], edi
call sub.MFC42.DLL_CPlex::FreeDataChain
mov dword [ebx + 0x14], edi
lea eax, [esp + 0x14]
mov esi, dword [esp + 0x38]
neg eax
sbb eax, eax
lea ecx, [esp + 0x18]
and eax, ecx
mov ecx, dword [esp + 0x20]
mov dword [esi + 0xc], ecx
mov dword [esi], 0x4f57e8
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 4], edx
mov edx, dword [esp + 0x24]
mov dword [esi + 8], eax
mov dword [esi + 0x10], edx
mov dword [esp + 0x10], 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0
call fcn.004ba050
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x4bd260
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4f1a27
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], esi
mov dword [esi + 0x20], 0x4f57c0
mov dword [esi + 0x24], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
lea ecx, [esi + 0x34]
mov dword [esp + 0x18], edi
call fcn.004ba030
lea ecx, [esi + 0x48]
mov byte [esp + 0x18], 1
call fcn.004ba030
mov dword [esi + 0x60], 0x4f5b18
mov dword [esi + 0x64], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x68], edi
lea ecx, [esi + 0x7c]
mov byte [esp + 0x18], 3
call fcn.004d9b70
lea ecx, [esi + 0xa8]
mov byte [esp + 0x18], 4
call fcn.004d9b70
mov dword [esi + 0xf8], 0x4f6838
mov dword [esi + 0x104], edi
mov dword [esi + 0x108], edi
mov dword [esi + 0x100], edi
mov dword [esi + 0xfc], edi
mov dword [esi + 0x10c], edi
mov dword [esi + 0x110], 0xa
lea ecx, [esi + 0x114]
mov byte [esp + 0x18], 6
call fcn.00456e50
lea ebp, [esi + 0x154]
mov byte [esp + 0x18], 7
mov ecx, ebp
call sub.MFC42.DLL_CPtrArray::CPtrArray
mov dword [ebp], 0x4f57ac
lea ebp, [esi + 0x168]
mov byte [esp + 0x18], 8
mov ecx, ebp
call sub.MFC42.DLL_CPtrArray::CPtrArray
mov dword [ebp], 0x4f5798
lea ecx, [esi + 0x18c]
mov byte [esp + 0x18], 9
call fcn.00435570
lea ecx, [esi + 0x1bc]
mov byte [esp + 0x18], 0xa
call fcn.004deea0
lea ecx, [esi + 0x1e4]
mov byte [esp + 0x18], 0xb
call sub.MFC42.DLL_CToolTipCtrl::CToolTipCtrl
mov ecx, esi
mov byte [esp + 0x18], 0xc
mov dword [esi], 0x4fb148
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x5c], edi
call fcn.004bd5b0
mov eax, esi
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4c2f70
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4f1de8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x1c]
call fcn.004d9b70
mov eax, dword [esp + 0x88]
lea ebx, [esi + 0x34]
test ebx, ebx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x44], eax
je 0x4c2fb5
lea eax, [esi + 0x38]
jmp 0x4c2fb7
xor eax, eax
mov edx, dword [esp + 0x98]
lea ecx, [esp + 0x8c]
push ecx
mov ecx, dword [esp + 0x98]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
mov ecx, esi
call fcn.004c4730
mov eax, dword [esi + 0xe0]
mov edi, dword [esp + 0x84]
test eax, eax
jne 0x4c2ff9
push 7
push edi
lea ecx, [esi + 0x7c]
call fcn.004d9c60
test ebx, ebx
je 0x4c3002
lea eax, [esi + 0x38]
jmp 0x4c3004
xor eax, eax
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x90]
lea edx, [esp + 0xc]
mov dword [esp + 0x14], eax
push edx
mov dword [esp + 0x1c], ecx
call fcn.004346a0
lea eax, [esp + 0x18]
push eax
call fcn.004346a0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
add esp, 8
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], ecx
push 7
push edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov byte [esp + 0x28], 0xa
call fcn.004d9c60
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x90]
mov cl, byte [esp + 0x20]
mov dword [esi + 0x18], edx
sub esp, 0x2c
mov dword [esi + 0x1c], eax
mov eax, esp
mov dword [esp + 0xb4], esp
mov byte [eax + 4], cl
mov dl, byte [esp + 0x4d]
mov byte [eax + 5], dl
mov ecx, dword [esp + 0x50]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x54]
mov dword [eax + 0xc], edx
mov ecx, dword [esp + 0x58]
mov dword [eax + 0x10], ecx
mov edx, dword [esp + 0x5c]
mov dword [eax + 0x14], edx
mov ecx, dword [esp + 0x60]
mov dword [eax + 0x18], ecx
mov edx, dword [esp + 0x64]
mov dword [eax + 0x1c], edx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x20], ecx
mov edx, dword [esp + 0x6c]
mov dword [eax + 0x24], edx
mov ecx, dword [esp + 0x70]
lea edx, [esp + 0x74]
mov dword [eax + 0x28], ecx
push edx
lea ecx, [esi + 0x7c]
mov dword [eax], 0x4f67d4
call fcn.004d9bb0
lea ecx, [esp + 0x48]
call fcn.004d9ba0
lea ecx, [esp + 0x1c]
mov dword [esi + 0xd8], 1
mov dword [esp + 0x7c], 0xffffffff
call fcn.004d9ba0
mov ecx, dword [esp + 0x74]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x74
ret 0x18
Function at 0x4c3fa0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4f1e88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x20]
call fcn.004d9b70
mov eax, dword [esi + 0xe0]
mov ebp, dword [esp + 0x88]
test eax, eax
mov dword [esp + 0x80], 0
jne 0x4c3fee
push 7
push ebp
lea ecx, [esi + 0x7c]
call fcn.004d9c60
mov edi, dword [esp + 0x94]
mov ebx, dword [esp + 0x90]
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x74]
push edi
push ebx
push eax
push ecx
call fcn.00434090
fstp qword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
mov eax, dword [esp + 0xa0]
push edx
push eax
call fcn.00434930
mov ecx, dword [esi + 0x74]
mov edx, dword [esi + 0x78]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
call sub.MSVCRT.dll__ftol
mov ecx, dword [esi + 0x74]
add eax, ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x78]
push ecx
mov dword [esp + 0x38], eax
call fcn.004346a0
lea edx, [esp + 0x34]
push edx
call fcn.004346a0
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0x34]
add esp, 0x20
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x34], ecx
push 7
push ebp
lea ecx, [esp + 0x28]
mov byte [esp + 0x2c], 0x1e
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
call fcn.004d9c60
mov dl, byte [esp + 0x24]
sub esp, 0x2c
mov eax, esp
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], edi
mov dword [esp + 0xb4], esp
mov byte [eax + 4], dl
mov cl, byte [esp + 0x51]
mov byte [eax + 5], cl
mov edx, dword [esp + 0x54]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x58]
mov dword [eax + 0xc], ecx
mov edx, dword [esp + 0x5c]
mov dword [eax + 0x10], edx
mov ecx, dword [esp + 0x60]
mov dword [eax + 0x14], ecx
mov edx, dword [esp + 0x64]
mov dword [eax + 0x18], edx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x1c], ecx
mov edx, dword [esp + 0x6c]
mov dword [eax + 0x20], edx
mov ecx, dword [esp + 0x70]
mov dword [eax + 0x24], ecx
mov edx, dword [esp + 0x74]
mov dword [eax + 0x28], edx
mov dword [eax], 0x4f67d4
lea eax, [esp + 0x78]
lea ecx, [esi + 0x7c]
push eax
call fcn.004d9bb0
lea ecx, [esp + 0x4c]
call fcn.004d9ba0
lea ecx, [esp + 0x20]
mov dword [esi + 0xd8], 1
mov dword [esp + 0x80], 0xffffffff
call fcn.004d9ba0
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x74
ret 0x10
Function at 0x4cc9a0
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4f2540
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
push edi
lea eax, [esp + 0x40]
mov ecx, dword [esi + 8]
push 1
push eax
push ecx
call dword [sym.imp.GDI32.dll_LPtoDP]
mov ebp, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov eax, dword [esi]
mov ecx, esi
lea ebx, [ebp - 5]
lea edi, [edx - 5]
add ebp, 5
call dword [eax + 0x24]
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x3c]
mov eax, dword [esi]
push 0
lea ecx, [esp + 0x1c]
push 0
push ecx
mov ecx, esi
call dword [eax + 0x40]
push 0
lea edx, [esp + 0x1c]
push 0
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::SetWindowOrg
xor eax, eax
mov dword [esp + 0x10], 0x4f5178
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
push ecx
push eax
push eax
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CGdiObject::Attach
push 0xa
mov ecx, esi
call sub.MFC42.DLL_CDC::SetROP2
lea edx, [esp + 0x10]
mov ecx, esi
push edx
call sub.MFC42.DLL_CDC::SelectObject
mov dword [esp + 0x38], eax
mov eax, dword [esi]
push 5
mov ecx, esi
call dword [eax + 0x2c]
mov ecx, dword [esi + 4]
push edi
lea eax, [edi - 0xa]
push ebx
push eax
lea eax, [ebx - 0xa]
push eax
push ecx
call dword [sym.imp.GDI32.dll_Rectangle]
mov edx, dword [esi + 4]
lea eax, [ebp + 0xa]
push edi
push eax
lea eax, [edi - 0xa]
push eax
push ebp
push edx
call dword [sym.imp.GDI32.dll_Rectangle]
push edi
push ebx
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::MoveTo
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
push edi
lea eax, [esp + 0x24]
push ebp
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x38]
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::SelectObject
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov edx, dword [esi]
push 0xffffffffffffffff
mov ecx, esi
call dword [edx + 0x28]
mov dword [esp + 0x10], 0x4f4f14
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0x10