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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5bdec0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x617560]
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.004cd130
mov ecx, dword [edi + 4]
lea eax, [esp + 0x20]
push eax
call fcn.004cd208
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.004cd130
lea esi, [esp + 0x18]
call fcn.00475a30
mov ecx, dword [edi + 4]
mov edx, esi
push edx
call fcn.004cd208
mov ecx, dword [edi + 4]
mov esi, eax
mov eax, dword [edi + 0x10]
push eax
call fcn.004cc76b
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.004cd208
mov ecx, dword [edi + 4]
push ebp
call fcn.004cd208
mov ecx, dword [edi + 4]
push ebx
call fcn.004cc76b
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.004cc799
mov byte [esp + 0x40], 0
mov esi, vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], esi
call fcn.004cd183
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], esi
call fcn.004cd183
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 0x472020
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5bdef0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x617560]
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.004cc799
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.004cd130
mov ecx, dword [edi + 4]
lea eax, [esp + 0x28]
push eax
call fcn.004cd208
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.004cd130
lea esi, [esp + 0x20]
call fcn.00475a30
mov ecx, dword [edi + 4]
mov edx, esi
push edx
call fcn.004cd208
mov ecx, dword [edi + 4]
mov esi, eax
mov eax, dword [edi + 0x10]
push eax
call fcn.004cc76b
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.004cd208
mov ecx, dword [edi + 4]
push ebx
call fcn.004cd208
mov edx, dword [esp + 0x18]
mov ecx, dword [edi + 4]
push edx
call fcn.004cc76b
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.004cc799
mov byte [esp + 0x48], 0
mov esi, vtable.CGdiObject.0
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], esi
call fcn.004cd183
mov dword [esp + 0x48], 0xffffffff
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], esi
call fcn.004cd183
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 0x472640
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5bdfd8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x617560]
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.004cd130
mov ecx, dword [esi + 4]
lea eax, [esp + 0x14]
push eax
call fcn.004cd208
mov ecx, dword [esi + 0x14]
push ecx
mov ecx, dword [esi + 4]
mov edi, eax
call fcn.004cc799
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.004cc76b
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.004ccb72
mov edx, dword [esi + 0x30]
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 4]
push edx
push eax
call fcn.004cc862
mov ecx, dword [esi + 4]
push edi
call fcn.004cd208
mov ecx, dword [esi + 4]
push ebx
call fcn.004cc799
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 4]
push eax
call fcn.004cc76b
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.004cd183
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 0x472ef0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5bdfd8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x617560]
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.004cd130
mov ecx, dword [esi + 4]
lea eax, [esp + 0x14]
push eax
call fcn.004cd208
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.004cc76b
mov ecx, dword [esi + 4]
push 0xa
call fcn.004cc799
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.004ccb72
mov eax, dword [esi + 0x2c]
cmp dword [esi + 0x24], eax
mov ecx, dword [esi + 0x30]
jne 0x472fa6
cmp dword [esi + 0x28], ecx
je 0x472fb2
mov edx, ecx
mov ecx, dword [esi + 4]
push edx
push eax
call fcn.004cc862
mov ecx, dword [esi + 4]
push edi
call fcn.004cd208
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 4]
push eax
call fcn.004cc76b
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.004cd183
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 0x473630
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5bdf80
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x617560]
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.004cc799
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.004cd130
mov ecx, dword [esi + 4]
lea eax, [esp + 0x30]
push eax
call fcn.004cd208
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.004cd130
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
push edx
call fcn.004cd208
mov ecx, dword [esi + 4]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x10]
push eax
call fcn.004cc76b
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 0x47381d
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.004ccb72
mov ecx, dword [esi + 0x90]
mov edi, 1
cmp dword [ecx + 8], edi
jle 0x47379a
nop
cmp edi, ebx
mov eax, dword [esi + 0x90]
jl 0x47381d
cmp edi, dword [eax + 8]
jge 0x47381d
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.004cc862
mov eax, dword [esi + 0x90]
add edi, 1
cmp edi, dword [eax + 8]
jl 0x473760
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esi + 4]
call fcn.004cd208
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi + 4]
push edx
call fcn.004cd208
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 4]
push eax
call fcn.004cc76b
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.004cc799
mov byte [esp + 0x58], bl
mov esi, vtable.CGdiObject.0
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], esi
call fcn.004cd183
mov dword [esp + 0x58], 0xffffffff
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], esi
call fcn.004cd183
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.004c700e
Function at 0x473830
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5c1a50
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x617560]
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.004cd130
mov ecx, dword [esi + 4]
lea eax, [esp + 0x20]
push eax
call fcn.004cd208
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.004cd130
mov ecx, dword [esi + 4]
lea edx, [esp + 0x18]
push edx
call fcn.004cd208
mov ecx, dword [esi + 4]
mov ebx, eax
mov eax, dword [esi + 0x10]
push eax
call fcn.004cc76b
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 0x4739c2
cmp ecx, dword [eax + 8]
jge 0x4739c2
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.004ccb72
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov ecx, dword [esi + 4]
push eax
push edx
call fcn.004cc862
mov ecx, dword [esi + 4]
push ebx
call fcn.004cd208
mov ecx, dword [esi + 4]
push edi
call fcn.004cd208
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 4]
push eax
call fcn.004cc76b
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.004cd183
mov dword [esp + 0x48], 0xffffffff
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], esi
call fcn.004cd183
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.004c700e
int3
Function at 0x474700
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5bdef0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x617560]
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.004cc799
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.004cd130
mov ecx, dword [edi + 4]
lea eax, [esp + 0x28]
push eax
call fcn.004cd208
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.004cd130
lea esi, [esp + 0x20]
call fcn.00475a30
mov ecx, dword [edi + 4]
mov edx, esi
push edx
call fcn.004cd208
mov ecx, dword [edi + 4]
mov esi, eax
mov eax, dword [edi + 0x10]
push eax
call fcn.004cc76b
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.004cd208
mov ecx, dword [edi + 4]
push ebx
call fcn.004cd208
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [edi + 4]
call fcn.004cc76b
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.004cc799
mov byte [esp + 0x48], 0
mov esi, vtable.CGdiObject.0
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], esi
call fcn.004cd183
mov dword [esp + 0x48], 0xffffffff
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], esi
call fcn.004cd183
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 0x474b50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5bdec0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x617560]
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.004cd130
mov ecx, dword [edi + 4]
lea eax, [esp + 0x20]
push eax
call fcn.004cd208
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.004cd130
lea esi, [esp + 0x18]
call fcn.00475a30
mov ecx, dword [edi + 4]
mov edx, esi
push edx
call fcn.004cd208
mov ecx, dword [edi + 4]
mov esi, eax
mov eax, dword [edi + 0x10]
push eax
call fcn.004cc76b
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.004cd208
mov ecx, dword [edi + 4]
push ebp
call fcn.004cd208
mov ecx, dword [edi + 4]
push ebx
call fcn.004cc76b
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.004cc799
mov byte [esp + 0x40], 0
mov esi, vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], esi
call fcn.004cd183
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], esi
call fcn.004cd183
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 0x475290
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5bce9d
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x617560]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esi], vtable.CUnit1.0
xor edi, edi
mov dword [esi + 0x94], vtable.CArray_class_CPoint__class_CPoint_.0
mov dword [esi + 0x98], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0x9c], edi
mov dword [esp + 0x14], edi
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], eax
mov eax, 0xff00
push 0x14
mov dword [esi + 0x10], 2
mov dword [esi + 0x8c], edi
mov dword [esi + 0x28], ecx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], 5
mov dword [esi + 0xc], 1
mov dword [esi + 0x20], 0x10101
mov dword [esi + 8], edi
mov dword [esi + 0x14], 0xa
mov dword [esi + 0xc8], edi
mov dword [esi + 0x100], edi
mov dword [esi + 0x104], edi
call fcn.004c495b
add esp, 4
cmp eax, edi
je 0x47536e
mov dword [eax], vtable.CArray_class_CPoint__class_CPoint_.0
mov dword [eax + 4], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0xc], edi
mov dword [eax + 8], edi
mov dword [esi + 0x90], eax
jmp 0x475374
mov dword [esi + 0x90], edi
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x475780
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5bdfd8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x617560]
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
push 0xff0000
push 1
push eax
mov dword [esp + 0x3c], eax
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x18]
call fcn.004cd130
mov ecx, dword [esi + 4]
lea eax, [esp + 0x14]
push eax
call fcn.004cd208
mov ecx, dword [esi + 4]
push 0xa
mov edi, eax
call fcn.004cc799
mov ecx, dword [esi + 4]
push 2
mov ebx, eax
call fcn.004cc76b
mov edx, dword [ebp + 0xc]
mov ecx, dword [esi + 4]
push edx
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
push eax
lea edx, [esp + 0x24]
push edx
call fcn.004ccb72
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push eax
push ecx
mov ecx, dword [esi + 4]
call fcn.004cc862
mov ecx, dword [esi + 4]
push edi
call fcn.004cd208
mov ecx, dword [esi + 4]
push ebx
call fcn.004cc799
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 4]
push edx
call fcn.004cc76b
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], vtable.CGdiObject.0
call fcn.004cd183
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10