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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5cd7b0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x628560]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], vtable.CPen.0
mov dword [esp + 0x48], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], vtable.CBrush.0
mov byte [esp + 0x48], 1
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 4]
push eax
call fcn.004dbd0c
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov ebp, eax
mov eax, dword [edi + 0x18]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x2c]
call fcn.004dc6a3
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [edi + 4]
call fcn.004dc77b
mov edx, dword [edi + 0x1c]
mov ecx, dword [edi + 0xa8]
mov dword [esp + 0x34], edx
mov ebx, eax
mov eax, dword [edi + 0xac]
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], ecx
call dword [sym.imp.GDI32.dll_CreateBrushIndirect]
push eax
lea ecx, [esp + 0x24]
call fcn.004dc6a3
lea esi, [esp + 0x20]
call fcn.00483fc0
mov ecx, dword [edi + 4]
mov eax, esi
push eax
call fcn.004dc77b
mov ecx, dword [edi + 0x10]
push ecx
mov ecx, dword [edi + 4]
mov esi, eax
call fcn.004dbcde
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x20]
push eax
call edx
mov ecx, dword [edi + 0x30]
mov edx, dword [edi + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x2c]
push ecx
push eax
mov eax, dword [edi + 0x28]
push eax
mov eax, dword [edi + 0x24]
push eax
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.GDI32.dll_Ellipse]
mov ecx, dword [edi + 4]
push esi
call fcn.004dc77b
mov ecx, dword [edi + 4]
push ebx
call fcn.004dc77b
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [edi + 4]
call fcn.004dbcde
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov eax, dword [esp + 0x1c]
mov edx, dword [edx + 0x2c]
push eax
call edx
mov ecx, dword [edi + 4]
push ebp
call fcn.004dbd0c
mov byte [esp + 0x48], 0
mov esi, vtable.CGdiObject.0
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], esi
call fcn.004dc6f6
mov dword [esp + 0x48], 0xffffffff
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], esi
call fcn.004dc6f6
xor eax, eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47fb10
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5cd970
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x628560]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], vtable.CPen.0
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], vtable.CBrush.0
mov byte [esp + 0x40], 1
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x24]
call fcn.004dc6a3
mov ecx, dword [edi + 4]
lea eax, [esp + 0x20]
push eax
call fcn.004dc77b
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0xac]
mov dword [esp + 0x2c], ecx
mov ebp, eax
mov eax, dword [edi + 0xa8]
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x2c], eax
call dword [sym.imp.GDI32.dll_CreateBrushIndirect]
push eax
lea ecx, [esp + 0x1c]
call fcn.004dc6a3
lea esi, [esp + 0x18]
call fcn.00483fc0
mov ecx, dword [edi + 4]
mov edx, esi
push edx
call fcn.004dc77b
mov ecx, dword [edi + 4]
mov esi, eax
mov eax, dword [edi + 0x10]
push eax
call fcn.004dbcde
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
mov ebx, eax
mov eax, dword [edi + 0x20]
push eax
call edx
mov ecx, dword [edi + 0x30]
mov edx, dword [edi + 4]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x2c]
push ecx
push eax
mov eax, dword [edi + 0x28]
push eax
mov eax, dword [edi + 0x24]
push eax
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.GDI32.dll_Ellipse]
mov ecx, dword [edi + 4]
push esi
call fcn.004dc77b
mov ecx, dword [edi + 4]
push ebp
call fcn.004dc77b
mov ecx, dword [edi + 4]
push ebx
call fcn.004dbcde
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov eax, dword [esp + 0x14]
mov edx, dword [edx + 0x2c]
push eax
call edx
mov ecx, dword [edi + 4]
push 0xa
call fcn.004dbd0c
mov byte [esp + 0x40], 0
mov esi, vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], esi
call fcn.004dc6f6
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], esi
call fcn.004dc6f6
mov eax, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4801b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5cd7b0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x628560]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], vtable.CPen.0
mov dword [esp + 0x48], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], vtable.CBrush.0
mov byte [esp + 0x48], 1
mov ecx, dword [edi + 4]
push 0xd
call fcn.004dbd0c
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov ebp, eax
mov eax, dword [edi + 0x18]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x2c]
call fcn.004dc6a3
mov ecx, dword [edi + 4]
lea eax, [esp + 0x28]
push eax
call fcn.004dc77b
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0xac]
mov dword [esp + 0x34], ecx
mov ebx, eax
mov eax, dword [edi + 0xa8]
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x34], eax
call dword [sym.imp.GDI32.dll_CreateBrushIndirect]
push eax
lea ecx, [esp + 0x24]
call fcn.004dc6a3
lea esi, [esp + 0x20]
call fcn.00483fc0
mov ecx, dword [edi + 4]
mov edx, esi
push edx
call fcn.004dc77b
mov ecx, dword [edi + 4]
mov esi, eax
mov eax, dword [edi + 0x10]
push eax
call fcn.004dbcde
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x20]
push eax
call edx
mov ecx, dword [edi + 0x30]
mov edx, dword [edi + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x1c]
push 0
push eax
mov eax, dword [edi + 0x2c]
push ecx
push eax
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.GDI32.dll_ExtFloodFill]
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x30]
mov edx, dword [edi + 4]
push 1
push eax
mov eax, dword [edi + 0x2c]
push ecx
mov ecx, dword [edx + 4]
push eax
push ecx
call dword [sym.imp.GDI32.dll_ExtFloodFill]
mov ecx, dword [edi + 4]
push esi
call fcn.004dc77b
mov ecx, dword [edi + 4]
push ebx
call fcn.004dc77b
mov edx, dword [esp + 0x18]
mov ecx, dword [edi + 4]
push edx
call fcn.004dbcde
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
mov edx, dword [esp + 0x1c]
mov eax, dword [eax + 0x2c]
push edx
call eax
mov ecx, dword [edi + 4]
push ebp
call fcn.004dbd0c
mov byte [esp + 0x48], 0
mov esi, vtable.CGdiObject.0
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], esi
call fcn.004dc6f6
mov dword [esp + 0x48], 0xffffffff
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], esi
call fcn.004dc6f6
xor eax, eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4808d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5cd778
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x628560]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], vtable.CPen.0
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x18]
call fcn.004dc6a3
mov ecx, dword [esi + 4]
lea eax, [esp + 0x14]
push eax
call fcn.004dc77b
mov ecx, dword [esi + 0x14]
push ecx
mov ecx, dword [esi + 4]
mov edi, eax
call fcn.004dbd0c
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
mov ebx, eax
mov eax, dword [esi + 0x20]
push eax
call edx
mov ecx, dword [esi + 4]
mov ebp, eax
mov eax, dword [esi + 0x10]
push eax
call fcn.004dbcde
mov edx, dword [esi + 0x28]
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 4]
push edx
push eax
lea edx, [esp + 0x24]
push edx
call fcn.004dc0e5
mov edx, dword [esi + 0x30]
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 4]
push edx
push eax
call fcn.004dbdd5
mov ecx, dword [esi + 4]
push edi
call fcn.004dc77b
mov ecx, dword [esi + 4]
push ebx
call fcn.004dbd0c
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 4]
push eax
call fcn.004dbcde
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
push ebp
call eax
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], vtable.CGdiObject.0
call fcn.004dc6f6
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4811f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5cd778
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x628560]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], vtable.CPen.0
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x18]
call fcn.004dc6a3
mov ecx, dword [esi + 4]
lea eax, [esp + 0x14]
push eax
call fcn.004dc77b
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
mov edi, eax
mov eax, dword [esi + 0x20]
push eax
call edx
mov ecx, dword [esi + 4]
mov ebx, eax
mov eax, dword [esi + 0x10]
push eax
call fcn.004dbcde
mov ecx, dword [esi + 4]
push 0xa
call fcn.004dbd0c
mov edx, dword [esi + 0x28]
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 4]
push edx
push eax
lea edx, [esp + 0x24]
push edx
call fcn.004dc0e5
mov eax, dword [esi + 0x2c]
cmp dword [esi + 0x24], eax
mov ecx, dword [esi + 0x30]
jne 0x4812a6
cmp dword [esi + 0x28], ecx
je 0x4812b2
mov edx, ecx
mov ecx, dword [esi + 4]
push edx
push eax
call fcn.004dbdd5
mov ecx, dword [esi + 4]
push edi
call fcn.004dc77b
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 4]
push eax
call fcn.004dbcde
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
push ebx
call eax
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], vtable.CGdiObject.0
call fcn.004dc6f6
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x481930
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5cd870
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x628560]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], vtable.CPen.0
mov dword [esp + 0x58], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], vtable.CBrush.0
mov byte [esp + 0x58], 1
mov ecx, dword [esi + 4]
push 0xd
call fcn.004dbd0c
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
mov ebp, eax
mov eax, dword [esi + 0x18]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x34]
call fcn.004dc6a3
mov ecx, dword [esi + 4]
lea eax, [esp + 0x30]
push eax
call fcn.004dc77b
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0xac]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0xa8]
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x44], eax
call dword [sym.imp.GDI32.dll_CreateBrushIndirect]
push eax
lea ecx, [esp + 0x2c]
call fcn.004dc6a3
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
push edx
call fcn.004dc77b
mov ecx, dword [esi + 4]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x10]
push eax
call fcn.004dbcde
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x20]
push eax
call edx
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x90]
cmp dword [eax + 8], ebx
jle 0x481b1d
mov eax, dword [eax + 4]
mov ecx, dword [eax]
mov dword [esi + 0x24], ecx
mov edx, dword [eax + 4]
mov ecx, dword [esi + 4]
mov dword [esi + 0x28], edx
mov edx, dword [eax]
mov eax, dword [eax + 4]
push eax
push edx
lea eax, [esp + 0x40]
push eax
call fcn.004dc0e5
mov ecx, dword [esi + 0x90]
mov edi, 1
cmp dword [ecx + 8], edi
jle 0x481a9a
nop
cmp edi, ebx
mov eax, dword [esi + 0x90]
jl 0x481b1d
cmp edi, dword [eax + 8]
jge 0x481b1d
mov edx, dword [eax + 4]
mov ecx, dword [esi + 4]
lea eax, [edx + edi*8]
mov edx, dword [eax]
mov eax, dword [eax + 4]
push eax
push edx
call fcn.004dbdd5
mov eax, dword [esi + 0x90]
add edi, 1
cmp edi, dword [eax + 8]
jl 0x481a60
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esi + 4]
call fcn.004dc77b
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi + 4]
push edx
call fcn.004dc77b
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 4]
push eax
call fcn.004dbcde
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov eax, dword [esp + 0x24]
mov edx, dword [edx + 0x2c]
push eax
call edx
mov ecx, dword [esi + 4]
push ebp
call fcn.004dbd0c
mov byte [esp + 0x58], bl
mov esi, vtable.CGdiObject.0
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], esi
call fcn.004dc6f6
mov dword [esp + 0x58], 0xffffffff
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], esi
call fcn.004dc6f6
mov eax, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
jmp fcn.004d66ad
Function at 0x481b30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d1620
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x628560]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], vtable.CPen.0
mov dword [esp + 0x48], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], vtable.CBrush.0
mov byte [esp + 0x48], 1
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x24]
call fcn.004dc6a3
mov ecx, dword [esi + 4]
lea eax, [esp + 0x20]
push eax
call fcn.004dc77b
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0xac]
mov dword [esp + 0x34], ecx
mov edi, eax
mov eax, dword [esi + 0xa8]
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x34], eax
call dword [sym.imp.GDI32.dll_CreateBrushIndirect]
push eax
lea ecx, [esp + 0x1c]
call fcn.004dc6a3
mov ecx, dword [esi + 4]
lea edx, [esp + 0x18]
push edx
call fcn.004dc77b
mov ecx, dword [esi + 4]
mov ebx, eax
mov eax, dword [esi + 0x10]
push eax
call fcn.004dbcde
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x20]
push eax
call edx
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x90]
mov ecx, dword [eax + 8]
add ecx, 0xffffffff
js 0x481cc2
cmp ecx, dword [eax + 8]
jge 0x481cc2
mov eax, dword [eax + 4]
mov edx, dword [eax + ecx*8]
lea eax, [eax + ecx*8]
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push edx
lea edx, [esp + 0x30]
push edx
call fcn.004dc0e5
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov ecx, dword [esi + 4]
push eax
push edx
call fcn.004dbdd5
mov ecx, dword [esi + 4]
push ebx
call fcn.004dc77b
mov ecx, dword [esi + 4]
push edi
call fcn.004dc77b
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 4]
push eax
call fcn.004dbcde
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov eax, dword [esp + 0x14]
mov edx, dword [edx + 0x2c]
push eax
call edx
mov byte [esp + 0x48], 0
mov esi, vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], esi
call fcn.004dc6f6
mov dword [esp + 0x48], 0xffffffff
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], esi
call fcn.004dc6f6
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.004d66ad
int3
Function at 0x482a00
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5cd7b0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x628560]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], vtable.CPen.0
mov dword [esp + 0x48], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], vtable.CBrush.0
mov byte [esp + 0x48], 1
mov ecx, dword [edi + 4]
push 0xd
call fcn.004dbd0c
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov ebp, eax
mov eax, dword [edi + 0x18]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x2c]
call fcn.004dc6a3
mov ecx, dword [edi + 4]
lea eax, [esp + 0x28]
push eax
call fcn.004dc77b
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0xac]
mov dword [esp + 0x34], ecx
mov ebx, eax
mov eax, dword [edi + 0xa8]
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x34], eax
call dword [sym.imp.GDI32.dll_CreateBrushIndirect]
push eax
lea ecx, [esp + 0x24]
call fcn.004dc6a3
lea esi, [esp + 0x20]
call fcn.00483fc0
mov ecx, dword [edi + 4]
mov edx, esi
push edx
call fcn.004dc77b
mov ecx, dword [edi + 4]
mov esi, eax
mov eax, dword [edi + 0x10]
push eax
call fcn.004dbcde
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x20]
push eax
call edx
mov ecx, dword [edi + 0x30]
mov edx, dword [edi + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x2c]
push ecx
push eax
mov eax, dword [edi + 0x28]
push eax
mov eax, dword [edi + 0x24]
push eax
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.GDI32.dll_Rectangle]
mov ecx, dword [edi + 4]
push esi
call fcn.004dc77b
mov ecx, dword [edi + 4]
push ebx
call fcn.004dc77b
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [edi + 4]
call fcn.004dbcde
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov eax, dword [esp + 0x1c]
mov edx, dword [edx + 0x2c]
push eax
call edx
mov ecx, dword [edi + 4]
push ebp
call fcn.004dbd0c
mov byte [esp + 0x48], 0
mov esi, vtable.CGdiObject.0
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], esi
call fcn.004dc6f6
mov dword [esp + 0x48], 0xffffffff
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], esi
call fcn.004dc6f6
xor eax, eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4830c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5cd970
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x628560]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], vtable.CPen.0
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], vtable.CBrush.0
mov byte [esp + 0x40], 1
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x24]
call fcn.004dc6a3
mov ecx, dword [edi + 4]
lea eax, [esp + 0x20]
push eax
call fcn.004dc77b
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0xac]
mov dword [esp + 0x2c], ecx
mov ebp, eax
mov eax, dword [edi + 0xa8]
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x2c], eax
call dword [sym.imp.GDI32.dll_CreateBrushIndirect]
push eax
lea ecx, [esp + 0x1c]
call fcn.004dc6a3
lea esi, [esp + 0x18]
call fcn.00483fc0
mov ecx, dword [edi + 4]
mov edx, esi
push edx
call fcn.004dc77b
mov ecx, dword [edi + 4]
mov esi, eax
mov eax, dword [edi + 0x10]
push eax
call fcn.004dbcde
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
mov ebx, eax
mov eax, dword [edi + 0x20]
push eax
call edx
mov ecx, dword [edi + 0x30]
mov edx, dword [edi + 4]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x2c]
push ecx
push eax
mov eax, dword [edi + 0x28]
push eax
mov eax, dword [edi + 0x24]
push eax
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.GDI32.dll_Rectangle]
mov ecx, dword [edi + 4]
push esi
call fcn.004dc77b
mov ecx, dword [edi + 4]
push ebp
call fcn.004dc77b
mov ecx, dword [edi + 4]
push ebx
call fcn.004dbcde
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov eax, dword [esp + 0x14]
mov edx, dword [edx + 0x2c]
push eax
call edx
mov ecx, dword [edi + 4]
push 7
call fcn.004dbd0c
mov byte [esp + 0x40], 0
mov esi, vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], esi
call fcn.004dc6f6
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], esi
call fcn.004dc6f6
mov eax, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 8