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

Disassembly:
push 0xffffffffffffffff
push 0x23bd9350
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x23c68938]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
mov dword [esp + 0x68], ecx
mov ebp, dword [esp + 0x134]
mov eax, dword [ebp + 0x60]
xor esi, esi
cmp eax, esi
je 0x23b0c9bd
cmp dword [eax + 0x30], esi
jne 0x23b0c9ac
cmp dword [eax], esi
jne 0x23b0c9ac
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x18], 0xffffffff
jmp 0x23b0c9cc
mov eax, dword [ebp + 0x58]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 0xffffffff
jmp 0x23b0c9cc
mov ecx, dword [ebp + 0x58]
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x18], ecx
mov eax, dword [ebp + 0x20]
sub eax, dword [ebp + 0x1c]
cmp eax, esi
jle 0x23b0d01b
mov edx, dword [ebp + 8]
sub edx, dword [ebp + 0xc]
sub edx, dword [ebp + 4]
inc edx
test edx, edx
jle 0x23b0c9fe
mov eax, dword [ebp]
mov edx, dword [eax + 4]
mov ecx, ebp
call edx
mov dword [esp + 0x5c], 1
test eax, eax
jne 0x23b0ca02
mov dword [esp + 0x5c], esi
mov ecx, dword [ebp + 0x34]
mov eax, dword [ebp + 0x38]
mov edi, ecx
sub edi, eax
sub eax, dword [ebp + 0x28]
mov dword [esp + 0x24], eax
cmp dword [esp + 0x5c], esi
je 0x23b0ca1e
cmp ecx, dword [ebp + 0x2c]
jle 0x23b0ca24
xor edi, edi
mov dword [esp + 0x24], esi
call fcn.23a64f40
push 0xf
mov ecx, eax
call fcn.23a64910
mov dword [esp + 0x1c], eax
call fcn.23a64f40
push 0x10
mov ecx, eax
call fcn.23a64910
mov dword [esp + 0x28], eax
call fcn.23a64f40
push 0x14
mov ecx, eax
call fcn.23a64910
mov dword [esp + 0x14], eax
cmp dword [ebp + 0x5c], esi
jne 0x23b0d01b
lea eax, [ebp + 0x48]
push eax
lea ecx, [esp + 0x8c]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [ebp + 0x28]
mov ebx, dword [esp + 0x90]
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
mov esi, dword [ebp + 0x2c]
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x30], eax
mov dword [esp + 0x40], eax
add ebx, ecx
mov dword [esp + 0x70], eax
lea eax, [eax + edx - 2]
mov dword [esp + 0x38], edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x78], edx
cdq
mov dword [esp + 0x3c], esi
mov dword [esp + 0x64], ebx
sub esi, ecx
add ebx, edi
sub eax, edx
lea edx, [esi + ecx]
mov dword [esp + 0x80], ebx
mov ebx, dword [esp + 0x28]
push ebx
sar eax, 1
push 1
mov dword [esp + 0x5c], edx
sub edx, ecx
lea esi, [eax + 2]
push edx
mov dword [esp + 0x64], esi
mov esi, dword [esp + 0x13c]
push eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x5c], ecx
push ecx
mov ecx, esi
mov dword [esp + 0x64], eax
call fcn.23a3979d
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x50]
push 1
sub ecx, eax
push ecx
inc edx
push edx
push eax
mov ecx, esi
call fcn.23a3979d
mov edi, dword [ebp + 0x70]
mov dword [esp + 0x84], edi
test edi, edi
je 0x23b0cc35
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 4]
jle 0x23b0cc35
push 0
push 0xfffffffffffffffa
lea ecx, [esp + 0x54]
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
xor ecx, ecx
cmp dword [edi + 4], ecx
mov dword [esp + 0x24], ecx
jle 0x23b0cc8e
mov ebx, dword [esp + 0x4c]
lea ecx, [ecx]
mov edx, dword [edi]
fld qword [edx + ecx*8]
mov edx, dword [esp + 0x54]
mov eax, dword [ebp + 4]
sub edx, ebx
mov dword [esp + 0x7c], edx
fild dword [esp + 0x7c]
mov edx, dword [ebp + 8]
mov dword [esp + 0x60], eax
fild dword [esp + 0x60]
sub edx, eax
mov dword [esp + 0x60], edx
fsubp st(2)
fmul st(1), st(0)
fild dword [esp + 0x60]
fdivp st(2)
fldz
fcomp st(2)
fnstsw ax
test ah, 0x41
jp 0x23b0cc1d
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x23b0cc1f
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x50]
lea eax, [ecx + eax - 8]
cdq
sub eax, edx
mov edi, eax
sar edi, 1
call fcn.23a4d520
mov edx, dword [esp + 0x28]
push edx
push 4
push 1
lea ebx, [eax + ebx - 1]
push edi
push ebx
mov ecx, esi
call fcn.23a3979d
mov eax, dword [esp + 0x28]
push eax
push 2
push 1
lea ecx, [edi + 5]
push ecx
push ebx
mov ecx, esi
call fcn.23a3979d
mov edx, dword [esp + 0x14]
push edx
push 7
push 1
inc edi
push edi
inc ebx
push ebx
mov ecx, esi
call fcn.23a3979d
mov ebx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x84]
jmp 0x23b0cc21
fstp st(1)
fstp st(0)
inc ecx
cmp ecx, dword [edi + 4]
mov dword [esp + 0x24], ecx
jl 0x23b0cb70
mov ebx, dword [esp + 0x28]
jmp 0x23b0cc8e
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x50]
lea eax, [ecx + eax - 8]
cdq
sub eax, edx
mov edx, dword [esp + 0x4c]
mov edi, eax
mov eax, dword [esp + 0x54]
lea eax, [eax + edx - 2]
push ebx
cdq
push 4
sub eax, edx
push 1
mov ebp, eax
sar edi, 1
push edi
sar ebp, 1
push ebp
mov ecx, esi
call fcn.23a3979d
push ebx
push 2
push 1
lea ecx, [edi + 5]
push ecx
push ebp
mov ecx, esi
call fcn.23a3979d
mov edx, dword [esp + 0x14]
push edx
push 7
push 1
inc edi
push edi
inc ebp
push ebp
mov ecx, esi
call fcn.23a3979d
cmp dword [esp + 0x18], 0x3c
mov ebp, dword [esp + 0x14]
mov eax, ebp
je 0x23b0cc9f
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x68]
push eax
push ebx
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x50]
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0x1c]
push esi
mov dword [eax + 0xc], edx
call fcn.23adce00
cmp dword [esp + 0x20], 0x3c
je 0x23b0cd1c
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
cmp dword [esp + 0x18], 0x3c
mov eax, ebp
je 0x23b0ccf1
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
push eax
push ebp
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x50]
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0x1c]
push esi
mov dword [eax + 0xc], edx
call fcn.23adce00
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
add eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x34]
mov ecx, eax
mov eax, dword [esp + 0x2c]
add eax, edx
cdq
push 0
push 2
sar ecx, 1
sub eax, edx
push 8
dec ecx
sar eax, 1
push ecx
add eax, 0xfffffffc
push eax
mov ecx, esi
call fcn.23a3979d
cmp dword [esp + 0x18], 0x3d
mov eax, ebp
je 0x23b0cd5c
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
push eax
push ebx
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0x1c]
push esi
mov dword [eax + 0xc], edx
call fcn.23adce00
mov ebx, 0x3d
cmp dword [esp + 0x20], ebx
je 0x23b0cdd8
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, ebp
cmp dword [esp + 0x18], ebx
je 0x23b0cdad
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
push eax
push ebp
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0x1c]
push esi
mov dword [eax + 0xc], edx
call fcn.23adce00
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x48]
add eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x3c]
mov edi, eax
mov eax, dword [esp + 0x44]
add eax, edx
cdq
push 0
sub eax, edx
push 2
mov ebp, eax
sar edi, 1
push 8
lea ecx, [edi - 1]
sar ebp, 1
push ecx
lea edx, [ebp - 4]
push edx
mov ecx, esi
call fcn.23a3979d
push 0
push 8
push 2
add edi, 0xfffffffc
push edi
dec ebp
push ebp
mov ecx, esi
call fcn.23a3979d
cmp dword [esp + 0x5c], 0
je 0x23b0d01b
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x70]
lea eax, [eax + ecx - 0xd]
cdq
sub eax, edx
mov edx, dword [esp + 0x80]
mov ebp, eax
mov eax, dword [esp + 0x64]
lea eax, [edx + eax - 8]
cdq
sub eax, edx
mov edi, eax
sar edi, 1
sar ebp, 1
cmp dword [esp + 0x18], 0x40
lea eax, [edi + 8]
lea ecx, [ebp + 0xd]
lea ebx, [ecx - 4]
mov dword [esp + 0x74], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa8], eax
lea eax, [edi + 4]
mov dword [esp + 0x78], ecx
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xac], ebx
mov dword [esp + 0x64], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb8], edi
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], edi
mov dword [esp + 0xc4], ebp
je 0x23b0ced1
mov ecx, dword [esp + 0x1c]
test esi, esi
jne 0x23b0ced9
xor eax, eax
jmp 0x23b0cedc
mov eax, dword [esi + 4]
push ecx
push eax
lea ecx, [esp + 0x100]
call fcn.23a68cb0
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp dword [esp + 0x18], 0x40
mov dword [esp + 0x128], eax
je 0x23b0cf02
mov ecx, dword [esp + 0x1c]
cmp esi, eax
je 0x23b0cf09
mov eax, dword [esi + 4]
push ecx
push eax
lea ecx, [esp + 0x114]
call fcn.23a68d70
mov edx, dword [esi + 4]
push 6
lea ecx, [esp + 0x9c]
push ecx
push edx
mov byte [esp + 0x134], 1
call dword [sym.imp.GDI32.dll_Polygon]
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0xfc]
call fcn.23a67800
mov edx, dword [esi + 4]
push 6
lea ecx, [esp + 0x9c]
push ecx
push edx
call dword [sym.imp.GDI32.dll_Polyline]
cmp dword [esp + 0x20], 0x40
je 0x23b0cff0
mov edx, dword [esp + 0x74]
dec edx
mov dword [esp + 0xd0], edx
mov dword [esp + 0xd8], edx
mov edx, dword [esp + 0x64]
lea eax, [edi + 1]
lea ecx, [ebp + 1]
mov dword [esp + 0xe0], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd4], ecx
dec edx
mov dword [esp + 0xf4], ecx
push eax
lea ecx, [esp + 0xfc]
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe8], edx
mov dword [esp + 0xf0], ebx
call fcn.23a67800
mov edx, dword [esi + 4]
push 6
lea ecx, [esp + 0xcc]
push ecx
push edx
call dword [sym.imp.GDI32.dll_Polyline]
lea ecx, [esp + 0x10c]
mov byte [esp + 0x128], 0
call fcn.23a68e00
lea ecx, [esp + 0xf8]
mov dword [esp + 0x128], 0xffffffff
call fcn.23a68d40
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret 8