Function at 0x4b2ec0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a18ba
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xec
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx - 0x158]
push 0
push 0x5ffb50
push 0x5fd238
mov ecx, dword [eax + 0x10]
push 0
push 0x5ffb50
mov dword [esp + 0x30], ebx
mov edx, dword [ecx + ebx - 0x158]
lea ecx, [ecx + ebx - 0x158]
mov dword [esp + 0x2c], 0
call dword [edx + 4]
push eax
call fcn.0053ce5e
lea ecx, [eax + 0x12]
add esp, 0x14
mov dx, word [ecx]
mov word [esp + 0x14], dx
mov cl, byte [ecx + 2]
mov byte [esp + 0x16], cl
mov cl, dl
test cl, cl
jne 0x4b2ffd
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push esi
push edx
lea ecx, [ebx - 0x14c]
call fcn.004a4b00
test byte [ebp + 8], 1
je 0x4b3af3
lea eax, [esp + 0x94]
push 0x618d50
push eax
lea ecx, [ebx - 0x15c]
call fcn.004b1cb0
mov ecx, dword [0x618570]
push ecx
mov ecx, esi
call fcn.0057ab3c
push 0xa
mov ecx, esi
mov edi, eax
call fcn.0057ad00
mov edx, dword [esi + 4]
mov ebx, eax
push edx
call dword [sym.imp.GDI32.dll_BeginPath]
mov eax, dword [0x618d58]
mov ecx, 0x618d50
mov dword [esp + 0x18], eax
call fcn.004a79f0
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 4]
inc ecx
push ecx
push eax
push edx
call dword [sym.imp.GDI32.dll_Polyline]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_EndPath]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.GDI32.dll_StrokePath]
push ebx
mov ecx, esi
call fcn.0057ad00
push edi
mov ecx, esi
call fcn.0057ab3c
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea esi, [eax + 0x18]
mov ecx, 0xe
lea edi, [esp + 0xc0]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
test cl, 1
je 0x4b3a66
mov esi, dword [ebp + 0xc]
lea ecx, [ebx - 0x15c]
push esi
mov dword [esp + 0xb8], ecx
call fcn.004b3ce0
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
mov dword [esp + 0xb8], eax
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x34]
mov edx, dword [esi]
push 0
lea eax, [esp + 0x10]
push 0
push eax
mov ecx, esi
call dword [edx + 0x38]
push 0
lea ecx, [esp + 0x10]
push 0
push ecx
mov ecx, esi
call fcn.0057aef5
push 0xa
mov ecx, esi
call fcn.0057ad00
mov edx, dword [esi]
push 8
mov ecx, esi
call dword [edx + 0x24]
mov eax, dword [esi]
push 4
mov ecx, esi
call dword [eax + 0x24]
mov edi, 0x618df8
mov ebx, 0x618db0
fld qword [edi + 8]
fadd qword [0x5af430]
sub esp, 8
fstp qword [esp]
call fcn.0053e2af
call fcn.0053e380
fld qword [edi]
fadd qword [0x5af430]
mov dword [esp + 0x3c], eax
fstp qword [esp]
call fcn.0053e2af
call fcn.0053e380
fld qword [edi + 8]
fadd qword [0x5af430]
mov dword [esp + 0xc4], eax
fstp qword [esp]
call fcn.0053e2af
call fcn.0053e380
fld qword [edi]
fadd qword [0x5af430]
mov dword [esp + 0x1c], eax
fstp qword [esp]
call fcn.0053e2af
add esp, 8
call fcn.0053e380
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xbc]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xa0], eax
mov eax, dword [0x5b8fa8]
mov dword [esp + 0x98], ecx
push eax
lea ecx, [esp + 0x98]
push eax
push ecx
mov dword [esp + 0xa8], edx
call dword [sym.imp.USER32.dll_InflateRect]
lea edx, [esp + 0x94]
mov ecx, 0x618d90
push edx
call fcn.004a7930
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x54], 0x5b367c
or ecx, 1
mov dword [esp + 0x90], vtable.CSerializable.0
mov dword [esp + 0x18], ecx
mov eax, dword [0x5b3680]
mov dword [esp + 0x100], 0
mov dword [esp + eax + 0x54], vtable.CMatrix_double_.0
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx + 4]
lea ecx, [esp + 0x54]
lea edx, [eax - 0x3c]
mov dword [esp + eax + 0x50], edx
call fcn.004bd050
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x100], 1
mov dword [esp + 0xc], eax
call fcn.004bd050
fld qword [esp + 0xc]
fsin
fld qword [esp + 0xc]
fcos
fst qword [esp + 0x5c]
fld st(1)
fchs
fstp qword [esp + 0x64]
fld qword [0x5b39c0]
fsub st(1)
fst qword [esp + 0x34]
fmul qword [edi]
fld st(2)
fmul qword [edi + 8]
faddp st(1)
fstp qword [esp + 0x6c]
fld st(1)
mov eax, dword [0x618d98]
mov dword [esp + 0x14], 0
fstp qword [esp + 0x74]
test eax, eax
fstp qword [esp + 0x7c]
fld qword [esp + 0x34]
fmul qword [edi + 8]
fxch st(1)
fmul qword [edi]
fsubp st(1)
fstp qword [esp + 0x84]
jle 0x4b3241
mov edx, dword [0x618da0]
mov eax, dword [esp + 0x14]
lea ecx, [edx + eax*8]
push ecx
lea ecx, [esp + 0x58]
call fcn.004bcea0
mov eax, dword [esp + 0x14]
mov ecx, dword [0x618d98]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x4b3217
mov ecx, 0x618d90
call fcn.004a79f0
mov edx, dword [esi + 4]
push 5
push eax
push edx
call dword [sym.imp.GDI32.dll_Polygon]
add ebx, 8
add edi, 0x10
cmp ebx, 0x618de8
mov dword [esp + 0x100], 0xffffffff
mov dword [esp + 0x90], vtable.CSerializable.0
jl 0x4b308c
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xac], 1
jbe 0x4b35fe
fld qword [0x618e70]
fadd qword [0x5af430]
sub esp, 8
fstp qword [esp]
call fcn.0053e2af
call fcn.0053e380
fld qword [0x618e68]
fadd qword [0x5af430]
mov edi, eax
fstp qword [esp]
call fcn.0053e2af
call fcn.0053e380
fld qword [0x618e70]
fadd qword [0x5af430]
mov ebx, eax
fstp qword [esp]
call fcn.0053e2af
call fcn.0053e380
fld qword [0x618e68]
fadd qword [0x5af430]
mov dword [esp + 0x24], eax
fstp qword [esp]
call fcn.0053e2af
add esp, 8
call fcn.0053e380
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x94], eax
mov eax, dword [0x5b8fa8]
mov dword [esp + 0x98], ecx
lea edx, [esp + 0x94]
mov dword [esp + 0x9c], ebx
lea ecx, [eax + 1]
mov dword [esp + 0xa0], edi
push ecx
push eax
push edx
call dword [sym.imp.USER32.dll_InflateRect]
push 0
lea eax, [esp + 0x98]
push 3
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea ecx, [esp + 0x94]
push ecx
mov ecx, 0x618d90
call fcn.004a7930
mov eax, dword [0x618da0]
mov edx, dword [0x5b8fa8]
inc edx
mov edi, dword [eax + 0xc]
add edi, edx
mov dword [eax + 0xc], edi
mov eax, dword [0x618da0]
lea ecx, [eax + 0x18]
mov edx, dword [eax + 0x18]
mov dword [eax + 0x10], edx
mov eax, dword [ecx + 4]
mov ecx, dword [0x618da0]
mov dword [ecx + 0x14], eax
mov eax, dword [0x618da0]
mov edx, dword [eax]
mov dword [eax + 0x18], edx
mov ecx, dword [eax + 4]
mov dword [eax + 0x1c], ecx
mov eax, dword [0x618da0]
mov ecx, dword [esp + 0x18]
fild dword [eax]
fstp qword [esp + 0x24]
fild dword [eax + 4]
mov eax, 2
mov dword [esp + 0x54], 0x5b367c
or ecx, eax
mov dword [esp + 0x90], vtable.CSerializable.0
fstp qword [esp + 0x2c]
mov dword [esp + 0x18], ecx
mov edx, dword [0x5b3680]
mov dword [esp + 0x100], eax
mov dword [esp + edx + 0x54], vtable.CMatrix_double_.0
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x3c]
mov dword [esp + eax + 0x50], ecx
lea ecx, [esp + 0x54]
call fcn.004bd050
fld qword [0x618de8]
fadd qword [0x5b8fe0]
lea ecx, [esp + 0x54]
mov dword [esp + 0x100], 3
fstp qword [esp + 0xc]
call fcn.004bd050
fld qword [esp + 0xc]
fsin
mov eax, dword [0x618d98]
xor edi, edi
test eax, eax
fld qword [esp + 0xc]
fcos
fst qword [esp + 0x5c]
fld st(1)
fchs
fstp qword [esp + 0x64]
fld qword [0x5b39c0]
fsub st(1)
fst qword [esp + 0xc]
fmul qword [0x618e68]
fld qword [0x618e70]
fmul st(3)
faddp st(1)
fstp qword [esp + 0x6c]
fld st(1)
fstp qword [esp + 0x74]
fstp qword [esp + 0x7c]
fld qword [0x618e70]
fmul qword [esp + 0xc]
fxch st(1)
fmul qword [0x618e68]
fsubp st(1)
fstp qword [esp + 0x84]
jle 0x4b34a6
mov edx, dword [0x618da0]
lea ecx, [esp + 0x54]
lea eax, [edx + edi*8]
push eax
call fcn.004bcea0
mov eax, dword [0x618d98]
inc edi
cmp edi, eax
jl 0x4b3489
mov ecx, 0x618d90
call fcn.004a79f0
mov ecx, dword [esi + 4]
push 4
push eax
push ecx
call dword [sym.imp.GDI32.dll_Polygon]
mov edx, dword [esi]
push 7
mov ecx, esi
call dword [edx + 0x24]
fld qword [esp + 0x24]
fsub qword [0x5b5548]
mov edx, dword [esp + 0x2c]
sub esp, 8
mov dword [esp + 0x44], edx
fstp qword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x40], ecx
mov ecx, dword [0x5b8fa8]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x38]
lea edx, [ecx + ecx + 2]
mov dword [esp + 0x48], eax
mov dword [esp + 0x24], edx
fild dword [esp + 0x24]
fadd qword [esp + 0x34]
fld qword [esp + 0x64]
fmul qword [esp + 0x2c]
fld qword [esp + 0x6c]
fmul qword [esp + 0x34]
faddp st(1)
fadd qword [esp + 0x74]
fstp qword [esp + 0x24]
fld qword [esp + 0x7c]
fmul qword [esp + 0x2c]
fld qword [esp + 0x84]
fmul qword [esp + 0x34]
faddp st(1)
fadd qword [esp + 0x8c]
fstp qword [esp + 0x34]
fld qword [esp + 0x6c]
fmul st(1)
fld qword [esp + 0x64]
fmul qword [esp + 0x3c]
faddp st(1)
fadd qword [esp + 0x74]
fstp qword [esp + 0x14]
fmul qword [esp + 0x84]
fld qword [esp + 0x7c]
fmul qword [esp + 0x3c]
faddp st(1)
fadd qword [esp + 0x8c]
fadd qword [0x5af430]
fstp qword [esp]
call fcn.0053e2af
call fcn.0053e380
fld qword [esp + 0x14]
fadd qword [0x5af430]
mov edi, eax
fstp qword [esp]
call fcn.0053e2af
add esp, 8
call fcn.0053e380
push edi
push eax
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
call fcn.0057b1f5
fld qword [esp + 0x2c]
fadd qword [0x5af430]
sub esp, 8
fstp qword [esp]
call fcn.0053e2af
call fcn.0053e380
fld qword [esp + 0x24]
fadd qword [0x5af430]
mov edi, eax
fstp qword [esp]
call fcn.0053e2af
add esp, 8
call fcn.0053e380
push edi
push eax
mov ecx, esi
call fcn.0057b241
mov dword [esp + 0x100], 0xffffffff
fld qword [0x618e80]
fadd qword [0x5af430]
sub esp, 8
fstp qword [esp]
call fcn.0053e2af
call fcn.0053e380
fld qword [0x618e78]
fadd qword [0x5af430]
mov edi, eax
fstp qword [esp]
call fcn.0053e2af
call fcn.0053e380
fld qword [0x618e80]
fadd qword [0x5af430]
mov ebx, eax
fstp qword [esp]
call fcn.0053e2af
call fcn.0053e380
fld qword [0x618e78]
fadd qword [0x5af430]
mov dword [esp + 0x24], eax
fstp qword [esp]
call fcn.0053e2af
add esp, 8
call fcn.0053e380
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x44], eax
mov eax, dword [0x5b8fa8]
lea edx, [esp + 0x44]
push eax
push eax
push edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], edi
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [0x61857c]
mov ecx, esi
push eax
call fcn.0057ab3c
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push ecx
lea eax, [esp + 0x10]
push edx
push eax
mov ecx, esi
call fcn.0057b1f5
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
push ecx
push edx
mov ecx, esi
call fcn.0057b241
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x44]
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0057b1f5
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
push eax
push ecx
mov ecx, esi
call fcn.0057b241
mov edx, dword [0x618570]
mov ecx, esi
push edx
call fcn.0057ab3c
fld qword [0x618d30]
fsub qword [0x618d40]
fld qword [0x618d38]
fsub qword [0x618d48]
fld st(1)
fmulp st(2)
fld st(0)
fmul st(1)
faddp st(2)
fxch st(1)
fsqrt
fxch st(1)
fstp st(0)
fld qword [0x618d00]
fsub qword [0x618d40]
fld qword [0x618d08]
fsub qword [0x618d48]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp st(2)
fstp st(0)
fld qword [0x618d40]
fsub st(1)
call fcn.0053e380
fld qword [0x618d48]
fsub st(1)
mov edi, eax
call fcn.0053e380
fld st(0)
fadd qword [0x618d40]
mov ebx, eax
call fcn.0053e380
fadd qword [0x618d48]
mov dword [esp + 0x9c], eax
call fcn.0053e380
fld qword [0x618d40]
fsub st(1)
mov dword [esp + 0xa0], eax
call fcn.0053e380
fld qword [0x618d48]
fsub st(1)
mov dword [esp + 0x24], eax
call fcn.0053e380
fld st(0)
fadd qword [0x618d40]
mov dword [esp + 0x28], eax
call fcn.0053e380
fadd qword [0x618d48]
mov dword [esp + 0x2c], eax
call fcn.0053e380
fld qword [0x618d08]
fadd qword [0x5af430]
sub esp, 8
mov dword [esp + 0x38], eax
fstp qword [esp]
call fcn.0053e2af
call fcn.0053e380
fld qword [0x618d00]
fadd qword [0x5af430]
mov dword [esp + 0x24], eax
fstp qword [esp]
call fcn.0053e2af
call fcn.0053e380
fld qword [0x618d18]
fadd qword [0x5af430]
mov dword [esp + 0x14], eax
fstp qword [esp]
call fcn.0053e2af
call fcn.0053e380
fld qword [0x618d10]
fadd qword [0x5af430]
mov dword [esp + 0x3c], eax
fstp qword [esp]
call fcn.0053e2af
add esp, 8
call fcn.0053e380
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0xa8]
push ecx
push eax
mov eax, dword [esp + 0xac]
push edx
mov ecx, dword [esi + 4]
push eax
push ebx
push edi
mov edi, dword [sym.imp.GDI32.dll_Arc]
push ecx
call edi
fld qword [0x618d38]
fadd qword [0x5af430]
sub esp, 8
fstp qword [esp]
call fcn.0053e2af
call fcn.0053e380
fld qword [0x618d30]
fadd qword [0x5af430]
mov ebx, eax
fstp qword [esp]
call fcn.0053e2af
call fcn.0053e380
fld qword [0x618d28]
fadd qword [0x5af430]
mov dword [esp + 0x14], eax
fstp qword [esp]
call fcn.0053e2af
call fcn.0053e380
fld qword [0x618d20]
fadd qword [0x5af430]
mov dword [esp + 0x24], eax
fstp qword [esp]
call fcn.0053e2af
add esp, 8
call fcn.0053e380
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
push ebx
push edx
mov edx, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esi + 4]
push ecx
push edx
push eax
call edi
fld qword [0x618d18]
fadd qword [0x5af430]
sub esp, 8
fstp qword [esp]
call fcn.0053e2af
call fcn.0053e380
fld qword [0x618d10]
fadd qword [0x5af430]
mov edi, eax
fstp qword [esp]
call fcn.0053e2af
add esp, 8
call fcn.0053e380
push edi
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.0057b1f5
fld qword [0x618d28]
fadd qword [0x5af430]
sub esp, 8
fstp qword [esp]
call fcn.0053e2af
call fcn.0053e380
fld qword [0x618d20]
fadd qword [0x5af430]
mov edi, eax
fstp qword [esp]
call fcn.0053e2af
add esp, 8
call fcn.0053e380
push edi
push eax
mov ecx, esi
call fcn.0057b241
fld qword [0x618d08]
fadd qword [0x5af430]
sub esp, 8
fstp qword [esp]
call fcn.0053e2af
call fcn.0053e380
fld qword [0x618d00]
fadd qword [0x5af430]
mov edi, eax
fstp qword [esp]
call fcn.0053e2af
add esp, 8
call fcn.0053e380
push edi
lea edx, [esp + 0x10]
push eax
push edx
mov ecx, esi
call fcn.0057b1f5
fld qword [0x618d38]
fadd qword [0x5af430]
sub esp, 8
fstp qword [esp]
call fcn.0053e2af
call fcn.0053e380
fld qword [0x618d30]
fadd qword [0x5af430]
mov edi, eax
fstp qword [esp]
call fcn.0053e2af
add esp, 8
call fcn.0053e380
push edi
push eax
mov ecx, esi
call fcn.0057b241
mov ecx, dword [esp + 0xb8]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x20]
mov ecx, dword [esp + 0xb4]
lea edx, [esp + 0xc0]
push edx
push esi
call fcn.004b3b10
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x618ec8]
cmp eax, 1
je 0x4b3ab8
cmp eax, 4
je 0x4b3ab8
cmp eax, 2
je 0x4b3a7f
cmp eax, 3
jne 0x4b3af3
mov al, byte [0x618c88]
test al, al
je 0x4b3af3
mov al, byte [0x6187a8]
test al, al
je 0x4b3af3
mov eax, dword [ebp + 0xc]
push eax
push ecx
lea ecx, [ebx - 0x14c]
call fcn.004a59e0
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp + 0xc]
lea ecx, [esp + 0xc0]
push ecx
push esi
lea ecx, [ebx - 0x15c]
call fcn.004b3b10
mov al, byte [0x6187a8]
test al, al
je 0x4b3af3
mov edx, dword [ebx - 0x158]
push esi
mov eax, dword [edx + 4]
mov edx, dword [eax + ebx - 0x158]
lea ecx, [eax + ebx - 0x158]
call dword [edx + 0xc]
mov ecx, dword [esp + 0xf8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8