Function at 0x4035e0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Check os version
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x429c38
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x435df8]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x4c]
call fcn.0040e797
xor ebx, ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], vtable.CBitmap.0
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x90]
push eax
push ecx
push edx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x5c]
push ecx
mov ecx, esi
mov byte [esp + 0x9c], 1
call fcn.00401770
lea edx, [esp + 0x4c]
mov ecx, esi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
call fcn.0040d48e
mov esi, eax
shr esi, 0x1b
mov eax, vtable.CPen.0
and esi, 1
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
mov edi, dword [sym.imp.GDI32.dll_CreatePen]
mov eax, esi
neg eax
sbb eax, eax
and eax, 0x808080
push eax
push 1
push ebx
mov byte [esp + 0x94], 6
call edi
push eax
lea ecx, [esp + 0x38]
call fcn.0040ee21
push 0xffffff
push 1
push ebx
call edi
push eax
lea ecx, [esp + 0x30]
call fcn.0040ee21
neg esi
sbb esi, esi
and esi, 0xbfc0c1
add esi, 0xffff
push esi
push 1
push ebx
call edi
push eax
lea ecx, [esp + 0x28]
call fcn.0040ee21
push 0x808080
push 1
push ebx
call edi
push eax
lea ecx, [esp + 0x20]
call fcn.0040ee21
push 0xc0c0c0
push 1
push ebx
call edi
push eax
lea ecx, [esp + 0x18]
call fcn.0040ee21
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x50]
call fcn.0040ef0c
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x60], ecx
add eax, 4
add ecx, 0xf
push eax
push ecx
lea edx, [esp + 0x4c]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x64]
push edx
mov dword [esp + 0x70], eax
call fcn.0040ea76
push 9
push ebx
lea ecx, [esp + 0x64]
call fcn.00401420
push ebx
push 0xfffffffffffffff4
lea ecx, [esp + 0x64]
call fcn.00401420
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
dec ecx
add eax, 0xb
push ecx
push eax
mov dword [esp + 0x68], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x64]
push eax
call fcn.0040ea76
push 0xfffffffffffffffb
push 0xfffffffffffffffe
lea ecx, [esp + 0x64]
call fcn.00401420
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x50]
call fcn.0040ef0c
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x60], ecx
add eax, 0xc
add ecx, 3
push eax
push ecx
lea edx, [esp + 0x4c]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x64]
push edx
mov dword [esp + 0x70], eax
call fcn.0040ea76
push 0xfffffffffffffffb
push 0xfffffffffffffffe
lea ecx, [esp + 0x64]
call fcn.00401420
push ebx
push 9
lea ecx, [esp + 0x64]
call fcn.00401420
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x50]
call fcn.0040ef0c
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x60], ecx
add ecx, 0xd
add eax, 0xb
push eax
push ecx
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x70], eax
call fcn.0040ea76
push 1
push ebx
lea ecx, [esp + 0x64]
call fcn.00401420
push ebx
push 0xfffffffffffffff5
lea ecx, [esp + 0x64]
call fcn.00401420
push 0xfffffffffffffffb
push 0xfffffffffffffffe
lea ecx, [esp + 0x64]
call fcn.00401420
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x64]
call fcn.00401420
push ebx
push 0xc
lea ecx, [esp + 0x64]
call fcn.00401420
push 1
push 0xffffffffffffffff
lea ecx, [esp + 0x64]
call fcn.00401420
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
inc ecx
push ecx
add eax, 2
push eax
lea edx, [esp + 0x4c]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x64]
push edx
mov dword [esp + 0x6c], eax
call fcn.0040ea76
push 1
push 0xffffffffffffffff
lea ecx, [esp + 0x64]
call fcn.00401420
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x50]
call fcn.0040ef0c
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x60], ecx
add ecx, 2
add eax, 8
push eax
push ecx
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x70], eax
call fcn.0040ea76
push 3
push 3
lea ecx, [esp + 0x64]
call fcn.00401420
mov esi, dword [sym.imp.GDI32.dll_GetCurrentObject]
mov edi, dword [sym.imp.GDI32.dll_GetObjectA]
mov ebp, dword [sym.imp.GDI32.dll_SetPixel]
mov dword [esp + 0x94], ebx
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x94]
add eax, 8
mov dword [esp + 0x60], ecx
lea ecx, [ecx + edx*2 + 2]
push eax
mov dword [esp + 0x68], eax
push ecx
lea eax, [esp + 0x4c]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x64]
push eax
call fcn.0040ea76
cmp dword [esp + 0x94], 4
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
jne 0x403980
add ecx, 2
add eax, 2
push ecx
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x60]
push eax
mov dword [esp + 0x68], eax
call fcn.0040e6e5
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 8]
push 1
push edx
jmp 0x4039a3
add ecx, 3
add eax, 3
push ecx
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x60]
push eax
mov dword [esp + 0x68], eax
call fcn.0040e6e5
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + 8]
push 1
push eax
call esi
push eax
call fcn.0040ee0d
mov edx, dword [eax + 4]
lea ecx, [esp + 0x68]
push ecx
push 0x10
push edx
call edi
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [eax + 4]
push edx
push ecx
call ebp
mov eax, dword [esp + 0x94]
inc eax
cmp eax, 5
mov dword [esp + 0x94], eax
jl 0x403917
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x50]
call fcn.0040ef0c
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
add eax, 0xa
mov dword [esp + 0x60], ecx
add ecx, 3
push eax
mov dword [esp + 0x68], eax
push ecx
lea eax, [esp + 0x4c]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x64]
push eax
call fcn.0040ea76
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
inc ecx
inc eax
push ecx
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x60]
push eax
mov dword [esp + 0x68], eax
call fcn.0040e6e5
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 8]
push 1
push edx
call esi
push eax
call fcn.0040ee0d
mov edx, dword [eax + 4]
lea ecx, [esp + 0x68]
push ecx
push 0x10
push edx
call edi
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [eax + 4]
push edx
push ecx
call ebp
mov dword [esp + 0x94], ebx
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x94]
add eax, 8
mov dword [esp + 0x60], ecx
lea ecx, [ecx + edx*2 + 3]
push eax
mov dword [esp + 0x68], eax
push ecx
lea eax, [esp + 0x4c]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x64]
push eax
call fcn.0040ea76
cmp dword [esp + 0x94], 4
mov ecx, dword [esp + 0x64]
jne 0x403ac5
mov edx, dword [esp + 0x60]
push ecx
push edx
jmp 0x403ad9
mov eax, dword [esp + 0x60]
add eax, 3
add ecx, 3
push ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
push eax
mov ecx, dword [esp + 0x64]
call fcn.0040e6e5
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 8]
push 1
push ecx
call esi
push eax
call fcn.0040ee0d
mov eax, dword [eax + 4]
lea edx, [esp + 0x68]
push edx
push 0x10
push eax
call edi
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [ecx + 4]
push eax
push edx
call ebp
mov eax, dword [esp + 0x94]
inc eax
cmp eax, 5
mov dword [esp + 0x94], eax
jl 0x403a7d
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x50]
call fcn.0040ef0c
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x60], ecx
inc ecx
add eax, 5
push eax
push ecx
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x70], eax
call fcn.0040ea76
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
sub eax, 2
push eax
push edx
mov dword [esp + 0x6c], eax
call fcn.0040e6e5
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 8]
push 1
push ecx
call esi
push eax
call fcn.0040ee0d
mov eax, dword [eax + 4]
lea edx, [esp + 0x68]
push edx
push 0x10
push eax
call edi
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [ecx + 4]
push eax
push edx
call ebp
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
sub ecx, 2
add eax, 2
push ecx
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x60]
push eax
mov dword [esp + 0x68], eax
call fcn.0040e6e5
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 8]
push 1
push ecx
call esi
push eax
call fcn.0040ee0d
mov eax, dword [eax + 4]
lea edx, [esp + 0x68]
push edx
push 0x10
push eax
call edi
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [ecx + 4]
push eax
push edx
call ebp
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
add eax, 4
push ecx
mov ecx, dword [esp + 0x60]
push eax
mov dword [esp + 0x68], eax
call fcn.0040e6e5
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + 8]
push 1
push eax
call esi
push eax
call fcn.0040ee0d
mov edx, dword [eax + 4]
lea ecx, [esp + 0x68]
push ecx
push 0x10
push edx
call edi
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [eax + 4]
push edx
push ecx
call ebp
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
add ecx, 2
add eax, 2
push ecx
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x60]
push eax
mov dword [esp + 0x68], eax
call fcn.0040e6e5
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + 8]
push 1
push eax
call esi
push eax
call fcn.0040ee0d
mov edx, dword [eax + 4]
lea ecx, [esp + 0x68]
push ecx
push 0x10
push edx
call edi
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [eax + 4]
push edx
push ecx
call ebp
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x5c]
add eax, 5
push edx
push eax
mov dword [esp + 0x68], eax
call fcn.0040e6e5
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 8]
push 1
push ecx
call esi
push eax
call fcn.0040ee0d
lea edx, [esp + 0x68]
push edx
mov eax, dword [eax + 4]
push 0x10
push eax
call edi
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [ecx + 4]
push eax
push edx
call ebp
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x5c]
add eax, 7
push eax
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x64]
push eax
call fcn.0040e6e5
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 8]
push 1
push edx
call esi
push eax
call fcn.0040ee0d
mov edx, dword [eax + 4]
lea ecx, [esp + 0x68]
push ecx
push 0x10
push edx
call edi
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [eax + 4]
push edx
push ecx
call ebp
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x50]
call fcn.0040ef0c
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
add eax, 5
mov dword [esp + 0x60], ecx
add ecx, 2
push eax
mov dword [esp + 0x68], eax
push ecx
lea eax, [esp + 0x4c]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x64]
push eax
call fcn.0040ea76
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
sub eax, 2
push eax
push ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x6c], eax
call fcn.0040e6e5
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + 8]
push 1
push eax
call esi
push eax
call fcn.0040ee0d
mov edx, dword [eax + 4]
lea ecx, [esp + 0x68]
push ecx
push 0x10
push edx
call edi
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [eax + 4]
push edx
push ecx
call ebp
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
dec ecx
inc eax
push ecx
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x60]
push eax
mov dword [esp + 0x68], eax
call fcn.0040e6e5
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + 8]
push 1
push eax
call esi
push eax
call fcn.0040ee0d
mov edx, dword [eax + 4]
lea ecx, [esp + 0x68]
push ecx
push 0x10
push edx
call edi
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [eax + 4]
push edx
push ecx
call ebp
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x5c]
add eax, 4
push edx
push eax
mov dword [esp + 0x68], eax
call fcn.0040e6e5
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 8]
push 1
push ecx
call esi
push eax
call fcn.0040ee0d
mov eax, dword [eax + 4]
lea edx, [esp + 0x68]
push edx
push 0x10
push eax
call edi
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [ecx + 4]
push eax
push edx
call ebp
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
add eax, 2
mov dword [esp + 0x60], eax
add ecx, 2
push ecx
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x60]
push eax
call fcn.0040e6e5
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 8]
push 1
push ecx
call esi
push eax
call fcn.0040ee0d
mov eax, dword [eax + 4]
lea edx, [esp + 0x68]
push edx
push 0x10
push eax
call edi
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [ecx + 4]
push eax
push edx
call ebp
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
add eax, 4
push ecx
mov ecx, dword [esp + 0x60]
push eax
mov dword [esp + 0x68], eax
call fcn.0040e6e5
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + 8]
push 1
push eax
call esi
push eax
call fcn.0040ee0d
mov edx, dword [eax + 4]
lea ecx, [esp + 0x68]
push ecx
push 0x10
push edx
call edi
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [eax + 4]
push edx
push ecx
call ebp
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x50]
call fcn.0040ef0c
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
add eax, 5
mov dword [esp + 0x60], ecx
add ecx, 3
push eax
mov dword [esp + 0x68], eax
push ecx
lea eax, [esp + 0x4c]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x64]
push eax
call fcn.0040ea76
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x60]
push edx
call fcn.0040e6e5
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 8]
push 1
push ecx
call esi
push eax
call fcn.0040ee0d
mov eax, dword [eax + 4]
lea edx, [esp + 0x68]
push edx
push 0x10
push eax
call edi
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [ecx + 4]
push eax
push edx
call ebp
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
add eax, 3
mov dword [esp + 0x60], ecx
lea ecx, [ecx + ebx + 3]
push eax
mov dword [esp + 0x68], eax
push ecx
lea eax, [esp + 0x4c]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x64]
push eax
call fcn.0040ea76
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
add ecx, 2
add eax, 2
push ecx
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x60]
push eax
mov dword [esp + 0x68], eax
call fcn.0040e6e5
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 8]
push 1
push edx
call esi
push eax
call fcn.0040ee0d
mov edx, dword [eax + 4]
lea ecx, [esp + 0x68]
push ecx
push 0x10
push edx
call edi
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [eax + 4]
push edx
push ecx
call ebp
add ebx, 2
cmp ebx, 6
jl 0x403fc1
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x60], ecx
add eax, 5
add ecx, 0xb
push eax
push ecx
lea edx, [esp + 0x4c]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x64]
push edx
mov dword [esp + 0x70], eax
call fcn.0040ea76
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
push eax
push ecx
mov ecx, dword [esp + 0x64]
call fcn.0040e6e5
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + 8]
push 1
push eax
call esi
push eax
call fcn.0040ee0d
mov edx, dword [eax + 4]
lea ecx, [esp + 0x68]
push ecx
push 0x10
push edx
call edi
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [eax + 4]
push edx
push ecx
call ebp
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x5c]
add eax, 2
push edx
push eax
mov dword [esp + 0x68], eax
lea eax, [esp + 0x4c]
push eax
call fcn.0040ea76
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x60]
push edx
call fcn.0040e6e5
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 8]
push 1
push ecx
call esi
push eax
call fcn.0040ee0d
mov eax, dword [eax + 4]
lea edx, [esp + 0x68]
push edx
push 0x10
push eax
call edi
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [ecx + 4]
push eax
push edx
call ebp
mov eax, dword [esp + 0x64]
add eax, 2
push eax
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x64]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x68]
call fcn.0040ea76
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
push edx
push eax
call fcn.0040e6e5
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 8]
push 1
push edx
call esi
push eax
call fcn.0040ee0d
mov edx, dword [eax + 4]
lea ecx, [esp + 0x68]
push ecx
push 0x10
push edx
call edi
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [eax + 4]
push edx
push ecx
call ebp
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x50]
call fcn.0040ef0c
xor ebx, ebx
lea ebx, [ebx]
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
add eax, 5
mov dword [esp + 0x60], ecx
lea ecx, [ecx + ebx*2 + 4]
push eax
mov dword [esp + 0x68], eax
push ecx
lea eax, [esp + 0x4c]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x64]
push eax
call fcn.0040ea76
mov eax, dword [esp + 0x60]
test ebx, ebx
jne 0x404208
mov ecx, dword [esp + 0x64]
dec eax
dec ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
push ecx
mov ecx, dword [esp + 0x60]
push eax
call fcn.0040e6e5
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 8]
push 1
push edx
jmp 0x404244
cmp ebx, 3
jne 0x404214
mov edx, dword [esp + 0x64]
push edx
jmp 0x4041f2
mov ecx, dword [esp + 0x64]
cmp ebx, 4
jne 0x404221
inc eax
inc ecx
jmp 0x404227
sub eax, 2
sub ecx, 2
push ecx
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x60]
push eax
mov dword [esp + 0x68], eax
call fcn.0040e6e5
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + 8]
push 1
push eax
call esi
push eax
call fcn.0040ee0d
mov edx, dword [eax + 4]
lea ecx, [esp + 0x68]
push ecx
push 0x10
push edx
call edi
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [eax + 4]
push edx
push ecx
call ebp
inc ebx
cmp ebx, 5
jl 0x4041b0
mov ecx, dword [esp + 0x98]
mov edx, dword [ecx + 4]
mov eax, dword [ecx + 0xc]
mov esi, dword [ecx]
mov edi, dword [esp + 0x50]
mov ecx, dword [ecx + 8]
push 0xcc0020
push 0
push 0
push edi
sub eax, edx
push eax
sub ecx, esi
push ecx
push edx
mov edx, dword [esp + 0xac]
mov eax, dword [edx + 4]
push esi
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
lea ecx, [esp + 0x34]
call fcn.0040ee79
lea ecx, [esp + 0x2c]
call fcn.0040ee79
lea ecx, [esp + 0x24]
call fcn.0040ee79
lea ecx, [esp + 0x1c]
call fcn.0040ee79
lea ecx, [esp + 0x14]
call fcn.0040ee79
lea ecx, [esp + 0x3c]
call fcn.0040ee79
mov esi, vtable.CPen.0
lea ecx, [esp + 0x14]
mov byte [esp + 0x88], 5
mov dword [esp + 0x14], esi
call fcn.004028c0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x88], 4
mov dword [esp + 0x1c], esi
call fcn.004028c0
lea ecx, [esp + 0x24]
mov byte [esp + 0x88], 3
mov dword [esp + 0x24], esi
call fcn.004028c0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x88], 2
mov dword [esp + 0x2c], esi
call fcn.004028c0
lea ecx, [esp + 0x34]
mov byte [esp + 0x88], 1
mov dword [esp + 0x34], esi
call fcn.004028c0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x88], 0
mov dword [esp + 0x3c], vtable.CBitmap.0
call fcn.004028c0
lea ecx, [esp + 0x4c]
mov dword [esp + 0x88], 0xffffffff
call fcn.0040ec5d
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret 0xc