joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47efe0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b9520
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x6c], ebx
call sub.MFC42.DLL_CString::CString_5
mov eax, dword [esp + 0x74]
mov byte [esp + 0x6c], 1
cmp eax, ebx
jne 0x47f01f
mov dword [esp + 0x1c], ebx
jmp 0x47f026
mov eax, dword [eax + 0x20]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x7c]
lea eax, [esp + 0x78]
mov dword [esp + 0x20], ecx
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], edx
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x88]
cmp eax, ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x38], ecx
je 0x47f08f
lea edx, [esp + 0xc]
push eax
push edx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
jmp 0x47f09a
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov edx, dword [esp + 0x1c]
sub esp, 0x48
mov esi, esp
mov dword [esp + 0xbc], esp
mov dword [esi], edx
mov eax, dword [esp + 0x68]
mov dword [esi + 4], eax
mov edx, dword [esp + 0x6c]
lea ecx, [esi + 8]
mov dword [esi + 8], edx
mov eax, dword [esp + 0x70]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0x74]
mov dword [ecx + 8], edx
mov eax, dword [esp + 0x78]
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x7c]
mov dword [esi + 0x18], ecx
mov edx, dword [esp + 0x80]
lea eax, [esp + 0x84]
lea ecx, [esi + 0x20]
push eax
mov dword [esi + 0x1c], edx
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esp + 0x88]
mov dword [esi + 0x24], ecx
mov edx, dword [esp + 0x8c]
mov dword [esi + 0x28], edx
mov eax, dword [esp + 0x90]
mov dword [esi + 0x2c], eax
mov ecx, dword [esp + 0x94]
mov dword [esi + 0x30], ecx
mov edx, dword [esp + 0x98]
mov dword [esi + 0x34], edx
mov eax, dword [esp + 0x9c]
mov dword [esi + 0x38], eax
mov ecx, dword [esp + 0xa0]
mov dword [esi + 0x3c], ecx
mov edx, dword [esp + 0xa4]
mov dword [esi + 0x40], edx
mov eax, dword [esp + 0xa8]
mov ecx, edi
mov dword [esi + 0x44], eax
call fcn.0047f320
lea ecx, [esp + 0x3c]
mov esi, eax
mov byte [esp + 0x6c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x78]
mov dword [esp + 0x6c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x64]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x64
ret 0x18
Function at 0x47f9d0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b95d8
push eax
mov dword fs:[0], esp
sub esp, 0x48
push esi
push edi
mov edi, dword [esp + 0x60]
mov esi, ecx
push edi
call fcn.0047fc40
test eax, eax
jne 0x47fa0d
pop edi
pop esi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
add esp, 0x54
ret 8
lea eax, [esp + 8]
push edi
push eax
lea ecx, [esi + 0x40]
call fcn.00480090
mov esi, eax
mov edi, dword [esp + 0x64]
mov ecx, dword [esi]
lea eax, [esi + 8]
mov dword [esp + 0x58], 0
mov dword [edi], ecx
mov edx, dword [esi + 4]
mov dword [edi + 4], edx
mov edx, dword [eax]
lea ecx, [edi + 8]
mov dword [edi + 8], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0x18]
mov dword [edi + 0x18], ecx
mov edx, dword [esi + 0x1c]
lea eax, [esi + 0x20]
lea ecx, [edi + 0x20]
push eax
mov dword [edi + 0x1c], edx
call sub.MFC42.DLL_CString::operator
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x58], 0xffffffff
mov dword [edi + 0x24], ecx
mov edx, dword [esi + 0x28]
mov dword [edi + 0x28], edx
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x2c], eax
mov ecx, dword [esi + 0x30]
mov dword [edi + 0x30], ecx
mov edx, dword [esi + 0x34]
mov dword [edi + 0x34], edx
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
mov ecx, dword [esi + 0x3c]
mov dword [edi + 0x3c], ecx
mov edx, dword [esi + 0x40]
mov dword [edi + 0x40], edx
mov eax, dword [esi + 0x44]
lea ecx, [esp + 0x28]
mov dword [edi + 0x44], eax
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x50]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x54
ret 8
Function at 0x480130
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b9648
push eax
mov dword fs:[0], esp
push esi
mov eax, dword [esp + 0x14]
mov ecx, dword [ecx + 4]
mov edx, dword [esp + 0x18]
mov dword [esp + 0xc], 0
lea eax, [eax + eax*8]
lea esi, [ecx + eax*8]
mov dword [esi], edx
mov eax, dword [esp + 0x1c]
mov dword [esi + 4], eax
mov edx, dword [esp + 0x20]
lea ecx, [esi + 8]
mov dword [esi + 8], edx
mov eax, dword [esp + 0x24]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0x28]
mov dword [ecx + 8], edx
mov eax, dword [esp + 0x2c]
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x18], ecx
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x38]
lea ecx, [esi + 0x20]
push eax
mov dword [esi + 0x1c], edx
call sub.MFC42.DLL_CString::operator
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xc], 0xffffffff
mov dword [esi + 0x24], ecx
mov edx, dword [esp + 0x40]
mov dword [esi + 0x28], edx
mov eax, dword [esp + 0x44]
mov dword [esi + 0x2c], eax
mov ecx, dword [esp + 0x48]
mov dword [esi + 0x30], ecx
mov edx, dword [esp + 0x4c]
mov dword [esi + 0x34], edx
mov eax, dword [esp + 0x50]
mov dword [esi + 0x38], eax
mov ecx, dword [esp + 0x54]
mov dword [esi + 0x3c], ecx
mov edx, dword [esp + 0x58]
mov dword [esi + 0x40], edx
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x38]
mov dword [esi + 0x44], eax
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 4]
pop esi
mov dword fs:[0], ecx
add esp, 0xc
ret 0x4c

Function at 0x480210
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b9668
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [esp + 0x20]
mov ebx, dword [edi + 8]
sub esp, 0x48
mov dword [esp + 0x60], 0
mov esi, esp
mov dword [esp + 0x54], esp
mov dword [esi], eax
mov ecx, dword [esp + 0x6c]
mov dword [esi + 4], ecx
mov eax, dword [esp + 0x70]
lea edx, [esi + 8]
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x74]
mov dword [edx + 4], ecx
mov eax, dword [esp + 0x78]
mov dword [edx + 8], eax
mov ecx, dword [esp + 0x7c]
mov dword [edx + 0xc], ecx
mov edx, dword [esp + 0x80]
lea ecx, [esp + 0x88]
mov dword [esi + 0x18], edx
mov eax, dword [esp + 0x84]
push ecx
lea ecx, [esi + 0x20]
mov dword [esi + 0x1c], eax
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esp + 0x8c]
push ebx
mov dword [esi + 0x24], edx
mov eax, dword [esp + 0x94]
mov dword [esi + 0x28], eax
mov ecx, dword [esp + 0x98]
mov dword [esi + 0x2c], ecx
mov edx, dword [esp + 0x9c]
mov dword [esi + 0x30], edx
mov eax, dword [esp + 0xa0]
mov dword [esi + 0x34], eax
mov ecx, dword [esp + 0xa4]
mov dword [esi + 0x38], ecx
mov edx, dword [esp + 0xa8]
mov dword [esi + 0x3c], edx
mov eax, dword [esp + 0xac]
mov dword [esi + 0x40], eax
mov ecx, dword [esp + 0xb0]
mov dword [esi + 0x44], ecx
mov ecx, edi
call fcn.004809d0
lea ecx, [esp + 0x40]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 0x48
Function at 0x481140
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b9773
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x4c0d88
mov dword [esi + 4], edi
lea ebx, [esi + 8]
mov dword [esp + 0x18], edi
mov ecx, ebx
call sub.MFC42.DLL_CPtrArray::CPtrArray
mov dword [ebx], 0x4c41fc
lea ebx, [esi + 0x1c]
mov byte [esp + 0x18], 1
mov ecx, ebx
call sub.MFC42.DLL_CPtrArray::CPtrArray
or eax, 0xffffffff
push 0x4e1a68
mov dword [ebx], 0x4c41c0
push edi
mov dword [esi], 0x4c41d4
mov dword [esi + 0x54], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x30], 0x10
mov dword [esi + 0x34], 0xf
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x38], 0xc0c0c0
mov dword [esi + 0x3c], edi
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x58], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4832e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b998b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x4c4210
mov eax, dword [esi + 0x30]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], 1
je 0x483370
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x20]
mov ecx, edx
push ebx
sub eax, ecx
mov ecx, dword [esi + 0x28]
mov ebx, edi
sub ecx, ebx
mov ebx, dword [esi + 0x1c]
cmp esi, ebp
je 0x483337
mov ebp, dword [esi + 4]
push 0xcc0020
push edx
push edi
push ebp
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push edi
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x18]
pop ebx
test eax, eax
jne 0x483361
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x483376
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x483376
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
lea edi, [esi + 0x10]
mov dword [esp + 0x10], edi
mov dword [edi], 0x4bd504
mov ecx, edi
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, esi
mov dword [edi], 0x4bd4f0
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CDC::CDC
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x484820
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4b9bb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
xor eax, eax
push esi
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x4c23f0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], 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
mov esi, dword [esp + 0x30]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
mov ecx, esi
lea eax, [edi + 2]
push eax
lea eax, [esp + 0x1c]
push ebx
push eax
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 5]
mov ecx, esi
push eax
push ebx
call sub.MFC42.DLL_CDC::LineTo
lea ebp, [edi + 3]
lea eax, [ebx + 1]
push ebp
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 6]
mov ecx, esi
push eax
lea eax, [ebx + 1]
push eax
call sub.MFC42.DLL_CDC::LineTo
lea eax, [edi + 4]
lea ecx, [ebx + 2]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 7]
mov ecx, esi
push eax
lea eax, [ebx + 2]
push eax
call sub.MFC42.DLL_CDC::LineTo
lea eax, [ebx + 3]
push ebp
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 6]
mov ecx, esi
push eax
lea eax, [ebx + 3]
push eax
call sub.MFC42.DLL_CDC::LineTo
lea eax, [edi + 2]
lea ecx, [ebx + 4]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 5]
mov ecx, esi
push eax
lea eax, [ebx + 4]
push eax
call sub.MFC42.DLL_CDC::LineTo
lea ecx, [edi + 1]
lea eax, [ebx + 5]
push ecx
lea edx, [esp + 0x1c]
push eax
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 4]
mov ecx, esi
push eax
lea eax, [ebx + 5]
push eax
call sub.MFC42.DLL_CDC::LineTo
add ebx, 6
push edi
lea eax, [esp + 0x1c]
push ebx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
push ebp
push ebx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x10], 0x4bd504
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x485850
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b9ce0
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 + 0x38]
mov eax, esi
mov ebp, ecx
push edi
xor edi, edi
mov ecx, dword [eax]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], 0x4c0468
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], edi
call fcn.004812a0
test eax, eax
je 0x4858ae
push 0xf
jmp 0x4858b0
push 4
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
call ebx
cmp dword [esp + 0x40], edi
jne 0x4858d1
push 0x3fe33333
push 0x33333333
push eax
call fcn.004821c0
add esp, 0xc
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CGdiObject::Attach
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [esp + 0x38]
push eax
lea eax, [esp + 0x1c]
mov ecx, dword [edi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::DeleteObject
call fcn.00481290
test eax, eax
je 0x485929
mov eax, dword [edi + 4]
push 0xf
lea edx, [esp + 0x1c]
push 2
push edx
push eax
call dword [sym.imp.USER32.dll_DrawEdge]
mov eax, dword [esp + 0x44]
push 7
test eax, eax
jne 0x48594d
call ebx
mov ecx, dword [esi + 4]
mov edx, dword [esi]
add ecx, 4
push eax
add edx, 4
push ecx
push edx
push edi
mov ecx, ebp
call fcn.00484820
jmp 0x485965
call ebx
mov ecx, dword [esi]
push eax
mov eax, dword [esi + 4]
add ecx, 5
add eax, 4
push eax
push ecx
push edi
mov ecx, ebp
call fcn.00484700
mov dword [esp + 0x10], 0x4bd504
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
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0x10

Function at 0x485e90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
and esi, 0xffff
push 2
push esi
call sub.MFC42.DLL_AfxFindResourceHandle
mov ebp, dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
push 2
push esi
push ebx
call ebp
mov edi, eax
test edi, edi
jne 0x485ecd
xor ebx, ebx
push 2
push esi
push ebx
call ebp
mov edi, eax
test edi, edi
jne 0x485ecd
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x485ede
pop edi
pop esi
pop ebp
pop ebx
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x485eee
pop edi
pop esi
pop ebp
pop ebx
ret
push eax
call fcn.00485e50
add esp, 4
cmp ax, 0x10
je 0x485f04
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push 0
push edi
push ebx
call sub.MFC42.DLL_AfxLoadSysColorBitmap
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x485f40
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x4e1aa0]
sub esp, 0x134
test eax, eax
jne 0x486015
lea eax, [esp]
mov dword [0x4e1aa0], 1
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftPlus_ThemesCurrent
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x486015
push esi
lea ecx, [esp + 0xc]
push edi
lea edx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push ecx
mov dword [esp + 0x28], 0x104
mov dword [esp + 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x486008
mov ecx, 5
mov esi, str.Windows_Classic.theme
lea edi, [esp + 0x14]
lea edx, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edx
call edi
mov esi, eax
lea eax, [esp + 0x14]
push eax
call edi
cmp esi, eax
jl 0x486008
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
call edi
sub esi, eax
lea eax, [esp + esi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x486008
mov dword [0x4e1a9c], 1
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, dword [0x4e1a9c]
add esp, 0x134
ret
Function at 0x48c130
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4ba133
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.00454da4
lea ebp, [esi + 0x10]
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [ebp + 4], ecx
mov dword [ebp], 0x4bd52c
mov ebx, dword [esp + 0x2c]
mov dword [esi], 0x4c44d8
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ecx
mov edi, dword [ebx + 0xc]
xor eax, eax
cmp edi, ecx
mov byte [esp + 0x24], 1
sete al
cmp eax, ecx
mov dword [esi + 0x30], eax
je 0x48c251
mov eax, dword [esp + 0x30]
lea edi, [esi + 0x20]
cmp eax, ecx
je 0x48c1a9
push eax
push edi
call dword [sym.imp.USER32.dll_CopyRect]
jmp 0x48c1b1
mov eax, dword [ebx]
push edi
mov ecx, ebx
call dword [eax + 0x58]
test ebx, ebx
jne 0x48c1b9
xor eax, eax
jmp 0x48c1bc
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::Attach
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov edx, dword [edi]
sub eax, ecx
mov ecx, dword [edi + 8]
push eax
sub ecx, edx
push ecx
mov ecx, dword [ebx + 4]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebp
call sub.MFC42.DLL_CGdiObject::Attach
test ebp, ebp
je 0x48c1f5
mov ebp, dword [ebp + 4]
mov edx, dword [esi + 4]
push ebp
push edx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov ecx, dword [edi]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x24]
lea edx, [esp + 0x14]
push eax
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::SetWindowOrg
mov eax, dword [esp + 0x34]
test eax, eax
je 0x48c263
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov ebx, dword [edi]
mov ebp, dword [esi + 0x1c]
mov edx, dword [esi + 0x24]
sub eax, ecx
mov ecx, dword [edi + 8]
sub ecx, ebx
test ebp, ebp
je 0x48c239
mov ebp, dword [ebp + 4]
push 0xcc0020
push edx
push ebx
push ebp
push eax
mov eax, dword [esi + 4]
push ecx
push edx
push ebx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x48c263
mov ecx, dword [ebx + 0xc]
mov dword [esi + 0xc], ecx
mov edx, dword [ebx + 4]
mov dword [esi + 4], edx
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
Function at 0x48c2a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ba15b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x4c44d8
mov eax, dword [esi + 0x30]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], 1
je 0x48c330
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x20]
mov ecx, edx
push ebx
sub eax, ecx
mov ecx, dword [esi + 0x28]
mov ebx, edi
sub ecx, ebx
mov ebx, dword [esi + 0x1c]
cmp esi, ebp
je 0x48c2f7
mov ebp, dword [esi + 4]
push 0xcc0020
push edx
push edi
push ebp
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push edi
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x18]
pop ebx
test eax, eax
jne 0x48c321
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x48c336
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x48c336
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
lea edi, [esi + 0x10]
mov dword [esp + 0x10], edi
mov dword [edi], 0x4bd504
mov ecx, edi
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, esi
mov dword [edi], 0x4bd4f0
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CDC::CDC
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x48cdf0
Capabilities:
Access peb ldr_data
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ba260
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x30c], ebx
je 0x48ce2d
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 4
mov eax, dword [esp + 0x40]
cmp eax, ebx
jne 0x48ce4b
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 4
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [eax]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
push ecx
push edx
push eax
lea ecx, [esi + 8]
mov dword [esp + 0x4c], ebx
call fcn.004ac620
test eax, eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
sete byte [esp + 0x40]
call sub.MFC42.DLL_CString::CString
cmp byte [esp + 0x40], bl
je 0x48cebc
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 4
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push str.temp.cur
call edi
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CFile::CFile
push ebx
push 0x1001
push str.temp.cur
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 1
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x48cf30
mov eax, dword [esp + 0xc]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x14]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 8
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xffffffff
call fcn.0045535c
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 4
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
push edx
push eax
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CFile::Close
mov ecx, dword [esp + 0xc]
push ecx
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x14]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 8
push str.temp.cur
call dword [sym.imp.USER32.dll_LoadCursorFromFileA]
push str.temp.cur
mov esi, eax
call edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xffffffff
call fcn.0045535c
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 4