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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49d113
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 0x455ca4
cmp eax, 1
je 0x455545
cmp eax, 2
je 0x455545
mov ebx, 1
mov dword [esp + 0x118], ebx
jmp 0x45554c
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], 0x5a7908
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 0x4555a5
mov edi, ecx
cmp ecx, 3
jge 0x4555af
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 0x45563e
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 0x455668
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 0x455906
cmp ebx, 5
jg 0x4557f2
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.00454af0
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.00454af0
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 0x4556e7
cmp ebx, 5
jne 0x455718
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.00454af0
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.00454af0
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.00454af0
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.00495153
lea eax, [esp + 0x4c]
push 1
push eax
mov ecx, esi
call fcn.00494d91
lea ecx, [esp + 0x4c]
call fcn.004951aa
jmp 0x455902
cmp ebx, 6
je 0x4558b4
cmp ebx, 7
je 0x4558b4
cmp ebx, 8
je 0x455842
cmp ebx, 9
je 0x455842
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 0x455902
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.00454af0
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.00454af0
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.00454af0
add esp, 0x54
jmp 0x4558fa
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.00454af0
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.00454af0
add esp, 0x38
mov dword [esp + 0x10], 4
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x455927
test edx, edx
mov dword [esp + 0x74], edx
jle 0x455946
lea edx, [esp + 0x2c]
push 0x20
lea eax, [esp + 0xdc]
push edx
push eax
jmp 0x45593e
test edx, edx
mov dword [esp + 0x78], edx
jle 0x455946
lea ecx, [esp + 0x2c]
push 0x20
lea edx, [esp + 0xbc]
push ecx
push edx
call fcn.0047ee90
add esp, 0xc
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 1
mov dword [esp + 0x14], eax
jle 0x455608
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.00454f50
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.00494c52
mov ecx, dword [esp + 0x110]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
push ecx
push eax
mov ecx, esi
call fcn.00494c9e
push 0
push ebx
push edi
push esi
call fcn.00455040
mov eax, dword [esp + 0x6c]
mov edi, 1
add esp, 0x10
cmp eax, edi
jne 0x4559da
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.GDI32.dll_SelectClipRgn]
jmp 0x4559e3
push 0
mov ecx, esi
call fcn.00494b8e
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x455a12
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x455a12
mov dword [esp + 0x4c], method.CGdiObject.virtual_0
mov dword [esp + 0x100], edi
jmp 0x455c9b
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x455a46
mov ebx, dword [esp + 0x74]
lea edx, [esp + 0xd8]
push 0x20
lea eax, [esp + 0x30]
push edx
push eax
call fcn.0047ee90
mov edi, dword [esp + 0x128]
add esp, 0xc
jmp 0x455a68
mov ebx, dword [esp + 0x78]
lea ecx, [esp + 0xb8]
push 0x20
lea edx, [esp + 0x30]
push ecx
push edx
call fcn.0047ee90
mov edi, dword [esp + 0x134]
add esp, 0xc
test ebx, ebx
jle 0x455c76
push ebp
lea ecx, [esp + 0x68]
call fcn.00495210
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.00495210
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.0049513e
mov edx, dword [esp + 0x118]
push ebp
push edx
push 0
lea ecx, [esp + 0x60]
mov dword [esp + 0x6c], eax
call fcn.004951c0
lea eax, [esp + 0x54]
mov ecx, esi
push eax
mov byte [esp + 0x104], 4
call fcn.00494761
cmp edi, 2
mov dword [esp + 0x5c], eax
mov dword [esp + 0x28], 0
je 0x455b15
cmp edi, 5
je 0x455b15
cmp edi, 7
je 0x455b15
cmp edi, 9
je 0x455b15
cmp edi, 0xb
je 0x455b15
lea ecx, [esp + 0x64]
push ecx
mov ecx, esi
call fcn.00494761
jmp 0x455b29
lea edx, [esp + 0x6c]
mov ecx, esi
push edx
call fcn.00494761
mov dword [esp + 0x28], 1
cmp edi, 0xa
je 0x455beb
cmp edi, 0xb
je 0x455bf4
cmp edi, 3
jne 0x455b80
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.00494c52
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push eax
push ecx
mov ecx, esi
call fcn.00494c9e
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push edx
push eax
mov ecx, esi
call fcn.00494c9e
jmp 0x455c12
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.00494c52
cmp ebx, 1
jle 0x455bc1
lea edi, [esp + 0x34]
dec ebx
mov ecx, dword [edi + 4]
mov eax, dword [edi]
push ecx
push eax
mov ecx, esi
call fcn.00494c9e
add edi, 8
dec ebx
jne 0x455bad
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.GDI32.dll_EndPath]
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x455bdf
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_FillPath]
jmp 0x455c12
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.GDI32.dll_StrokeAndFillPath]
jmp 0x455c12
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.00494761
mov eax, dword [esp + 0x60]
mov ecx, esi
push eax
call fcn.00494761
mov edi, 0x5a7870
mov dword [esp + 0x54], edi
lea ecx, [esp + 0x54]
mov byte [esp + 0x100], 5
call fcn.004951aa
mov dword [esp + 0x6c], edi
lea ecx, [esp + 0x6c]
mov byte [esp + 0x100], 6
call fcn.004951aa
mov dword [esp + 0x64], edi
lea ecx, [esp + 0x64]
mov byte [esp + 0x100], 7
call fcn.004951aa
mov byte [esp + 0x100], 0
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 1
mov dword [esp + 0x14], eax
jle 0x455a1a
mov dword [esp + 0x4c], method.CGdiObject.virtual_0
mov dword [esp + 0x100], 8
lea ecx, [esp + 0x4c]
call fcn.004951aa
mov ecx, dword [esp + 0xf8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xf4
ret