Function at 0x45e7e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4c0d03
push eax
mov eax, dword [esp + 0x1c]
mov dword fs:[0], esp
sub esp, 0xe8
push ebx
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push edi
je 0x45ef84
cmp eax, 1
je 0x45e825
cmp eax, 2
je 0x45e825
mov ebx, 1
mov dword [esp + 0x118], ebx
jmp 0x45e82c
mov ebx, dword [esp + 0x118]
push ebp
push ebp
push ebp
push ebp
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov esi, dword [esp + 0x108]
mov dword [esp + 0x28], eax
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_GetClipRgn]
dec eax
mov dword [esp + 0x50], ebp
neg eax
sbb eax, eax
mov dword [esp + 0x4c], 0x4e59d0
inc eax
mov dword [esp + 0x5c], eax
mov eax, 0x55555556
mov dword [esp + 0x100], ebp
imul ebx
mov ecx, edx
mov edi, 0xa
shr ecx, 0x1f
add edx, ecx
mov ecx, edx
cmp ecx, 0xa
jl 0x45e885
mov edi, ecx
cmp ecx, 3
jge 0x45e88f
mov ecx, 3
mov eax, ebx
mov dword [esp + 0x14], ebp
cdq
sub eax, edx
mov edx, dword [esp + 0x124]
sar eax, 1
dec edx
imul edx, ecx
add edx, eax
add edx, edi
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x120]
dec edx
imul edx, ecx
add edx, edi
lea edx, [ebx + edx*2]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x130]
dec edx
imul edx, ecx
add edx, eax
mov eax, dword [esp + 0x12c]
add edx, edi
dec eax
imul eax, ecx
add eax, edi
mov dword [esp + 0x60], edx
lea ecx, [ebx + eax*2]
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x14]
xor edx, edx
test eax, eax
jne 0x45e91e
mov eax, dword [esp + 0x10c]
mov ebx, dword [esp + 0x11c]
mov ebp, dword [esp + 0x7c]
mov edi, dword [esp + 0x64]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0x20], ecx
jmp 0x45e948
mov eax, dword [esp + 0x110]
mov ebx, dword [esp + 0x128]
mov ebp, dword [esp + 0x6c]
mov edi, dword [esp + 0x60]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
test ebx, ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
je 0x45ebe6
cmp ebx, 5
jg 0x45ead2
lea ecx, [esp + 0x54]
lea edx, [esp + 0x18]
push ecx
push 0
push 0
push 0
push ebp
lea eax, [esp + 0x34]
push edx
push eax
call fcn.0045ddd0
push 0
lea ecx, [esp + 0x5c]
push 0
lea edx, [esp + 0x50]
push ecx
push edx
lea eax, [esp + 0x80]
push edi
lea ecx, [esp + 0x50]
push eax
push ecx
call fcn.0045ddd0
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
add esp, 0x38
cmp ebx, 4
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x10], 3
je 0x45e9c7
cmp ebx, 5
jne 0x45e9f8
mov eax, ebp
lea ecx, [esp + 0x44]
cdq
and edx, 3
push 0
add eax, edx
push ecx
push 0
push 0
sar eax, 2
push eax
lea edx, [esp + 0x68]
lea eax, [esp + 0x34]
push edx
push eax
call fcn.0045ddd0
add esp, 0x1c
mov dword [esp + 0x10], 4
mov edx, dword [esp + 0x118]
lea ecx, [esp + 0x54]
push 0
push ecx
push 0
push 0
lea eax, [esp + 0x30]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.0045ddd0
push 0
lea edx, [esp + 0xd0]
push 0
lea eax, [esp + 0xcc]
push edx
push eax
lea ecx, [esp + 0x80]
push edi
lea edx, [esp + 0x48]
push ecx
push edx
call fcn.0045ddd0
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x50]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xcc], ecx
mov ecx, dword [esp + 0x74]
add esp, 0x38
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
mov ecx, dword [esi + 8]
lea eax, [esp + 0x90]
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x40]
push 5
push eax
push ecx
mov dword [esp + 0xb0], edx
call dword [sym.imp.GDI32.dll_LPtoDP]
push 2
lea edx, [esp + 0x94]
push 5
push edx
call dword [sym.imp.GDI32.dll_CreatePolygonRgn]
push eax
lea ecx, [esp + 0x50]
call fcn.004b84d4
lea eax, [esp + 0x4c]
push 1
push eax
mov ecx, esi
call fcn.004b8112
lea ecx, [esp + 0x4c]
call fcn.004b852b
jmp 0x45ebe2
cmp ebx, 6
je 0x45eb94
cmp ebx, 7
je 0x45eb94
cmp ebx, 8
je 0x45eb22
cmp ebx, 9
je 0x45eb22
mov eax, ebp
mov dword [esp + 0x10], 2
cdq
sub eax, edx
mov edx, ecx
sar eax, 1
sub edx, eax
add eax, ecx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x1c]
mov ebx, edx
mov dword [esp + 0x34], eax
sub ebx, edi
add edx, edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], edx
jmp 0x45ebe2
lea eax, [esp + 0x88]
lea ecx, [esp + 0x80]
push eax
mov eax, ebp
cdq
sub eax, edx
push ecx
push 0
push 0
sar eax, 1
push eax
lea edx, [esp + 0x2c]
lea eax, [esp + 0x34]
push edx
push eax
call fcn.0045ddd0
push 0
lea ecx, [esp + 0x64]
push 0
lea edx, [esp + 0x50]
push ecx
push edx
lea eax, [esp + 0xb4]
push edi
lea ecx, [esp + 0x50]
push eax
push ecx
call fcn.0045ddd0
push 0
lea edx, [esp + 0x78]
push 0
lea eax, [esp + 0x74]
push edx
push eax
lea ecx, [esp + 0xc8]
push edi
lea edx, [esp + 0x6c]
push ecx
push edx
call fcn.0045ddd0
add esp, 0x54
jmp 0x45ebda
push 0
lea eax, [esp + 0x40]
push 0
lea ecx, [esp + 0x34]
push eax
push ecx
lea edx, [esp + 0x28]
push edi
lea eax, [esp + 0x34]
push edx
push eax
call fcn.0045ddd0
lea ecx, [esp + 0x60]
lea edx, [esp + 0x50]
push ecx
mov eax, ebp
push edx
push 0
cdq
sub eax, edx
push 0
sar eax, 1
push eax
lea eax, [esp + 0x48]
lea ecx, [esp + 0x50]
push eax
push ecx
call fcn.0045ddd0
add esp, 0x38
mov dword [esp + 0x10], 4
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x45ec07
test edx, edx
mov dword [esp + 0x74], edx
jle 0x45ec26
lea edx, [esp + 0x2c]
push 0x20
lea eax, [esp + 0xdc]
push edx
push eax
jmp 0x45ec1e
test edx, edx
mov dword [esp + 0x78], edx
jle 0x45ec26
lea ecx, [esp + 0x2c]
push 0x20
lea edx, [esp + 0xbc]
push ecx
push edx
call fcn.004a11c0
add esp, 0xc
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 1
mov dword [esp + 0x14], eax
jle 0x45e8e8
mov ebp, dword [esp + 0x134]
mov eax, dword [esp + 0x118]
mov ebx, dword [esp + 0x114]
push 0
push ebp
push eax
push ebx
push esi
call fcn.0045e230
mov ecx, dword [esp + 0x120]
mov edi, eax
add esp, 0x14
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
push ecx
lea ecx, [esp + 0x84]
push eax
push ecx
mov ecx, esi
call fcn.004b7fd3
mov ecx, dword [esp + 0x110]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
push ecx
push eax
mov ecx, esi
call fcn.004b801f
push 0
push ebx
push edi
push esi
call fcn.0045e320
mov eax, dword [esp + 0x6c]
mov edi, 1
add esp, 0x10
cmp eax, edi
jne 0x45ecba
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.GDI32.dll_SelectClipRgn]
jmp 0x45ecc3
push 0
mov ecx, esi
call fcn.004b7f0f
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x45ecf2
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x45ecf2
mov dword [esp + 0x4c], method.CGdiObject.virtual_0
mov dword [esp + 0x100], edi
jmp 0x45ef7b
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x45ed26
mov ebx, dword [esp + 0x74]
lea edx, [esp + 0xd8]
push 0x20
lea eax, [esp + 0x30]
push edx
push eax
call fcn.004a11c0
mov edi, dword [esp + 0x128]
add esp, 0xc
jmp 0x45ed48
mov ebx, dword [esp + 0x78]
lea ecx, [esp + 0xb8]
push 0x20
lea edx, [esp + 0x30]
push ecx
push edx
call fcn.004a11c0
mov edi, dword [esp + 0x134]
add esp, 0xc
test ebx, ebx
jle 0x45ef56
push ebp
lea ecx, [esp + 0x68]
call fcn.004b8591
mov eax, ebp
lea ecx, [esp + 0x6c]
sub eax, 0xffffff
mov byte [esp + 0x100], 2
neg eax
sbb eax, eax
and eax, 0xffffff
push eax
call fcn.004b8591
mov ecx, dword [esi + 8]
push 2
push ecx
mov byte [esp + 0x108], 3
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
call fcn.004b84bf
mov edx, dword [esp + 0x118]
push ebp
push edx
push 0
lea ecx, [esp + 0x60]
mov dword [esp + 0x6c], eax
call fcn.004b8541
lea eax, [esp + 0x54]
mov ecx, esi
push eax
mov byte [esp + 0x104], 4
call fcn.004b7ae2
cmp edi, 2
mov dword [esp + 0x5c], eax
mov dword [esp + 0x28], 0
je 0x45edf5
cmp edi, 5
je 0x45edf5
cmp edi, 7
je 0x45edf5
cmp edi, 9
je 0x45edf5
cmp edi, 0xb
je 0x45edf5
lea ecx, [esp + 0x64]
push ecx
mov ecx, esi
call fcn.004b7ae2
jmp 0x45ee09
lea edx, [esp + 0x6c]
mov ecx, esi
push edx
call fcn.004b7ae2
mov dword [esp + 0x28], 1
cmp edi, 0xa
je 0x45eecb
cmp edi, 0xb
je 0x45eed4
cmp edi, 3
jne 0x45ee60
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
lea edx, [esp + 0x84]
push ecx
push edx
mov ecx, esi
call fcn.004b7fd3
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push eax
push ecx
mov ecx, esi
call fcn.004b801f
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push edx
push eax
mov ecx, esi
call fcn.004b801f
jmp 0x45eef2
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.GDI32.dll_BeginPath]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push edx
lea ecx, [esp + 0x8c]
push eax
push ecx
mov ecx, esi
call fcn.004b7fd3
cmp ebx, 1
jle 0x45eea1
lea edi, [esp + 0x34]
dec ebx
mov ecx, dword [edi + 4]
mov eax, dword [edi]
push ecx
push eax
mov ecx, esi
call fcn.004b801f
add edi, 8
dec ebx
jne 0x45ee8d
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.GDI32.dll_EndPath]
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x45eebf
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_FillPath]
jmp 0x45eef2
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.GDI32.dll_StrokeAndFillPath]
jmp 0x45eef2
mov edx, dword [esi]
push 8
mov ecx, esi
call dword [edx + 0x24]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_Ellipse]
mov edx, dword [esp + 0x5c]
mov ecx, esi
push edx
call fcn.004b7ae2
mov eax, dword [esp + 0x60]
mov ecx, esi
push eax
call fcn.004b7ae2
mov edi, 0x4e5938
mov dword [esp + 0x54], edi
lea ecx, [esp + 0x54]
mov byte [esp + 0x100], 5
call fcn.004b852b
mov dword [esp + 0x6c], edi
lea ecx, [esp + 0x6c]
mov byte [esp + 0x100], 6
call fcn.004b852b
mov dword [esp + 0x64], edi
lea ecx, [esp + 0x64]
mov byte [esp + 0x100], 7
call fcn.004b852b
mov byte [esp + 0x100], 0
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 1
mov dword [esp + 0x14], eax
jle 0x45ecfa
mov dword [esp + 0x4c], method.CGdiObject.virtual_0
mov dword [esp + 0x100], 8
lea ecx, [esp + 0x4c]
call fcn.004b852b
mov ecx, dword [esp + 0xf8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xf4
ret