Function at 0x4f9980
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59d1c8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
mov eax, dword [0x6336a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, edx
mov eax, dword [esp + 0x40]
push eax
push esi
mov ecx, edi
call fcn.0055ba58
push ebx
push 1
push 0
lea ecx, [esp + 0x2c]
call fcn.0055b9c1
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
mov dword [esp + 0x3c], 0
call fcn.0055b905
mov edx, dword [esi + 4]
mov eax, dword [esi]
push edx
add eax, 1
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
call fcn.0055b26f
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
push edx
sub eax, 1
push eax
mov ecx, edi
call fcn.0055af51
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
push ecx
sub edx, 1
push edx
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call fcn.0055b26f
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
sub ecx, 1
push ecx
sub edx, 1
push edx
mov ecx, edi
call fcn.0055af51
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
sub eax, 1
push eax
sub ecx, 1
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, edi
call fcn.0055b26f
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
sub eax, 1
push eax
push ecx
mov ecx, edi
call fcn.0055af51
mov edx, dword [esi + 0xc]
mov eax, dword [esi]
sub edx, 1
push edx
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, edi
call fcn.0055b26f
mov edx, dword [esi + 4]
mov eax, dword [esi]
push edx
push eax
mov ecx, edi
call fcn.0055af51
movzx ecx, bl
mov dword [esp + 0x10], ecx
movzx ebp, bh
shr ebx, 0x10
movzx ecx, bl
mov ebx, dword [esp + 0x44]
mov edx, ebx
shr edx, 0x10
movzx eax, dl
add eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x14], ecx
xor ecx, ecx
mov ch, al
movzx eax, bh
add eax, ebp
cdq
sub eax, edx
sar eax, 1
mov cl, al
movzx eax, bl
add eax, dword [esp + 0x10]
mov dword [esp + 0x18], ebp
cdq
sub eax, edx
sar eax, 1
movzx edx, al
shl ecx, 8
or ecx, edx
mov ebp, ecx
mov ecx, dword [esp + 0x40]
mov eax, ecx
shr eax, 0x10
movzx eax, al
add eax, dword [esp + 0x14]
xor ebx, ebx
cdq
sub eax, edx
sar eax, 1
mov bh, al
movzx eax, ch
add eax, dword [esp + 0x18]
push ebp
cdq
sub eax, edx
sar eax, 1
mov bl, al
movzx eax, cl
add eax, dword [esp + 0x14]
cdq
sub eax, edx
mov edx, dword [edi + 4]
sar eax, 1
movzx ecx, al
mov eax, dword [esi + 4]
shl ebx, 8
or ebx, ecx
mov ecx, dword [esi]
push eax
push ecx
mov dword [esp + 0x4c], ebx
mov ebx, dword [sym.imp.GDI32.dll_SetPixel]
push edx
call ebx
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
push ebp
sub eax, 1
push ecx
push eax
mov eax, dword [edi + 4]
push eax
call ebx
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
sub eax, 1
push ebp
sub ecx, 1
push eax
push ecx
mov ecx, dword [edi + 4]
push ecx
call ebx
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
mov edx, dword [edi + 4]
push ebp
sub eax, 1
push eax
push ecx
push edx
call ebx
mov eax, dword [esi + 4]
mov ebp, dword [esp + 0x40]
mov ecx, dword [esi]
push ebp
add eax, 1
push eax
mov eax, dword [edi + 4]
add ecx, 1
push ecx
push eax
call ebx
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
push ebp
add eax, 1
sub ecx, 2
push eax
push ecx
mov ecx, dword [edi + 4]
push ecx
call ebx
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov edx, dword [edi + 4]
push ebp
sub eax, 2
push eax
sub ecx, 2
push ecx
push edx
call ebx
mov eax, dword [esi + 0xc]
mov esi, dword [esi]
push ebp
sub eax, 2
push eax
mov eax, dword [edi + 4]
add esi, 1
push esi
push eax
call ebx
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], vtable.CGdiObject.0
call fcn.0055b880
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret